GET
/
v2
/
subscriptions
curl --request GET \
  --url https://api.hyperline.co/v2/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "total": 1,
    "taken": 1,
    "skipped": 123
  },
  "data": [
    {
      "id": "sub_B6ClkdqNqVNBgY",
      "currency": "EUR",
      "status": "active",
      "purchase_order": "<string>",
      "properties": {},
      "customer_id": "cus_QalW2vTAdkR6IY",
      "plan_id": "plan_zHmjoDee4ZRmQV",
      "minimum_invoice_fee": 250,
      "invoicing_entity_id": "ive_jerrb484RHn",
      "checkout_session_id": "<string>",
      "commitment_interval": {
        "period": "years",
        "count": 1
      },
      "renew_automatically": true,
      "activation_strategy": "checkout",
      "starts_at": "2023-01-20T16:04:11Z",
      "paused_at": "2023-01-20T16:04:11Z",
      "reactivate_at": "2023-01-20T16:04:11Z",
      "cancel_at": "2023-01-20T16:04:11Z",
      "cancellation_strategy": "refund_prorata",
      "cancellation_amount": 123,
      "estimated_arr": 123,
      "current_period_started_at": "2023-01-20T16:04:11Z",
      "current_period_ends_at": "2023-01-20T16:04:11Z",
      "next_payment_at": "2023-01-20T16:04:11Z",
      "next_payment_amount": 123,
      "renews_at": "2023-01-20T16:04:11Z",
      "trial_ends_at": "2023-01-20T16:04:11Z",
      "created_at": "2023-01-20T16:04:11Z"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

take
number | null
default: 50
skip
number | null
default: 0
status
Available options:
all,
inactive,
active,
errored,
cancelled,
paused,
pending,
draft,
voided
status__in
Available options:
all,
inactive,
active,
errored,
cancelled,
paused,
pending,
draft,
voided
status__notIn
Available options:
all,
inactive,
active,
errored,
cancelled,
paused,
pending,
draft,
voided
currency
string
currency__not
string
currency__isNull
string
currency__isNotNull
string
currency__equals
string
currency__contains
string
currency__startsWith
string
currency__endWith
string
plan_id
string
plan_id__not
string
plan_id__isNull
string
plan_id__isNotNull
string
plan_id__equals
string
plan_id__contains
string
plan_id__startsWith
string
plan_id__endWith
string
customer_id
string
customer_id__not
string
customer_id__isNull
string
customer_id__isNotNull
string
customer_id__equals
string
customer_id__contains
string
customer_id__startsWith
string
customer_id__endWith
string

Response

200 - application/json
meta
object
required
data
object[]
required

List of Subscription.