Cancel Plan
Subscription (Recurring)
Cancel Plan
Cancels an active subscription plan and stops future billing.
POST
Cancel Plan
Authorizations
JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.
Merchant API key (Credential.api_key). Required on every request.
Path Parameters
Body
application/json
Optional body for cancelling a plan.
Cancellation reason. Defaults to merchant_api_cancel when omitted.
Example:
"customer_requested"
Response
SP000 Successflly — plan cancelled (data is RecurringPlanData).
Merchant v2 envelope returned on a successful plan operation (SP000). Used by create (HTTP 201), show, update, and cancel (HTTP 200). The data.upgrade block is present only on an upgrade/downgrade.
