Subscriptions
Read a subscription
One subscription by its id.
Authorization
bearer subscriptions:readAuthorizationBearer <token>
A v1 API key; the scope named is the one the route needs.
In: header
Scope: subscriptions:read
Path Parameters
subscriptionId*string
Match
^[A-Za-z0-9_-]{1,64}$Length
1 <= length <= 64Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/subscriptions/string"{ "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"}