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": "ac4ba2e3-ec43-4e4d-9479-d2fa152b9801",
      "object": "subscription",
      "ad_hoc_amount": null,
      "affiliation_expires_at": null,
      "cancel_at_period_end": false,
      "currency": "usd",
      "current_period_end_at": 1776582003,
      "current_period_start_at": 1773903603,
      "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/ac4ba2e3-ec43-4e4d-9479-d2fa152b9801",
      "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": "d358c286-d15e-44f9-b769-6065236d41ce",
      "customer": "99953d90-09a3-4e57-8734-1f2895e58c92",
      "discount": null,
      "manual_payment_method": null,
      "payment_method": "edcc93d0-9a52-4482-ad68-3633df4b68b6",
      "price": "f4651022-870b-44ad-b804-2e83ddca8102",
      "purchase": "6a08e1db-def5-438a-b4e9-152961426834",
      "shipping_method": null,
      "variant": null,
      "created_at": 1773903603,
      "updated_at": 1773903603
    }
  ]
}

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.