Skip to main content

Subscriptions API

Subscriptions connect customers to plans. All endpoints require X-Api-Key.

Subscription object

Subscription list and retrieve endpoints preload customer, plan, and paymentSource.

POST /v1/subscription/

Create a subscription for an existing customer and plan.

Request body

Response

GET /v1/subscription/

List subscriptions.

Query parameters

Response

GET /v1/subscription/:idOrCode

Retrieve a subscription by ID or subscription code.

Response