Success
[CURRENCY] => INR,
[GATEWAYNAME] => IICP,
[RESPMSG] => Txn Success,
[BANKNAME] => State Bank of India,
[feeRateFactors] => {"internationalCardPayment":"TRUE","dcc":"TRUE"},
[PAYMENTMODE] => DC,
[CUSTID] => Test101,
[MID] => INTEGR7769XXXXXX9383,
[MERC_UNQ_REF] => ,
[RESPCODE] => 01,
[TXNID] => 202005081112128XXXXXX68470101509706,
[TXNAMOUNT] => 1.00,
[baseCurrency] => INR,
[dccPaymentDetail] => {"dccId":"41XXXX72","amountPerUnitForeignAmount":"0.01","foreignCurrencyCode":"USD","foreignCurrencySymbol":"$","foreignPayableAmount":"0.01","foreignPaymentAmount":"0.01","foreignMarkupAmount":"0.46","foreignMarkupRatePercentage":"0.5","expirationTimestamp":"2021-02-12T18:48:03.733 05:30","exchangeRateSourceName":"MOCK","isoForeignCurrencyCode":"840","dccOffered":"true","foreignCurrencyName":"Dollar"},
[internationalCardPayment] => true,
[ORDERID] => ORDERID_98765,
[STATUS] => TXN_SUCCESS,
[BANKTXNID] => 77700XXXXX71013,
[TXNDATETIME] => 2021-02-12 18:44:39.0,
[TXNDATE] => 2021-02-12
Failure
[CURRENCY] => INR
[GATEWAYNAME] => IICP
[cardScheme] => MASTER
[RESPMSG] => Payment declined by your bank as the OTP/Password verification falied. Please try again by entering the correct values.
[BANKNAME] => State Bank of India
[BIN] => 555554
[PAYMENTMODE] => DC
[CUSTID] => Test101
[LASTFOURDIGITS] => 1397
[MID] => INTEGR7769XXXXXX9383
[MERC_UNQ_REF] =>
[RESPCODE] => 227
[TXNID] => 202005081112128XXXXXX68470101509706
[TXNAMOUNT] => 1.00
[ORDERID] => ORDERID_98765
[STATUS] => TXN_FAILURE
[dccPaymentDetail] => {"dccId":"41XXXX72","amountPerUnitForeignAmount":"0.01","foreignCurrencyCode":"USD","foreignCurrencySymbol":"$","foreignPayableAmount":"0.01","foreignPaymentAmount":"0.01","foreignMarkupAmount":"0.46","foreignMarkupRatePercentage":"0.5","expirationTimestamp":"2021-02-12T18:48:03.733 05:30","exchangeRateSourceName":"MOCK","isoForeignCurrencyCode":"840","dccOffered":"true","foreignCurrencyName":"Dollar"},
[BANKTXNID] => 16135626799
[TXNDATETIME] => 2021-02-17 17:21:07.0
[TXNDATE] => 2021-02-17
[CHECKSUMHASH] => 6HhhdsTiFjx+jN7FM5ERP5V0aJFMh3vk+q46q1wqsmSs2JslxXaOcXBwbpMXK9YA2XmqWO/Dho0IDQmYCT3haZCh0xeAvDi69Nc8BS817Pk=
Note: All the response codes of the transaction are available here.
The parameters are briefly described below:
Response Attributes
| ATTRIBUTE |
DESCRIPTION |
| ORDERID |
OrderId pased in the request
Example: OREDRID_98765 |
| MID |
Merchant ID passed in the request
Example: INTEGR7769XXXXXX9383 |
| TXNID |
Unique reference number generated at paytm side for each transaction
Example: 202005081112128XXXXXX68470101509706 |
| TXNAMOUNT |
Payment transaction Amount
Example: 1.00 |
| CURRENCY |
Payment currency type
Example: INR |
| PAYMENTMODE |
Payment Mode used in payment
Example: DC |
| TXNDATE |
Transaction Date
Example: 7/24/2020 |
| STATUS |
This parameter indicates the status of API call.
Example:TXN_SUCCESS |
| RESPCODE |
This is the resultCode corresponding to a particular message and is returned to the merchant. It's maximum length is 64. For list of different RESPCODE and RESPMSG please refer to the PDF.
Example: 01 |
| RESPMSG |
This parameter is the result message which contains information about the result.
Example: Txn Success |
| GATEWAYNAME |
Gateway Name used in payment
Example: IICP |
| BANKTXNID |
Unique reference number generated at bank side for each transaction
Example: 77700XXXXX71013 |
| BANKNAME |
Bank Name used in payment
Example: State Bank of India |
|
feeRateFactors
FeeRateFactors
|
The fee factor DCC indicates that DCC fee/commission is applicable for the given international card transaction.
Note: For currency conversion flow only
|
| CUSTID |
Unique reference ID for every customer which is generated by merchant. Special characters allowed in CustId are @, ! ,_ ,$, .
Example: Test101 |
| MERC_UNQ_REF |
Merchant's reference text which is sent in the order's request |
| baseCurrency |
Base currency used for currency conversion and is always INR.
Note: For currency conversion flow only
Example: INR
|
| internationalCardPayment |
Indicates if the transaction was completed using an international card (issued by a non-indian bank)
Note: For currency conversion flow only
Possible Values: true
|
| TXNDATETIME |
Transaction Date and Time
Example: 7/24/2020 15:13:02 |
|
dccPaymentDetail
DccPaymentDetail
|
Details of the payment done through dcc
Note: For currency conversion flow only
|
DccPaymentDetail
| ATTRIBUTE |
DESCRIPTION |
|
dccId
|
There is an ID generated corresponding to each request by the bank.
Example: 41XXXX72
|
| amountPerUnitForeignAmount |
Exchange Rate = FC/INR
Example: 0.01
|
| foreignCurrencyCode |
3 letter currency code corresponding to a currency
Example: USD |
| foreignCurrencySymbol |
Currency symbol corresponding to the selected currency
Example: $ |
| foreignPayableAmount |
Total Amount paid in Foreign Currency (including markup)
Example: 0.01 |
| foreignPaymentAmount |
Total Amount paid in Foreign Currency(excluding markup)
Example:0.01 |
| foreignMarkupAmount |
Markup amount charged by a gateway from the user calculated by PG
Example: 0.46 |
| foreignMarkupRatePercentage |
Markup % charged by a gateway from the user
Example: 0.5 |
| expirationTimestamp |
Standard format timestamp for foreign exchange rate validity.
Example: 2021-02-12T18:48:03.733 05:30 |
| isoForeignCurrencyCode |
3 digit ISO Currency code corresponding to the selected currency
Example: 840 |
| dccOffered |
The flag indicates if the currency conversion option was selected by the customer
Possible Values: true, false
|
| foreignCurrencyName |
Currency name corresponding to the selected currency
Example: Dollar
|
FeeRateFactors
| ATTRIBUTE |
DESCRIPTION |
| internationalCardPayment |
Indicates if the transaction was completed using an international card (issued by a non-indian bank)
Possible Values: TRUE
|
| dcc |
Indicates if the transaction was completed using the dcc flow
Possible Values: TRUE, FALSE
|