Subscriptions
Get active subscription
Get the active subscription for a customer. Returns null if none.
GET
cURL
Get the active subscription for a customer. Returns null if none.
Authorizations
Headers
API version used by this reference. Send this header to select this contract explicitly.
Query Parameters
Response
object | null
Success
Available options:
draft, pending_payment, trialing, active, past_due, paused, canceled Available options:
weekly, monthly, quarterly, semiannual, yearly, one_time Required range:
-9007199254740991 <= x <= 9007199254740991- Option 1
- Option 2
Available options:
metered, credits, balance - Option 1
- Option 2
- Option 3
- Option 4
Allowed value:
"subscription"