Skip to content
myela

nextBillingAt is absent once cancelled — a stale date there is the shape of every "we cancelled but it billed again".

Retrieve subscription

GET/v1/subscriptions/{subscription_id}Link

nextBillingAt is absent once cancelled — a stale date there is the shape of every "we cancelled but it billed again".

SandboxSecret keysubscriptions.retrieve

Request fields

Edit a field and the generated request updates immediately.

Path parameters
stringrequired

The subscription id in the request path.

Response contract

The successful wire shape and errors an integration should branch on.

200

Subscription

application/json
idstringrequired
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
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have subscriptions.retrieve.

404not_found

The resource does not exist for this merchant.

422invalid_request

One or more request fields are invalid.