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

subscription status

Developing
GET
https://pay.bottercc.com/api/v1/subscription
Query the current subscription status, cycle progress, next billing date, and the last 5 transaction payments.

Request

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

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?sub_id=sub_4fa9921b34e2c' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "success": true,
  "subscription": {
    "id": 12,
    "sub_id": "sub_4fa9921b34e2c",
    "client_subid": "SUB_USER_1001",
    "plan_name": "Pro Membership",
    "customer": {
      "name": "Jane Doe",
      "email": "jane@example.com",
      "phone": "9876543210"
    },
    "pricing": {
      "initial_amount": "1.00",
      "recurring_amount": "199.00",
      "currency": "INR",
      "interval": "monthly"
    },
    "status": "active",
    "cycles": {
      "completed": 2,
      "total": 12
    },
    "billing": {
      "current_period_start": "2026-08-20T08:00:00.000Z",
      "current_period_end": "2026-09-20T08:00:00.000Z",
      "next_billing_at": "2026-09-20T08:00:00.000Z"
    },
    "total_collected": "399.00",
    "auth_url": "https://pay.bottercc.com/pay/sub/sub_4fa9921b34e2c",
    "cancelled_at": null,
    "created_at": "2026-06-20T08:00:00.000Z",
    "updated_at": "2026-08-20T08:00:00.000Z",
    "last_5_transactions": [
      {
        "payment_id": 204,
        "cycle_number": 2,
        "amount": "199.00",
        "status": "success",
        "payment_method": "UPI_AUTOPAY",
        "payu_payment_id": "REC_1787201948",
        "billing_date": "2026-08-20T08:00:00.000Z",
        "paid_at": "2026-08-20T08:00:05.000Z",
        "error_message": null,
        "created_at": "2026-08-20T08:00:00.000Z"
      }
    ]
  }
}
Modified at 2026-08-20 04:24:30
Previous
Create subscription
Next
cancel subscription
Built with