Cancel subscription
PATCH
/v1/subscriptions/{id}/cancel
Cancels the subscription permanently — no new charge will be
generated. Optionally record a reason. Returns the updated details
with status: CANCELLED and canceled_at filled in.
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Subscription identifier.
Type
Requiredinteger
Example
10Request Body
application/json
JSON "reason": "Cliente não deseja mais o produto"
{
}
Responses
Subscription canceled. Returns the updated details.
application/json
JSON "data": { "subscription_id": 10, "status": "CANCELLED", "canceled_at": "2026-08-04 12:00:00" }
{
}
PATCH
/v1/subscriptions/{id}/cancel