Subscriptions
List subscriptions
Subscriptions, a page at a time, filtered by status or customer.
Authorization
bearer subscriptions:readAuthorizationBearer <token>
A v1 API key; the scope named is the one the route needs.
In: header
Scope: subscriptions:read
Query Parameters
limit?integer
Range
1 <= value <= 100Default
20cursor?string
Match
^[A-Za-z0-9_-]{1,512}$status?string
customerId?string
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/subscriptions"{ "data": [ { "id": "string", "orderId": "string", "orderNumber": "string", "orderStatus": null, "status": "trialing", "productId": "string", "priceId": "string", "amount": { "amount": -9007199254740991, "currency": "string" }, "currentPeriodStart": "2019-08-24T14:15:22Z", "currentPeriodEnd": "2019-08-24T14:15:22Z", "cancelAtPeriodEnd": true, "cancelledAt": "2019-08-24T14:15:22Z", "trialStart": "2019-08-24T14:15:22Z", "trialEnd": "2019-08-24T14:15:22Z", "lastPaymentId": "string", "lastPaymentNumber": "string", "invoiceNumber": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}