Create a subscription
Creates a new subscription for a customer on a given plan. A card token is required for paid plans (not needed during trial).
Authorizations
Company API key. Send in the X-API-Key header.
Body
UUID of the subscription plan to attach.
"plan-uuid-..."
Token of an existing customer.
"cus_token_abc123"
Stored card token to charge on each cycle. Required for paid plans without a trial.
"card_tok_xyz"
Discount coupon code to apply at creation (max 50 chars).
"PROMO10"
Override the plan billing day (1–28). Defaults to plan or creation day.
10
Force a specific gateway ID for this subscription's charges.
1
Arbitrary key-value data stored with the subscription.
Response
Subscription created