Additional Info for General APIs

Response Parameters for Verify Payment API

ParameterDescriptionExample
statusThis parameter returns the status of web service call. The status can be any of the following:
0 - If web service call failed.
1 - If web service call succeeded
0
msgThis parameter returns the reason string.For example, any of the following messages are displayed:
- Parameter missing
- Token is empty

- Amount is empty
- Transaction not exists
transaction_detailsThis parameter contains the response in a JSON format. For more information refer to JSON fields description for transaction_details parameter .
This parameter may or may not be returned depending on the web service being called.mihpayid,request_id, bank_ref_num etc
request_idPayU Request ID for a request in a Transaction. For example, a transaction can have a refund request.7800456
bank_ref_numThis parameter returns the bank reference number. If the bank provides after a successful action.204519474956

Sample response

Success Responses

  • If successfully fetched, the response is similar to the following:

If successfully fetched

{
    "status": 1,
    "msg": "1 out of 1 Transactions Fetched Successfully",
    "transaction_details": {
        "d721fcf124b54e56989f": {
            "mihpayid": "403993715530075847",
            "request_id": "",
            "bank_ref_num": "7103714673656711773162",
            "amt": "10.00",
            "transaction_amount": "10.00",
            "txnid": "d721fcf124b54e56989f",
            "additional_charges": "0.00",
            "productinfo": "Product Info",
            "firstname": "Payu-Admin",
            "bankcode": "CC",
            "udf1": "",
            "udf3": "",
            "udf4": "",
            "udf5": "",
            "field2": "966739",
            "field9": "Transaction is Successful",
            "error_code": "E000",
            "addedon": "2023-09-12 14:50:48",
            "payment_source": "payu",
            "card_type": "MAST",
            "error_Message": "No Error",
            "meCode": "{\"MID\":\"PAYUPAYMENTCYBS\"}",
            "net_amount_debit": 10,
            "disc": "0.00",
            "mode": "CC",
            "PG_TYPE": "CC-PG",
            "card_no": "XXXXXXXXXXXX2346",
            "name_on_card": null,
            "udf2": "",
            "status": "success",
            "unmappedstatus": "captured",
            "Merchant_UTR": null,
            "Settled_At": "0000-00-00 00:00:00"
        }
    }
}
  • If credit card payment is made, the response is similar to the following:

If payment is successful using credit card

{
      "status": 1,
      "msg": "1 out of 1 Transactions Fetched Successfully",
      "transaction_details": {
            "7fa6c4783a363b3da573": {
                  "mihpayid": "403993715521889530",
                  "request_id": "",
                  "bank_ref_num": "721522",
                  "amt": "10.00",
                  "transaction_amount": "10.00",
                  "txnid": "7fa6c4783a363b3da573",
                  "additional_charges": "0.00",
                  "productinfo": "Test",
                  "firstname": "K",
                  "bankcode": "CC",
                  "udf1": "",
                  "udf3": "",
                  "udf4": "",
                  "udf5": "",
                  "field2": "177047",
                  "field9": "No Error",
                  "error_code": "E000",
                  "addedon": "2020-10-26 14:12:13",
                  "payment_source": "payu",
                  "card_type": "UNKNOWN",
                  "error_Message": "NO ERROR",
                  "net_amount_debit": 10,
                  "disc": "0.00",
                  "mode": "CC",
                  "PG_TYPE": "CC-PG",
                  "card_no": "512345XXXXXX2346",
                  "name_on_card": "Test",
                  "udf2": "",
                  "field5": "211939174867",
                  "field7": "AUTHPOSITIVE",
                  "status": "success",
                  "unmappedstatus": "captured",
                  "Merchant_UTR": null,
                  "Settled_At": "0000-00-00 00:00:00"
            }
      }
}

Failure Responses

  • If txnID is not found, the response is similar to the following:
{
"status":0,"msg":"0 out of 1 Transactions Fetched

Successfully","transaction_details":{"IhfgcZnXR4o4nB":{"mihpayid":"Not Found","status":"Not Found"}}
}

JSON Field description for transaction_details parameter

The transaction_details parameter of the response is in JSON format for the Check Refund Status with Request ID/PayU ID, Get Transaction Details APIs, or Verify Payment APIs. The fields in this JSON are described in the following table:

JSON ParameterDescriptionExample
mihpayupidThis parameter contains a unique reference number created for each transaction at PayU’s end. You must note this transaction ID as this will be used as a reference for all the future actions on this transaction like Inquiry or Refund.403993715521937565
bank_ref_numFor each successful transaction – this parameter contains the bank reference number generated by the bank.527013524405
request_idThis parameter contains the request ID value posted by the merchant during the transaction request.131278422
amtThis parameter contains the original amount which was sent in the transaction request by the merchant.10.00
modeThis parameter contains the mode of the transaction such as credit card, debit card, etc. For more information, refer to Payment Mode Codes.CC
actionThis parameter contains action taken on the transaction. The action can be any of the following:
capture
refund
* cancel
refund
tokenThis parameter contains the Token ID (unique token from the merchant) for the refund request.20201105secrettokenatur
statusThis parameter contains the status and can be any of the following:
0 - If web service call failed.
1 - If web service call succeeded
1
bank_arnThis parameter contains the Acquirer Reference Number (ARN) is a unique number is generated by the bank. This ARN is generated within 24-72 business hours of initiating the refund.74799877002005071918062
settlement_idThis parameter contains the settlement ID of the transaction.202110181245
amount_settledThis parameter contains the amount settled to the merchant.10.00
UTR_noThis parameter contains the merchant Unique Transaction Reference (UTR) number.N223211598444659
value_dateThis parameter contains the date when the refund took place or when the amount is reflected in merchant account in this parameter, where the date format is YYYY-MM-DD.2020-10-20

Response parameters for Get Settlement Details API

