SUQODocs
User GuideAPI ReferenceSDKs
Subscriptions

Cancel a subscription

Schedule cancellation at the end of the current billing period; the subscription stays usable until then. One-time purchases cannot be cancelled.

POST
/subscriptions/{id}/cancel/
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

UUID of the subscription.

Formatuuid
id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/subscriptions/string/cancel/"
{  "message": "Subscription will be cancelled at the end of the current billing period."}