This API Help to Refund.

Request Parameters:

Attribute

Type

Details

unique_txn_id*

string

valid transaction unique id is generated.

amount_in_paise*

long

valid total amount in paise.

merchant_id*

integer

vaild merchant id.

order_id*

integer

vaild order id of product.

payment_id*

integer

valid payment id generated one.

Request Body payload:

{
   "unique_txn_id":"RefundTwXN_03",
   "amount_in_paise":100,
   "merchant_id":11607,
   "order_id":106730,
   "payment_id":438381
}

Request Base64 Body payload:

{
    "request": "ewogICAidW5pcXVlX3R4bl9pZCI6IlJlZnVuZFR3WE5fMDMiLAogICAiYW1vdW50X2luX3BhaXNlIjoxMDAsCiAgICJtZXJjaGFudF9pZCI6MTE2MDcsCiAgICJvcmRlcl9pZCI6MTA2NzMwLAogICAicGF5bWVudF9pZCI6NDM4MzgxCn0="
}

Response Payload:

{
    "merchant_data": {
        "merchant_id": 11565,
        "order_id": "E37L74P3A65P660"
    },
    "order_data": {
        "order_status": "REFUNDED",
        "plural_order_id": 33890,
        "amount": 200,
        "order_desc": "TEST"
    },
    "payment_info_data": {
        "acquirer_name": "RAZOR_PAY",
        "captured_amount_in_paisa": "0",
        "refund_amount_in_paisa": "200",
        "payment_completion_date_time": "NA",
        "payment_id": "NA",
        "payment_status": "REFUNDED",
        "payment_response_code": "1",
        "payment_response_message": "NA",
        "rrn": "NA",
        "unique_request_id": "NA",
        "refund_id": "1013279",
        "payment_mode": "WALLET",
        "gateway_transaction_id": "rfnd_Iqghc3OQbb3A7w"
    }
}
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!