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

Refund invoce

POST
https://pay.bottercc.com/api/v1/refund
Refund the payment to the payer if your system failed to deliver the product.

Request

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

Example
{
    "txnid": "TX_U99823",
    "reason": "Product not available"
}

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/refund' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "txnid": "TX_U99823",
    "reason": "Product not available"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "success": true,
  "txnid": "INV_1001",
  "payu_txnid": "INV_1001_u1",
  "refund_amount": "499.00",
  "status": "refunded",
  "payu_refund_id": "94218392",
  "message": "Refund processed successfully via PayU"
}
Modified at 2026-08-20 03:49:01
Previous
Invoice status
Next
List invoices
Built with