Skip to main content

Refund Status

POST https://pgbiz.omniware.in/v2/refundstatus
Content-Type: application/x-www-form-urlencoded

Request parameters

api_keystring (36)required
transaction_idstring (30)required
The original payment's transaction ID.
merchant_order_idstring (30)
Optional cross-check — must match the original order_id if supplied.
hashstring (255)required

Response

{
"data": {
"transaction_id": "FDAXIP9740656834",
"merchant_order_id": "351177",
"refund_amount": 2.04,
"transaction_amount": "2.04",
"refund_details": [
{
"refund_id": 3523,
"refund_reference_no": "602201803257434370",
"merchant_refund_id": null,
"refund_amount": "2.04",
"refund_status": "Customer Refunded",
"date": "2018-02-01 11:19:49"
}
]
},
"hash": "20D8CB42D14C35AAEF06BB200C82E560DCC1D0C19EEFFBFD07CBEEB3BD39AE746AFB30A5803D637527CE1A45AE367565E8AF5933809E3F597D7CDDDCDB3C28FE"
}

refund_details is an array — partial refunds appear as separate entries.

If nothing was refunded:

{ "error": { "code": 1050, "message": "No data record found for the given input" } }