1. Subscription
Documentation: Botter Pay
  • Introduction
  • Acceppt payment
    • Create Invoice
      POST
    • Invoice status
      GET
    • Refund invoce
      POST
    • List invoices
      GET
  • Send payment
    • Send payment to upi
      POST
    • Payout status
      GET
  • Subscription
    • Create subscription
      POST
    • subscription status
      GET
    • cancel subscription
      POST
  • Webhook
    • Webhooks
  1. Subscription

cancel subscription

Developing
POST
https://pay.bottercc.com/api/v1/subscription/cancel
Immediately revoke and cancel an active subscription mandate.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "sub_id": "sub_4fa9921b34e2c",
    "reason": "Customer cancelled service"
  }

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://pay.bottercc.com/api/v1/subscription/cancel' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "sub_id": "sub_4fa9921b34e2c",
    "reason": "Customer cancelled service"
  }'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "success": true,
  "status": "cancelled",
  "message": "Subscription is already cancelled.",
  "cancelled_at": "2026-08-20T08:30:00.000Z"
}
Modified at 2026-08-20 04:26:15
Previous
subscription status
Next
Webhooks
Built with