Skip to main content
POST
Create a subscription

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
subMerchantId
string
required

The subMerchantId associated with the subscription.

planId
string
required

The planId of the existing plan you subscribe to.

Example:

"c23b205a-244b-4962-9337-a5b68f1c874f"

customerId
string
required

The customer id of the subscription.

paymentToken
object

The customer's token associated with the subscription.

schedules
object[]

Array containing schedules pricing models params when needed.

Response

Subscription successfully created.

Last modified on July 14, 2026