Subscriptions
Get subscription by ID
Get a subscription by its public ID, regardless of status (including pending_payment and past_due).
GET
cURL
Get a subscription by its public ID, regardless of status (including pending_payment and past_due).
Authorizations
Headers
API version used by this reference. Send this header to select this contract explicitly.
Path Parameters
Response
Success
Available options:
draft, pending_payment, trialing, active, past_due, paused, canceled Available options:
weekly, monthly, quarterly, semiannual, yearly, one_time Required range:
-9007199254740991 <= x <= 9007199254740991- Option 1
- Option 2
Available options:
metered, credits, balance - Option 1
- Option 2
- Option 3
- Option 4
Allowed value:
"subscription"