1. Acceppt payment
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. Acceppt payment

Create Invoice

POST
https://pay.bottercc.com/api/v1/invoice
Create a payment invoice to collect payment from your customer. you get a payment link and users have to visit that link to complete the payment.

Request

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

Example
{
  "amount": "499.00",
  "txnid": "ORDER_1001",
  "name": "John Doe",
  "email": "johndoe@example.com",
  "phone": "9876543210",
  "product_name": "Pro Subscription",
  "success_url": "https://example.com/payment/success",
  "fail_url": "https://example.com/payment/failed",
  "webhook_url": "https://example.com/api/webhook"
}

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/invoice' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount": "499.00",
  "txnid": "ORDER_1001",
  "name": "John Doe",
  "email": "johndoe@example.com",
  "phone": "9876543210",
  "product_name": "Pro Subscription",
  "success_url": "https://example.com/payment/success",
  "fail_url": "https://example.com/payment/failed",
  "webhook_url": "https://example.com/api/webhook"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "success": true,
  "txnid": "INV_1001",
  "payu_txnid": "INV_1001_u1",
  "amount": "499.00",
  "payment_url": "http://pay.bottercc.com/pay/INV_1001_u1"
}
Modified at 2026-08-20 03:22:38
Previous
Introduction
Next
Invoice status
Built with