Authorization: Bearer ********************
{ "txnid": "TX_U99823", "reason": "Product not available" }
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" }'
{ "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" }