/subscriptions/{id}
Reads a subscription. status stays active until it really ends; cancel_at holds the end date of a scheduled cancellation.
Authorization
Bearer token: an app key from Apps (sk_app_live_… or sk_app_test_…), or the tenant key from Settings (sk_live_… or sk_test_…). The key picks the mode: a live key only sees live data, a test key only sandbox data.
Parameters
The resource id.
Response Body
200The subscription.
pending: waiting for the first payment; active: grants access (also while a cancellation is scheduled); past_due: a renewal failed and the gateway is retrying; canceled: ended.
Price per interval, decimal with a dot.
The configuration that handles the payment.
Your own id for the customer, as sent to /connect.
What the product sent with the checkout, echoed back on the subscription and on every renewal cycle.
End of the paid period, when the next renewal is charged. Can be null in subscription.activated; the date then arrives in subscription.updated.
true once a cancellation is scheduled for the end of the period.
When the cancellation was asked for.
When a scheduled cancellation ends it.
The subscription this one replaced (a plan change).
When it ended.
401Missing or invalid secret key.
What went wrong.
404No such resource for this tenant.
What went wrong.