Skip to content
API referenceAPI v1admin-sdk 1.2.0Search docs⌘K
Billing plans · Get a plan
API reference / Billing plans

Get a plan

GET/api/v1/billing_plans/:idbilling:write

One billing plan.

Path parameters

idintegerrequired

The plan's ID.

Headers

Authorizationheaderrequired

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

Returns

The plan.

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 when there's no object with that ID; state: "error" with Not Found when it belongs to another merchant.