FieldDescriptionExample
payuidThis parameter contains a unique reference number created for each transaction at PayU’s end. You must note this transaction ID as this will be used as a reference for all the future actions on this transaction like Inquiry or Refund.403993715521937565
txn_idThis parameter contains the transaction ID of the transaction.13818
txn_dateThis parameter contains the date of the transaction.2021-08-10 23:46:25
modeThis parameter contains the mode of the transaction such as credit card, debit card, etc. For more information, refer to Payment Mode Codes.CC
amountThis parameter contains the original amount which was sent in the transaction request by the merchant.100
requestidThis parameter contains the request ID value posted by the merchant during the transaction request.131278418
requestdateThis parameter contains the request date and time stamp.2021-08-10 23:49:16
requestactionThis parameter contains the action taken on the transaction. The action can be any of the following:
capture

refund

cancel
chargeback
chargeback reversal
refundreversal
refund
requestamountThe parameter contains the amount requested by the merchant to the bank.100
mer_UTRThis parameter contains the merchant Unique Transaction Reference (UTR) number.N223211598444659
mer_service_feeThis parameter contains the service fee paid by the merchant to the bank. for the transaction239.6000
mer_service_taxThis parameter contains the tax on service fee paid by the merchant to the bank. for the transaction43.1300
mer_net_amountThis parameter contains the net amount to be settled by bank to merchant.100
bank_nameThis parameter contains the bank name or the card type based on the transaction.MAST
issuing_bankThis parameter contains the card issuing bank name is displayed.SBI
merchant_subvention_amountThis parameter contains merchant subvention amount.100
cgstThis parameter contains the CGST (Central GST) for the transaction.43.13000
igstThis parameter contains the IGST (Integrated GST) for the transaction.43.13000
sgstThis parameter contains the SGST (State GST) for the transaction where the supplier or merchant is from a different state of the customer.43.13000
PG_TYPEThis parameter contains the payment gateway type is displayed in this transaction.HDFC_Internal_Plus
Card TypeThis parameter contains the card type of the transaction.Visa
ParameterDescriptionExample
SettlementTypeThis describes about the charges whether its regular processing fee or instant chargesRegular or Instant

Sample response

Success scenario

  • If successfully fetched for version 1
(
	    [status] => 1
	    [msg] => 1 transactions settled on 2021-08-11
	    [Txn_details] => Array
        (
			[1] => Array
                (
                    [payuid] => 13799177287
                    [txnid] => 13818
                    [txndate] => 2021-08-10 23:46:25
                    [mode] => DC
                    [amount] => 11979.88
                    [requestid] => 9586840660
                    [requestdate] => 2021-08-10 23:49:16
                    [requestaction] => capture
                    [requestamount] => 11979.88
                    [mer_utr] => N223211598444659
                    [mer_service_fee] => 239.6000
                    [mer_service_tax] => 43.1300
                    [mer_net_amount] => 11697.1500
                    [bank_name] => MAST
                    [issuing_bank] => SBI
                    [merchant_subvention_amount] => 0.00
                    [cgst] => 0.00000
                    [igst] => 43.13000
                    [sgst] => 0.00000
                    [PG_TYPE] => HDFC_Internal_Plus
                    [Card Type] => 
                    [token] => 
                )

        )

)
  • If successfully fetched for version 2
(
    [status] => 1
    [msg] => 1 transactions settled on 2021-08-11
    [Txn_details] => Array
        (
			[1] => Array
                (
                    [payuid] => 13799177287
                    [txnid] => 13818
                    [txndate] => 2021-08-10 23:46:25
                    [mode] => DC
                    [amount] => 11979.88
                    [requestid] => 9586840660
                    [requestdate] => 2021-08-10 23:49:16
                    [requestaction] => capture
                    [requestamount] => 11979.88
                    [mer_utr] => N223211598444659
                    [mer_service_fee] => 239.6000
                    [mer_service_tax] => 43.1300
                    [mer_net_amount] => 11697.1500
                    [bank_name] => MAST
                    [issuing_bank] => SBI
                    [merchant_subvention_amount] => 0.00
                    [cgst] => 0.00000
                    [igst] => 43.13000
                    [sgst] => 0.00000
                    [PG_TYPE] => HDFC_Internal_Plus
                    [Card Type] => 
                    [token] => 6112241bc5877_f4bdd97e
                    [SettlementType] => regular
                    [PG] => HDFC_Internal_Plus
                    [Scheme] => CC
                    [FeeType] => tdrFee
                    [InstantSettlementTDR] => 0.0
                    [InstantSettlementTDRTax] => 0.0
                    [InstantSettlementTdrType] => 
                    [InstantRefundTDR] => 0.0
                    [InstantRefundTDRTax] => 0.0
                    [InstantRefundTdrType] => 
                )

        )

)

Failure scenario

  • Date format is incorrect
{
      "status": 0,
      "msg": "Please check date format it should be YYYY-MM-DD"
}
  • No data found for the particular date queried
Array 
(
      [status] => 1
      [msg] => 0 transactions settled on 2015-05-01 
      [Txn_details] => Array
                (
                 ) 
)

Response parameters for Eligible BINs for EMI

ParameterDescriptionExample
statusThis parameter returns the status of web service call. The status can be any of the following:
0 - If web service call failed.
1 - If web service call succeeded
msgThis parameter returns whether the EMI details were fetched successfully or not found.Details fetched successfully
detailsThe details of the EMI offer is displayed in a JSON format and it contains the following fields:
isEligible - This paraAny of the following values are
- 0 - If EMI offers are not available for the given card BIN.
- 1 - If EMI offers are available for the given card BIN.
bank - The name of bank that corresponds to the given card BIN
* minAmount - The minimum amount for which the EMI offer is available
{
"isEligible": 1,
"bank": "AXIS",
"minAmount": 2500
}****

Response Parameters for Check isDomestic API

