v1
latestOpenAPI 3.1.02026-07-245644294.6 KBSubscriptions
Cancel subscription
Cancel a subscription. The system automatically determines whether to withdraw (for early-stage subscriptions) or cancel (for active subscriptions) based on the subscription state.
post/api/public/v1/subscriptions/{id}/cancel
Path parameters
idstring required
Subscription ID (integer)
Headers
Authorizationstring required
Request body
Example request
{
"reason": "Customer request"
}Response
Subscription cancelled with reason
Example response
{
"success": true,
"message": "Subscription cancelled successfully"
}