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": "46f0bf3b-dfc1-4d9a-9aa6-1913b50c1703",
      "object": "subscription",
      "ad_hoc_amount": null,
      "affiliation_expires_at": null,
      "cancel_at_period_end": false,
      "currency": "usd",
      "current_period_end_at": 1773845511,
      "current_period_start_at": 1771429911,
      "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/46f0bf3b-dfc1-4d9a-9aa6-1913b50c1703",
      "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": "859eeafd-a54b-4498-9eac-c1c09f7f8419",
      "customer": "459ac2c6-5e03-41ef-8952-20cdf054535b",
      "discount": null,
      "manual_payment_method": null,
      "payment_method": "a1c9c858-2d17-404b-b2db-cfd332e6a9ae",
      "price": "e0d3f86e-9549-41c0-b6bc-aa3b38075241",
      "purchase": "7990465e-27f1-4381-90fa-bebd38e25148",
      "shipping_method": null,
      "variant": null,
      "created_at": 1771429911,
      "updated_at": 1771429911
    }
  ]
}

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.