ParameterDescription
isDomestic Response value can contain any of the following:
Y signifies that the particular BIN is domestic.
N signifies that the particular BIN is International.
cardTypeResponse value can contain any of the following:
MAST
VISA
MAES
AMEX
DINER
Unknown
issuingBankThe issuing bank of the card used for the transaction.
cardCategoryResponse value can contain any of the following:
CC signifies that the particular bin is a credit card BIN

DC signifies that the particular bin is a debit card BIN

Response parameters for Get EMI Amount According to Interest API

The response includes the JSON array and each JSON has the fields as described in the following table:

📘

Reference:

In the JSON Array of the response of the Get EMI Amount According to Interest API, the code displayed for the each issuer (at the beginning of each object). The significance of these codes are described in EMI Options for Get EMI According to Interest API.

ParameterDescriptionExample
transactionAmountThe transaction amount that is will be converted into EMI.20000
loanAmountThe loan amount that needs to be converted as EMI.20000
emiAmountThe amount that needs to be converted as EMI.20000
additionalCostThe processing fee or additional cost for processing the EMI excluding interest.0.00
emiMdrNoteThe EMI Merchant Discount Rate (MDR) note if any for the transaction.0.25
bankRateThe interest rate in percentage for the EMI. This is excluding the processing fee. For example, 12%, 18%, 24%, etc.13
bankChargeThe bank charges for the EMI transaction.0
amountThe principal part of the EMI.6666.67
card_typeThe card type used by the customer and can be any of the following:
credit card

debit card
credit card
emi_valueThe amount to be paid per EMI.6811.63
emi_interest_paidThe total interest paid for all the EMIs.434.89
tenureThe tenure for the EMI in months. For example, 3, 6, 12, 24, 36, etc.3

Response parameters for Refund Payment API

ParameterFieldsSample Value
statusThe status can be any of the following:
1 if API call is a success
0 if the API has failed
1
msgThis parameter contains a response message description.Refund Request Queued
request_idThis parameter contains a unique refund ID generated by PayU.6582898821
bank_ref_numThis parameter contains a bank reference number is returned from bank.IRN6601148
mihpayidThis parameter contains a unique transaction ID generated by PayU during sale.7043873219
error_codeThis parameter contains the code for response. For a list of error codes and their description, refer to Refund Error Codes.102

📘

Note

The error_code ​value 102​ should be treated as success; the rest are failures.

Sample Response

Success Scenarios

  • On successful processing from PayU, the response is similar to the following:
Array 
(
      [status] => 1
      [msg] => Cancel Request Queued 
      [txn_update_id] => <Request ID> 
      [bank_ref_num] => <Bank Reference Number> 
      [mihpayid] => <PayU Transaction ID>
)
  • On successful processing from PayU end for captured transactions, the response is similar to the following:
Array 
(
     [status] => 1
     [msg] => Refund Request Queued 
     [request_id] => Request ID 
     [bank_ref_num] => <Bank Reference Number> 
     [mihpayid] => <PayU Transaction ID>
)

On successful processing at PayU end for auth transactions, the response is similar to the following:

Array 
(
    [status] => 1
    [msg] => Cancel Request Queued 
    [txn_update_id] => <Request ID> 
    [bank_ref_num] => <Bank Reference Number>
)

Failure scenarios

  • If token is missing, the response is similar to the following:
{
      "status": 0,
      "msg": "token is empty",
      "mihpayid": "403993715521937565"
}
  • If amount is missing, the response is similar to the following:
Array 
(
[status] => 0
[msg] => amount is empty 
)
  • If the transaction is not found, the response is similar to the following:
Array 
(
[status] => 0
[msg] => transaction not exists 
)
  • If failed to refund, the response is similar to the following:
Array 
(
       [status] => 0
       [msg] => Refund request failed
)
  • If capture is done on the same day, the response is similar to the following:
Array 
(
    [status] => 1
    [msg]=> Capture is done today, please check for refund status tomorrow 
    [request_id] => Request ID
    [bank_ref_num] => Bank Reference Number
    [mihpayid] => PayU ID
)
  • If the token is invalid, the response is similar to the following:
(
    [status] => 0
    [msg] => token already used or request pending 
)
  • If failed to cancel a transaction, the response is similar to the following:
Array 
(
     [status] => 0
     [msg] => Cancel request failed
)

Description of the Refund Details JSON Fields

The Refund Details parameter of the response is in JSON format and the parameters in this JSON are described in the following table:

JSON FieldDescriptionExample
Payu_IDThis field contains a unique reference number created for each transaction at PayU’s end. You must note this transaction ID as this will be used as a reference for all the future actions on this transaction like Inquiry or Refund.403993715521937565
RequestIDThis field contains the request ID value posted by the merchant during the transaction request.
- failure - If the API command failed.

- success - If the API command succeeded.
131278422
RefundTokenThis field contains the refund token from bank.20201105secrettokenatur
Payment GatewayThis parameter gives information on the payment gateway used for the transaction.AXISPG
AmountThis parameter contains the original amount which was sent in the transaction request by the merchant.10.00
StatusThis parameter contains any of the the following status based on whether the API command was successful or failed to get response:success
Refund_CreationDateThis parameter contains the time stamp of refund initiation from PayU when the merchant requested. The format of the time stamp is YYYY-MM-DD HH:MM:SS.2020-11-05 01:23:19
bank_ref_numFor each successful transaction – this parameter contains the bank reference number generated by the bank.527013524405
bank_arnThis parameter contains the Acquirer Reference Number (ARN) is a unique number is generated by the bank. This ARN is generated within 24-72 business hours of initiating the refund.0084129821
settled_atThis parameter contains the transaction settlement time stamp. The format of the time stamp is YYYY-MM-DD HH:MM:SS.2020-11-05 01:24:04

JSON Fields Description for Get Checkout Details API

JSON Format

