cURL
curl --request POST \ --url http://localhost:6900/v1/subscriptions \ --header 'Content-Type: application/json' \ --data ' { "customerId": "<string>", "planId": "<string>", "priceId": "<string>", "couponId": "<string>" } '
{ "id": "<string>", "success": true }
Creates a new subscription linking a customer to a plan and price.
Documentation IndexFetch the complete documentation index at: https://docs.revstack.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.revstack.dev/llms.txt
Use this file to discover all available pages before exploring further.
1
Subscription created