Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /v0/subscriptions/list | List and filter subscriptions |
POST | /v0/subscriptions/create | Create a new subscription |
GET | /v0/subscriptions/{subscriptionIdOrNumber} | Retrieve a subscription |
PATCH | /v0/subscriptions/{subscriptionIdOrNumber}/update | Update a subscription |
POST | /v0/subscriptions/{subscriptionIdOrNumber}/charge | Charge a subscription immediately |
PATCH | /v0/subscriptions/{subscriptionIdOrNumber}/cancel | Cancel a subscription |
PATCH | /v0/subscriptions/{subscriptionIdOrNumber}/pause-collection | Pause subscription billing |
The Subscription object
Object type identifier. Always
"subscription" for Subscription objects.Subscription identifier, based on the initial order number.
Current subscription status. Possible values:
active, past_due, canceled, unpaid, incomplete, incomplete_expired, trialing, pausedUnix timestamp (milliseconds) when the subscription was created.
Unix timestamp (milliseconds) when the current billing interval started.
Unix timestamp (milliseconds) when the current billing interval ends.
Whether the subscription will cancel at the end of the current interval. Defaults to
false.Unix timestamp (milliseconds) when the subscription was cancelled, if applicable.
Expanded User object with basic subscriber information.
Human-readable number of the initial order.
Expanded Order object for the initial subscription order.
Human-readable number of the most recent payment.
Expanded Payment object for the most recent charge.