{
    "requestId": "12345678", // random id - mandatory
    "transactionDetails": {
      "amount": 12345.12, // mandatory
      "...": "..."
    },
    "customerDetails": {
      // optional
      "mobile": "9098765432", // optional
      "...": "..."
    },
    "filters": {
      // optional - for limiting the data to be fetched
      "paymentOptions": {
        // optional - if not set, will return all payment options
        "emi": {
          // optional - only the requested fields will be returned
          "dc": "SBIN,KKBK,ICIC", // optional - all means, all options under that category, case insensitive
          "...": "..."
        },
        "...": "..."
      },
      "...": "..."
    },
    "useCase": {
      // optional
      "checkCustomerEligibility": true, // optional - default: false.
      "...": "..."
    }
  }

JSON Fields Description

JSON FieldDescriptionExample
requestId
mandatory
String This parameter must contain the request ID.12345678
transactionDetails
mandatory
JSON This parameter must contain the following fields in a JSON format as in the example:
- amount: This field contains the transaction amount
- txnid: This fields contains the transaction ID.
 { "amount": 12345.12 }
useCase
mandatory
JSON This field contains list of fields for which you want get information. For the list of fields and its description, refer to the Additional Info for General APIs > useCase JSON Field Description. table. { "getExtendedPaymentDetails": true }
filters
optional
JSONThis parameter is used to filter the response of this API based on one or more following in the paymentOptions field:
- cc: Filter the credit cards.
- dc: Filter the debit cards.
- nb: Filter the Net Banking
- emi: Filter the EMI options. For list of EMI options, refer to EMI Options for Get Checkout Details API.
- upi: Filter the UPI
- cash: Filter the wallets
{ "paymentOptions": { "emi": { "dc": "SBIN,KKBK,ICIC" } } }

useCase JSON Field Description

useCase FieldDescription
getExtendedPaymentDetails
optional
Boolean This flag is posted as true to check EMI eligibility based on mobile number and/or card number depending on the payment method used. Also, checks the eligibility for “Buy Now Pay Later” payment modes.Example: Title, EMI amount breakup, etc details are displayed in the response. For a sample request or response using this field, refer to the Get Extended Payment Details section.
getAdditionalCharges
optional
Boolean This flag is posted as true to return the additional charges configured for all payment options. For a sample request or response using this field, refer to the Get Additional Charges section. Note: You need to use the getTaxSpecification field if you want to calculate the tax split of additional charges on their end.
getTaxSpecification optionalBoolean This flag is posted as true to returns the tax specification configured on the backend. Clients can use the result to show the split of additional charges for each payment option. For a sample request or response using this field, refer to the Get Tax Specification section.
checkDownStatus optionalBoolean This flag is posted as true to return the downtime of the payment options. For a sample request or response using this field, refer to Check Down Status field.

Examples

Get Extended Payment Details

{
  // Mandatory field, random id for debugging purposes only
  "requestId": "12345678",
  "transactionDetails": {
    // Mandatory field
    "amount": 12345.12
  },
  "useCase": {
    // Returns extended information for all the payment options
    // Eg. Title, EMI amount details, etc
    "getExtendedPaymentDetails": true
  }
}

Response

{
  "status": 1,
  "details": {
    "paymentOptions": {
      "emi": {
        "all": {
          "dc": {
            "hasEligible": true,
            "all": {
              // Key is the 4 letter IFSC initials of the banks.
              "UTIB": {
                "title": "Axis Bank",
                "shortName": "Axis",
                // Minimum amount for this bank.
                "minimumAmount": 1000,
                // Maximum amount for this bank, null means no-limit.
                "maximumAmount": null,
                "eligibility": {"status": true},
                "tenureOptions": {
                  // Key name is the value of bankcode accepted by PayU.
                  "AXISD03": {
                    "tenure": 3,
                    "interestRate": 10.5,
                    "interestCharged": 200.45,
                    "monthlyEmi": 400.5,
                    "minimumAmount": 1000,
                    "maximumAmount": null,
                    "eligibility": {"status": true},
                  },
                  "AXISD...": { "...": "..." }
                }
              },
              "HDFC": { "...": "..." }
            },
            // Least amount limit of any dc emi.
            "minimumAmount": 1000,
            // Highest amount limit of any dc emi, null means no limit.
            "maximumAmount": null
          },
          "cc": { "...": "..." },
          "others": { "...": "..." },
          "cardless": {
            "hasEligible": true,
            "all": {
              "ZESTMON": {
                "title": "Zest Money",
                "shortName": "ZestMoney",
                "minimumAmount": 1000,
                "maximumAmount": null,
                "tenureOptions": {
                  "ZESTMON": {
                    // Tenure field will be all in case tenures of an option
                    // not managed on PayU end.
                    "tenure": null,
                    "minimumAmount": 1000,
                    "maximumAmount": null,
                    "eligibility": {"status": true},
                    // interestRate, interestCharged, monthlyEmi, etc may/may
                    // not be present depending whether these are maintained
                    // at payu's end or not. Eg ZESTMON's tenures are maintained
                    // on the bank end only and are returned once the customer
                    // proceeds with this option and submits the OTP.
                  }
                }
              },
              "...": { "...": "..." }
            }
          }
        }
      },
      "nb": {
        "all": {
          // Key name is the value of bankcode accepted by PayU.
          "SBIB": {
            "title": "State Bank of India"
          },
          "ADBB": {
            "title": "Andhra Bank"
          },
          "AXIB": {
            "title": "AXIS Bank NetBanking"
          },
          "AXNBTPV": {
            "title": "Axis NB TPV"
          },
          "...": { "...": "..." }
        }
      },
      "si": {
        "all": {
          "ANDBENCR": {
            "title": "Andhra Bank Recurring"
          },
          "AUBLENCR": {
            "title": "AU Small Finance Bank Ltd Recurring"
          },
          "UTIBENCR": {
            "title": "AXIS BANK Recurring"
          },
          "BARBENCR": {
            "title": "BARB ENACH Recurring"
          },
          "...": { "...": "..." }
        }
      },
      "dc": {
        "all": {
          "MAST": {
            "title": "MasterCard Debit Cards"
          },
          "MASTTPV": {
            "title": "MasterCard TPV Debit Cards"
          },
          "SMAE": {
            "title": "State Bank Maestro Cards"
          },
          "MAES": {
            "title": "Other Maestro Cards"
          },
          "RUPAY": {
            "title": "Rupay Debit Card"
          },
          "...": { "...": "..." }
        }
      },
      "cc": {
        "all": {
          "CC": {
            "title": "Credit Card"
          },
          "DINR": {
            "title": "Diners"
          },
          "RUPAYCC": {
            "title": "Rupay Credit Card"
          },
          "...": { "...": "..." }
        }
      },
      "lazypay": {
        "all": {
          "LAZYPAY": {
            "title": "LazyPay"
          }
        }
      },
      "lp-emi": {
        "all": {
          "LP-EMI": {
            "title": "LAZYPAYEMI"
          }
        }
      },
      "cash": {
        "all": {
          "PAYTM": {
            "title": "Paytm"
          },
          "...": { "...": "..." }
        }
      },
      // Similarly all the modes & payment options that are available for
      // the merchant.
      "...": { "...": "..." }
    }
  }
}

