Skip to main content
GET
/
v1
/
subscriptions
List
curl --request GET \
  --url https://{defaultHost}/v1/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/subscriptions"
  },
  "data": [
    {
      "id": "5dae48d9-2f0d-4de9-ba16-1017b22221c1",
      "object": "subscription",
      "ad_hoc_amount": null,
      "affiliation_expires_at": null,
      "cancel_at_period_end": false,
      "currency": "usd",
      "current_period_end_at": 1770588175,
      "current_period_start_at": 1767909775,
      "ended_at": null,
      "finite": false,
      "last_renewal_reminder_sent_at": null,
      "live_mode": true,
      "manual_payment": false,
      "metadata": {},
      "pending_update": {},
      "price_readonly": false,
      "portal_url": "http://app.example.com/portal_redirect/subscriptions/5dae48d9-2f0d-4de9-ba16-1017b22221c1",
      "quantity": 1,
      "remaining_period_count": null,
      "restart_on_completed": false,
      "restore_at": null,
      "subtotal_amount": 2900,
      "status": "active",
      "tax_enabled": false,
      "trial_end_at": null,
      "trial_start_at": null,
      "variant_options": null,
      "affiliation": null,
      "current_cancellation_act": null,
      "current_period": "a70411dc-a393-4b0c-b57b-1daca1440995",
      "customer": "ee00ae33-735f-4c23-82c6-87a7a462af37",
      "discount": null,
      "manual_payment_method": null,
      "payment_method": "a2634e4f-2193-4e23-bd3f-52cd0c963acb",
      "price": "2b368c13-bb83-4924-b678-678abe952d4b",
      "purchase": "de735cf9-3904-4c4f-b579-b8b0485d7ada",
      "shipping_method": null,
      "variant": null,
      "created_at": 1767909775,
      "updated_at": 1767909775
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

checkout_ids[]
string[]

Only return objects that belong to the given checkouts.

customer_ids[]
string[]

Only return objects that belong to the given customers.

finite
boolean

Only return subscriptions that are finite or not.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

live_mode
boolean

Only return objects that are live mode or test mode.

page
integer

The page of items you want returned.

price_ids[]
string[]

Only return objects that belong to the given prices.

product_ids[]
string[]

Only return objects that belong to the given products.

purchase_ids[]
string[]

Only return objects that belong to the given purchases.

query
string

The query to be used for full text search of this collection.

status[]
string[]

Only return objects with the given status.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.