This endpoint creates a new subscription for recurring billing. Subscriptions automatically generate invoices and process payments based on the billing cycle.
Authentication
This endpoint requires a valid API key withsubscriptions:write
permissions.
Request Body
Customer ID for the subscription
Subscription plan ID
Subscription start date (ISO 8601)
Default payment method for automatic billing
Number of subscriptions (default: 1)
Trial period end date (ISO 8601)
Date to anchor billing cycles (ISO 8601)
Additional subscription items
Coupon to apply to subscription
Shipping address for physical subscriptions
Additional custom fields