Get Additional Charges

{
    "requestId": "12345678",
    "transactionDetails": {
      "amount": 12345.12
    },
    "useCase": {
      "getAdditionalCharges": true
    }
  }

Response

{
  "status": 1,
  "details": {
    "paymentOptions": {
      "emi": {
        "all": {
          "dc": {
            "all": {
              "UTIB": {
                "tenureOptions": {
                  "AXISD03": {
                    "additionalCharge": 13.37
                  },
                  "AXISD...": { "...": "..." }
                }
              },
              "...": { "...": "..." }
            }
          },
          "...": { "...": "..." }
        }
      },
      "nb": {
        "all": {
          "SBIB": {
            "additionalCharge": 0
          },
          "ADBB": {
            "additionalCharge": 0
          },
          "AXIB": {
            "additionalCharge": 0
          },
          "AXNBTPV": {
            "additionalCharge": 0
          },
          "...": { "...": "..." }
        }
      },
      "dc": {
        "all": {
          "MAST": {
            "additionalCharge": 5.0
          },
          "MASTTPV": {
            "additionalCharge": 5.0
          },
          "SMAE": {
            "additionalCharge": 5.0
          },
          "MAES": {
            "additionalCharge": 5.0
          },
          "RUPAY": {
            "additionalCharge": 5.0
          },
          "...": { "...": "..." }
        }
      },
      "cc": {
        "all": {
          "CC": {
            "additionalCharge": 5.0
          },
          "DINR": {
            "additionalCharge": 5.0
          },
          "RUPAYCC": {
            "additionalCharge": 5.0
          },
          "...": { "...": "..." }
        }
      },
      "cash": {
        "all": {
          "PAYTM": {
            "additionalCharge": 10.5
          },
          "...": { "...": "..." }
        }
      },
      // Similarly all the modes & payment options that are available for
      // the merchant.
      "...": { "...": "..." }
    }
  }
}

Get Tax Specification

{
  // Mandatory field, random id for debugging purposes only
  "requestId": "12345678",
  "transactionDetails": {
    // Mandatory field
    "amount": 12345.12
  },
  "useCase": {
    // Down Banks info will be returned only if this flag is true.
    "getTaxSpecification": true
  }
}

Response

{
  "status": 1,
  "details": {
    // No change in the payment options returned or any other internal field
    // due to the checkDownStatus flag.
    // These will remain as it is as the remaining responses.
    "paymentOptions": {
      "cc": { "...": "..." },
      "dc": { "...": "..." },
      "...": { "...": "..." }
    },
    "config": {
      // This object will be returned if getTaxSpecification flag is true.
      // Default is the one to be applied on all modes.
      // In special cases, this can also have mode level tax percent
      "taxSpecification": {
        "default": 18
      }
    }
  }
}

Check Down Status

{
  // Mandatory field, random id for debugging purposes only
  "requestId": "12345678",
  "transactionDetails": {
    // Mandatory field
    "amount": 12345.12
  },
  "useCase": {
    // Down Banks info will be returned only if this flag is true.
    "checkDownStatus": true
  }
}

Response

{
  "status": 1,
  "details": {
    // No change in the payment options returned or any other internal field
    // due to the checkDownStatus flag.
    // These will remain as it is as the remaining responses.
    "paymentOptions": {
      "cc": { "...": "..." },
      "dc": { "...": "..." },
      "nb": { "...": "..." },
      "emi": { "...": "..." },
      "upi": { "...": "..." },
      "cash": { "...": "..." }
    },
    // This object will be returned if checkDownStatus flag is true.
    "downInfo": {
      // issuingBank contains the list of down issuing banks for the cards
      "issuingBanks": ["HDFC", "AXIS", "ICICI"],
      // nb/cashcard/etc all the other keys in this object contains the list of
      // down ibibo codes corresponding to the modes. The remaing keys will the
      // same as the ones present in the "paymentOptions" object
      "nb": ["SBIB", "ANDB"],
      "cash": ["PAYTM", "YESW"],
      "...": ["..."]
    }
  }
}

emi in the paymentOptions field with filters parameter

In this example, SBI, Kotak Mahindra and ICICI Bank EMI options are filtered. For list of EMI options, refer to EMI Options for Get Checkout Details API.

{
  "requestId": "4NQD7jcrGCt2LAxB",
  "filters": {
    "paymentOptions": {
      "emi": {
        "dc": "SBIN,KKBK,ICIC"
      }
    }
  },
  "useCase": {
    "checkCustomerEligibility": true
  },
  "customerDetails": {
    "mobile": "9871732405"
  },
  "transactionDetails": {
    "amount": "12386.00"
  }
}

