SUQODocs
User GuideAPI ReferenceSDKs
Subscriptions

Update a subscription's next billing cycle

Move a subscription's next billing date. The date must be today or later, and one-time purchases cannot be rescheduled.

POST
/subscriptions/update-billing-cycle/
AuthorizationBearer <token>

API key issued to the partner, sent with the Bearer prefix — for example: Authorization: Bearer sk_live_abc123.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/subscriptions/update-billing-cycle/" \  -H "Content-Type: application/json" \  -d '{    "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",    "next_billing_cycle": "2019-08-24"  }'
{  "message": "Billing cycle updated."}