Skip to content
API referenceAPI v1admin-sdk 1.1.52Search docs⌘K
Subscriptions · Get a subscription
API reference / Subscriptions

Get a subscription

GET/api/v1/billing_subscriptions/:idbilling:write

One subscription.

Path parameters

idintegerrequired

The subscription's ID.

Headers

Authorizationheaderrequired

Bearer with your secret key, or the merchant's OAuth token.

Returns

The subscription.

Errors

401The key or token is missing, wrong or revoked, is for the other environment, or doesn't have the scope this endpoint needs.
200result: false: there's no such object, or it isn't yours.