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.
cURL
curl --request POST \ --url https://api.useduro.com/v1/subscriptions/{id}/change-plan \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "planId": "<string>" } '
{ "subscription": { "id": "<string>", "planId": "<string>", "currentPeriodStart": "<string>", "currentPeriodEnd": "<string>", "cyclesCompleted": 123, "createdAt": "<string>" }, "proration": { "amount": 123 } }
A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.
OK with proration
Show child attributes
Was this page helpful?