Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage recurring billing relationships between customers and plans.
code
SUB_a1b2c3d4
customerId
planId
paymentSourceId
amount
currency
interval
trialStartDate
trialEndDate
currentBillingCycleStart
currentBillingCycleEnd
status
curl -X POST https://api.example.com/v1/subscription/ \ -H "Content-Type: application/json" \ -H "X-Api-Key: sub_xxx" \ -d '{ "customerEmailOrCode": "customer@example.com", "planCode": "PLN_8AbC123x" }'