Response

{
    "status": 1,
    "details": {
        "paymentOptions": {
            "emi": {
                "all": {
                    "dc": {
                        "all": {
                            "SBIN": {
                                "tenureOptions": {
                                    "SBID12": {
                                        "tenure": 12,
                                        "eligibility": {
                                            "status": true
                                        }
                                    },
                                    "SBID18": {
                                        "tenure": 18,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "Minimum required amount is 25000"
                                        }
                                    },
                                    "SBID24": {
                                        "tenure": 24,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "Minimum required amount is 25000"
                                        }
                                    },
                                    "SBID03": {
                                        "tenure": 3,
                                        "eligibility": {
                                            "status": true
                                        }
                                    },
                                    "SBID30": {
                                        "tenure": 30,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "Minimum required amount is 50000"
                                        }
                                    },
                                    "SBID36": {
                                        "tenure": 36,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "Minimum required amount is 50000"
                                        }
                                    },
                                    "SBID06": {
                                        "tenure": 6,
                                        "eligibility": {
                                            "status": true
                                        }
                                    },
                                    "SBID09": {
                                        "tenure": 9,
                                        "eligibility": {
                                            "status": true
                                        }
                                    }
                                },
                                "eligibility": {
                                    "status": true
                                }
                            },
                            "KKBK": {
                                "tenureOptions": {
                                    "KOTAKD12": {
                                        "tenure": 12,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "KOTAKD03": {
                                        "tenure": 3,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "KOTAKD06": {
                                        "tenure": 6,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "KOTAKD09": {
                                        "tenure": 9,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    }
                                },
                                "eligibility": {
                                    "status": false,
                                    "reason": "Customer not eligible for EMI"
                                }
                            },
                            "ICIC": {
                                "tenureOptions": {
                                    "ICICID12": {
                                        "tenure": 12,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "ICICID03": {
                                        "tenure": 3,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "ICICID06": {
                                        "tenure": 6,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    },
                                    "ICICID09": {
                                        "tenure": 9,
                                        "eligibility": {
                                            "status": false,
                                            "reason": "This mobile number is not eligible. Please change the mobile number."
                                        }
                                    }
                                },
                                "eligibility": {
                                    "status": false,
                                    "reason": "Customer not eligible for EMI"
                                }
                            }
                        },
                        "hasEligible": true
                    }
                }
            }
        }
    }
}
has context menu

Response Parameters for Get BIN Info

ParameterDescription
statusThis parameters provides the response whether the API was successful or not. This response value can contain any of the following:
- 0 signifies that the API was not successful or invalid details.
- 1 signifies that the API was successful in fetching the details.
dataThe card details are displayed in a JSON format. For more information, refer to the next table.

When multiple cards are queried using this API, the fields in the following table are displayed in the JSON format:

FieldDescription
total_countThe total number of card details fetched and displayed in JSON format.
lastThis parameter returns any of the following values based on the last page of BIN information displayed:
- 0: The value 0 (zero) is returned if this the not last set of bin information returned.

- 1: The value 1 is returned if this the last set of bin information returned. For example, if the total_count=2308 of bins are returned for a query, if you are posting var3=2300 (index) and var4=10 (offset), the last eight bins information are displayed and this parameter value is 1
bins_dataThe BIN information of the cards are displayed in a JSON array format and details of fields in each JSON are described in the next table.
next_startThe index of the card next start is returned in the response.

For multiple cards, the card details in the bins_data field are in a JSON array format, and fields in each JSON are described in the following table. For a single card, only the fields are displayed in JSON format.

FieldDescription
issuingBankThe issuing bank of the card used for the transaction
binThe BIN number of the card is displayed in the response.
categoryResponse value can contain any of the following: creditcard signifies that the particular bin is a credit card BIN debitcard signifies that the particular bin is a debit card BIN

card_typeResponse value can contain any of the following:
- MAST
- VISA
- MAES
- AMEX
- DINR
- Unknown
isDomesticResponse value can contain any of the following:
- 0 signifies that the particular BIN is unknown.
- 1 signifies that the particular BIN is Domestic.
- 2 signifies that the particular BIN is International.

- 3 signifies that the particular BIN is Corporate.
- 4 signifies that the particular BIN is Prepaid.
additonalCardTypeThe response contains any of the following values to show if it is corporate or prepaid card:
- CE - Corporate card
- PE - Prepaid card
is_atmpin_cardResponse value can contain any of the following:
- 0 signifies that the card is not an ATM card.
- 1 signifies that the card is an ATM card.
is_otp_on_the_flyResponse value can contain any of the following:
- 0 signifies that the card does not have OTP on the fly facility.
- 1 signifies that the card have OTP on the fly facility.

Sample response

Single Card

Array
(
    [status] => 1
    [data] => Array
        (
            [bins_data] => Array
                (
                    [issuing_bank] => HDFC
                    [bin] => 512345
                    [category] => creditcard
                    [card_type] => MAST
                    [is_domestic] => 1
                    [additonalCardType] => CE
                    [is_atmpin_card] => 1
                    [is_otp_on_the_fly] => 1
                    [is_zero_redirect_supported] => 1
                    [is_si_supported] => 0
                )

        )

)

📘

Note:

Ensure that the value of the is_otp_on_the_fly parameter is 1. Only if the value is 1, you can fetch the card details with the Native OTP support.

Multiple Cards

Array
(
    [status] => 1
    [data] => Array
        (
            [total_count] => 2580
            [last] => 0
            [bins_data] => Array
                (
                    [37100] => Array
                        (
                            [issuing_bank] => AMEX
                            [bin] => 37100
                            [category] => UNKNOWN
                            [card_type] => AMEX
                            [is_domestic] => 1
                            [is_atmpin_card] => 1
                            [is_otp_on_the_fly] => 1
                        )

                    [37200] => Array
                        (
                            [issuing_bank] => AMEX
                            [bin] => 37200
                            [category] => UNKNOWN
                            [card_type] => AMEX
                            [is_domestic] => 1
                            [is_atmpin_card] => 1
                            [is_otp_on_the_fly] => 1
                        )

                    [37443] => Array
                        (
                            [issuing_bank] => AMEX
                            [bin] => 37443
                            [category] => UNKNOWN
                            [card_type] => AMEX
                            [is_domestic] => 1
                            [is_atmpin_card] => 1
                            [is_otp_on_the_fly] => 1
                        )

                    [37653] => Array
                        (
                            [issuing_bank] => AMEX
                            [bin] => 37653
                            [category] => UNKNOWN
                            [card_type] => AMEX
                            [is_domestic] => 1
                            [is_atmpin_card] => 1
                            [is_otp_on_the_fly] => 1
                        )

                    [37700] => Array
                        (
                            [issuing_bank] => AMEX
                            [bin] => 37700
                            [category] => UNKNOWN
                            [card_type] => AMEX
                            [is_domestic] => 1
                            [is_atmpin_card] => 1
                            [is_otp_on_the_fly] => 1
                        )

                )

            [nextStart] => 6
        )

)

Card Details with Standing Instructions Support

  • Success scenario
Array
(
    [status] => 1
    [data] => Array
        (
            [bins_data] => Array
                (
                    [issuing_bank] => KOTAK
                    [bin] => 436389
                    [category] => creditcard
                    [card_type] => VISA
                    [is_domestic] => 1
                    [is_atmpin_card] => 1
                    [is_otp_on_the_fly] => 1
                    [is_zero_redirect_supported] => 1
                    [is_si_supported] => 1
                )

        )

)
  • Failure Scenario
    • If BIN is not passed with var2 when requesting for single BIN details (var1=1):
Array
(
    [status] => 0
    [data] => Invalid bin passed in var2
)
  • If BIN is passed with var2 when multiple card details are request (var1=2):
Array
(
    [status] => 0
    [data] => Invalid var2, it should be either 1 or 2 according to feature
)
  • If BIN is passed with var2 and multiple card details are requested (var1=3):
Array
(
    [status] => 0
    [data] => Invalid var2, it should be empty as var1 is 3
)

Sample Response for Get Transaction Details

Success Scenario

If successfully fetched, the response is similar to the following:

{
      "status": 1,
      "msg": "Transaction Fetched Successfully",
      "Transaction_details": [
            {
                  "id": "403993715521889443",
                  "status": "captured",
                  "key": "JPM7Fg",
                  "merchantname": "demo",
                  "txnid": "02fdb4f0a0decd1e4937",
                  "firstname": "Ashish",
                  "lastname": "Kumar",
                  "addedon": "2020-10-26 13:54:52",
                  "bank_name": "Credit Card",
                  "payment_gateway": "AXISPG",
                  "phone": "9876543210",
                  "email": "[email protected]",
                  "transaction_fee": "10.00",
                  "amount": "10.00",
                  "discount": "0.00",
                  "additional_charges": "0.00",
                  "productinfo": "iPhone",
                  "error_code": "E000",
                  "bank_ref_no": "895255",
                  "ibibo_code": "CC",
                  "mode": "CC",
                  "ip": "106.202.49.52",
                  "card_no": "512345XXXXXX2346",
                  "cardtype": "domestic",
                  "offer_key": "",
                  "field2": "171519",
                  "udf1": "",
                  "pg_mid": null,
                  "offer_type": null,
                  "failure_reason": null,
                  "mer_service_fee": "0.00",
                  "mer_service_tax": "0.00"
            },
            {
                  "id": "403993715521889519",
                  "status": "failed",
                  "key": "JPM7Fg",
                  "merchantname": "demo",
                  "txnid": "4c5355da12224188d0ff",
                  "firstname": "K",
                  "lastname": "K",
                  "addedon": "2020-10-26 14:10:02",
                  "bank_name": "Credit Card",
                  "payment_gateway": "AXISPG",
                  "phone": "09599736876",
                  "email": "[email protected]",
                  "transaction_fee": "10.00",
                  "amount": "10.00",
                  "discount": "0.00",
                  "additional_charges": "0.00",
                  "productinfo": "i Phone",
                  "error_code": null,
                  "bank_ref_no": "372218",
                  "ibibo_code": "CC",
                  "mode": "CC",
                  "ip": "106.202.49.52",
                  "card_no": "512345XXXXXX2346",
                  "cardtype": "domestic",
                  "offer_key": "",
                  "field2": "603129",
                  "udf1": "",
                  "pg_mid": null,
                  "offer_type": null,
                  "failure_reason": null,
                  "mer_service_fee": null,
                  "mer_service_tax": null
            },
            {
                  "id": "403993715521891555",
                  "status": "captured",
                  "key": "JPM7Fg",
                  "merchantname": "demo",
                  "txnid": "e3bb0408ef94af722de5",
                  "firstname": "Ashish",
                  "lastname": "Kumar",
                  "addedon": "2020-10-26 20:59:41",
                  "bank_name": "Credit Card",
                  "payment_gateway": "AXISPG",
                  "phone": "0987654321",
                  "email": "[email protected]",
                  "transaction_fee": "10.00",
                  "amount": "10.00",
                  "discount": "0.00",
                  "additional_charges": "0.00",
                  "productinfo": "iPhone",
                  "error_code": "E000",
                  "bank_ref_no": "734154",
                  "ibibo_code": "CC",
                  "mode": "CC",
                  "ip": "106.202.39.89",
                  "card_no": "512345XXXXXX2346",
                  "cardtype": "domestic",
                  "offer_key": "",
                  "field2": "157887",
                  "udf1": "",
                  "pg_mid": null,
                  "offer_type": null,
                  "failure_reason": null,
                  "mer_service_fee": "0.00",
                  "mer_service_tax": "0.00"
            }
      ]
}

Failure scenarios

  • If transaction not found, the response is similar to the following:
{
      "status": 1,
      "msg": "Transaction Fetched Successfully",
      "Transaction_details": []
}
  • If invalid date is posted, the response is similar to the following:
{
      "status": 0,
      "msg": "Invalid Date Entered. Date format should be yyyy-mm-dd"
}

Sample response for Get Transaction Info API

Success scenarios

If successfully fetched

{
      "status": 1,
      "msg": "Transaction Fetched Successfully",
      "Transaction_details": [
            {
                  "id": "403993715521889443",
                  "action": "capture",
                  "status": "SUCCESS",
                  "issuing_bank": "HDFC",
                  "transaction_fee": "10.00",
                  "key": "JPM7Fg",
                  "merchantname": "demo",
                  "txnid": "02fdb4f0a0decd1e4937",
                  "firstname": "Ashish",
                  "lastname": "Kumar",
                  "addedon": "2020-10-26 13:54:52",
                  "bank_name": "Credit Card",
                  "payment_gateway": "AXISPG",
                  "phone": "9876543210",
                  "email": "[email protected]",
                  "amount": "10.00",
                  "discount": "0.00",
                  "additional_charges": "0.00",
                  "productinfo": "iPhone",
                  "error_code": "E000",
                  "bank_ref_no": "895255",
                  "ibibo_code": "CC",
                  "mode": "CC",
                  "ip": "106.202.49.52",
                  "card_no": "512345XXXXXX2346",
                  "cardtype": "domestic",
                  "offer_key": "",
                  "field2": "171519",
                  "udf1": "",
                  "pg_mid": null,
                  "offer_type": null,
                  "failure_reason": null,
                  "mer_service_fee": "0.00",
                  "mer_service_tax": "0.00"
            },
            {
                  "id": "403993715521889530",
                  "action": "capture",
                  "status": "SUCCESS",
                  "issuing_bank": "HDFC",
                  "transaction_fee": "10.00",
                  "key": "JPM7Fg",
                  "merchantname": "demo",
                  "txnid": "7fa6c4783a363b3da573",
                  "firstname": "K",
                  "lastname": "K",
                  "addedon": "2020-10-26 14:12:13",
                  "bank_name": "Credit Card",
                  "payment_gateway": "AXISPG",
                  "phone": "09599736876",
                  "email": "[email protected]",
                  "amount": "10.00",
                  "discount": "0.00",
                  "additional_charges": "0.00",
                  "productinfo": "Test",
                  "error_code": "E000",
                  "bank_ref_no": "721522",
                  "ibibo_code": "CC",
                  "mode": "CC",
                  "ip": "106.202.49.52",
                  "card_no": "512345XXXXXX2346",
                  "cardtype": "domestic",
                  "offer_key": "",
                  "field2": "177047",
                  "udf1": "",
                  "pg_mid": null,
                  "offer_type": null,
                  "failure_reason": null,
                  "mer_service_fee": "0.00",
                  "mer_service_tax": "0.00"
            }
      ]
}

Failure scenarios

  • If no transactions found, the response is similar to the following:
{
      "status": 1,
      "msg": "Transaction Fetched Successfully",
      "Transaction_details": []
}
  • If invalid date is specified, the response is similar to the following:

If invalid date is specified

{
      "status": 0,
      "msg": "Invalid Date Entered. Date format should be yyyy-mm-dd hh:mm:ss"
}

Sample Response for Check Refund Status API

Success Scenario

if successfully fetched

{
      "status": 1,
      "msg": "1 out of 1 Transactions Fetched Successfully",
      "transaction_details": {
            "131278422": {
                  "131278422": {
                        "mihpayid": "403993715521937565",
                        "bank_ref_num": "527013524405",
                        "request_id": "131278422",
                        "amt": "10.00",
                        "mode": "CC",
                        "action": "refund",
                        "token": "20201105secrettokenatur",
                        "status": "success",
                        "bank_arn": null,
                        "settlement_id": null,
                        "amount_settled": null,
                        "UTR_no": null,
                        "value_date": null,
                        "refund_mode": "Back to Source"
                  }
            }
      }
}

Failure Scenarios

  • If mihpayid is not found, the response is similar to the following:
{
      "status": 0,
      "msg": "0 out of 1 Transactions Fetched Successfully",
      "transaction_details": {
            "13127842": "No action status found"
      }
}
  • If mihpayid is missing, the response is similar to the following:
{
      "status": 0,
      "msg": "Parameter missing"
}

Sample response for Get All Refunds for a Transaction ID API

  • If successfully fetched, the response is similar to the following:
{
      "status": 1,
      "msg": "Refunds fetched successfully.",
      "Refund Details": {
            "403993715521937565": [
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278422",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 01:23:19",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 01:24:04"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278430",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 01:29:13",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 01:30:08"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278458",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 01:47:36",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 01:49:04"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278471",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 01:53:28",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 01:55:05"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278484",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 01:58:32",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 02:00:09"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278499",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 02:05:42",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 02:07:04"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131278515",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-05 02:15:11",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2020-11-05 02:16:03"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131287648",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-06 19:21:32",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2021-01-28 10:25:17"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131295795",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-09 18:59:45",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2021-02-10 01:01:14"
                  },
                  {
                        "PayuID": "403993715521937565",
                        "RequestID": "131297379",
                        "RefundToken": "20201105secrettokenatur",
                        "PaymentGateway": "AXISPG",
                        "Amount": "10.00",
                        "Status": "success",
                        "RefundCreationDate": "2020-11-10 09:39:33",
                        "bank_ref_no": "527013524405",
                        "bank_arn": null,
                        "success_at": "2021-02-01 15:50:25"
                  }
            ]
      }
}
  • If no refunds, the response is similar to the following:
{
  "status": 1,
  "msg": "No Refunds Found for the transaction."
}