Retrieve subscription
nextBillingAt is absent once cancelled — a stale date there is the shape of every "we cancelled but it billed again".
Response contract
The successful wire shape and errors an integration should branch on.
Subscription
application/jsonidstringrequired- Unique subscription identifier.
object"subscription"required- Stable resource discriminator.
statusstringrequired- Current subscription state.
customerIdstringrequired- Subscribed customer.
planIdstringrequired- Subscribed plan.
paymentMethodIdstringrequired- Stored payment method.
nextBillingAtstring- Next scheduled billing timestamp.
createdAtstringrequired- ISO 8601 creation timestamp.
Example response
{
"id": "sub_01JEXAMPLE",
"object": "subscription",
"status": "active",
"customerId": "cus_01JEXAMPLE",
"planId": "plan_01JEXAMPLE",
"paymentMethodId": "pm_01JEXAMPLE",
"nextBillingAt": "2026-09-01T13:00:00.000Z",
"createdAt": "2026-08-10T20:49:51.653Z"
}Error responses
401
authentication_failedThe key is missing, malformed, revoked, or invalid for this environment.
403
permission_deniedThe key does not have subscriptions.retrieve.
404
not_foundThe resource does not exist for this merchant.
422
invalid_requestOne or more request fields are invalid.