Cancel Subscription
/rpy/be-subscription/v1/subscriptions/{subscription_id}/cancel__Cancel an Existing Subscription__<br> <br>This endpoint allows you to cancel an existing subscription using its unique identifier. It updates the subscription status to `CANCELED` and optionally logs a reason for audit and tracking purposes.<br> <br>**Usage Scenarios:**<br>_- When a customer explicitly requests to stop their subscription.<br>- As part of automated processes (e.g., failed payments, policy violations).<br>- When a service or product is discontinued._<br> <br>**Notes:**<br>_- You can optionally provide a_ `status_details` _field to document the reason for cancellation (useful for audit or business insights).<br>- Once canceled, the subscription will not generate further billing events or renewals._
Header Parameters
User who is registering. This information can be used for audit purposes.
Path Parameters
Buyer identifier.
Body application/json
ECommerce identification code
Details of the recurrence subscription status.
Response
Request made successfully
Invalid Requisition
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not Found
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Unprocessable Entity
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.