Create a subscription

This endpoint creates a new subscription from a first charge that was already made and approved. The merchant first charges the first period using the customer's tokenized card, then creates the subscription referencing the order_token of that charge and the card_id used. This endpoint does not perform any charge itself - it only validates the payment already made and activates the subscription.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The subscription's first charge must already have been made and approved before calling this endpoint; this endpoint only validates that payment and activates the subscription, it never charges.

string
required

Identifier (token) of the card used in the order_token charge.

string
required

Token of the already-approved order backing the subscription's first charge. The order is the source of truth for the customer's data, billing/shipping address, and currency.

uuid
required

Internal identifier (UUID) of the plan the customer is subscribing to.

webhooks_urls
object
required

URLs to receive notifications related to the subscription.

Headers
string
required

Authentication key used to access the API.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json