v1

latestOpenAPI 3.1.02026-07-263847150.4 KB

Direct Refund Transaction

post/v2/{order_id}/refund/online/direct

Path parameters

order_idstring required

order_id or transaction_id

Request body

refund_keystring
amountstring
reasonstring

Response

200

OR
OR
OR
OR

Example response

{
  "status_code": "200",
  "status_message": "Success, refund request is approved by the bank",
  "transaction_id": "fddb5889-fd39-46fe-809d-30679fe42434",
  "order_id": "MID-1620622357",
  "gross_amount": "10000.00",
  "payment_type": "credit_card",
  "transaction_time": "2016-06-28 09:42:20",
  "transaction_status": "refund",
  "refund_chargeback_id": 47594,
  "refund_amount": "10000.00",
  "refund_key": "01f1f771-b75c-48ef-b21d-193a79f8aa5b"
}