Documentation Index
Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Transaction refunds will reverse a previously settled or pending settlement transaction. If the
transaction has not been settled, a transaction void can also reverse it.
1. Refund Transaction Type
The type of transaction to be processed must be refund.
2. Transaction ID
Pass the original payment gateway transaction ID.
3. Amount
Provide the total amount to be refunded. This amount may be equal to or less than the settled
amount.Setting the amount to 0.00 refunds the entire amount.
Example Request
curl --request POST \
--url https://gateway.bancedge.com/api/transact.php \
--header 'accept: application/x-www-form-urlencoded' \
--header 'content-type: application/x-www-form-urlencoded' \
--data type=refund \
--data transactionid=8564830211 \
--data amount=1 \
--data security_key=6457Thfj624V5r7WUwc5v6a68Zsd6YEm
Example Response