v1
latestOpenAPI 3.1.02026-07-228956435.8 KBList subscriptions
Lists the subscriptions of your organization for the live or test mode of the API key used, with their subscription items included. The list is paginated with cursors: use the Link response header or the starting_after and ending_before query parameters to navigate between pages.
Query parameters
A cursor to use in pagination. ending_before is a subscription ID that defines your place in the list. For example, if you make a list request and receive 30 subscriptions, starting with sub_bar, your subsequent call can include ending_before=sub_bar to fetch the previous page of the list.
Maximum number of subscriptions to return per page. Ranges from 1 to 300. Defaults to 30.
A cursor to use in pagination. starting_after is a subscription ID that defines your place in the list. For example, if you make a list request and receive 30 subscriptions, ending with sub_foo, your subsequent call can include starting_after=sub_foo to fetch the next page of the list.
Response
List of subscriptions for the current mode, with their items included.
Example response
[
{
"id": "sub_2c4mDcMaVxDx7nT3o5GbPMQbS2v",
"billing_cycle_anchor": "2026-06-01T15:00:00Z",
"collection_method": "send_invoice",
"created_at": "2026-06-01T15:00:00Z",
"customer": "cus_2c4mDe9NJyGmMzvCqLkXqAtjnRu",
"items": [
{
"id": "si_2c4mDfkPLLrLTCJ3wPCEHGYpkVf",
"price": {
"currency": "CLP",
"product": {
"id": "prod_2c4mDgwQqkNwMHnXSc4DBjkbcWz",
"created_at": "2026-06-01T15:00:00Z",
"description": "Access to every premium feature.",
"image_url": "https://example.com/image.png",
"metadata": {
"category": "saas"
},
"mode": "live",
"name": "Premium plan"
},
"recurring": {
"interval": "month",
"interval_count": 1
},
"unit_amount": 10000
},
"quantity": 1
}
],
"metadata": {
"order_id": "12345"
},
"mode": "live",
"status": "active"
}
]