Notification
The notification message will be sent to your Notification URL using POST protocol whenever payment status is changed.
{
"statusCode": 200,
"errorMsg": "",
"idempotencyKey": "TEST20220829100",
"referenceNumber": "6012968",
"targetName": "usera lastname",
"targetDocument": "24912345678",
"targetBankCode": "706",
"targetBankAccountId": "706180005047305123",
"amount": "100.00",
"amountInCents": 10000,
"currency": "USD",
"paidAmount": 196978,
"paidCurrency": "MXN",
"exchangeRate": 19.6978,
"paidTax": 0,
"createTime": "2022-08-29 01:02:06 GMT-07:00",
"finalStatusTime": "2022-08-29 01:02:20 GMT-07:00",
"transferStatus": "IN_PROGRESS",
"transferStatusCode": 200,
"transferErrorMsg": "",
"subMerchantId": "UUID",
"transactionDetail": {
"trackingId": "4d8fa6ee-2fe0-4c27-a5c5-587eefc9eac3",
"referenceNumber": "9322872"
}
}
Parameters
Parameter |
Type |
Description |
statusCode |
Integer |
200 Success |
errorMsg |
String |
error message if failed |
idempotencyKey |
String |
Unique key to ensure idempotent requests |
referenceNumber |
String |
DEPRECATED.Reference number for the payment.Please use referenceNumber in transactionDetail |
targetName |
String |
Target account holder full name or account holder first name if targetLastName has been set. |
targetDocument |
String |
Optional. Target account holder identity |
targetBankCode |
String |
Optional. Target bank code |
targetBankAccountId |
String |
Target bank account id. For SPEI, CLABEL number |
amount |
String |
DEPRECATED. The transfer amount. note: 1 = 1MXN. Please use amountInCents instead |
amountInCents |
Long |
The transfer amount. note: 100 = 1MXN/1USD |
currency |
String |
The currency code of the transferred fund. enum value as MXN, USD |
paidAmount |
Long |
Null if input currency was MXN. The amount that beneficiary get paid in paidCurrency |
paidCurrency |
String |
Null if input currency was MXN. The currency used to paid for beneficiary, MXN |
exchangeRate |
Double |
Null if input currency was MXN. Exchange rate for payment if currency was not MXN |
paidTax |
Long |
Null if input currency was MXN. Transfer fee for currency conversion |
createTime |
Time |
payment record create time |
finalStatusTime |
Time |
Transfer final status update time, final status include SETTLED, FAILED and REJECTED |
transferStatus |
String |
Transfer status, SETTLED, FAILED and REJECTED, We should use transferStatus to judge the payment status |
transferStatusCode |
Integer |
Transfer status code, TransferErrorCode |
transferErrorMsg |
String |
Transfer error message if failed |
subMerchantId |
String |
The sub merchant ID |
transactionDetail |
JSON |
Transaction receipt information, may be empty if the transaction is rejected |
transactionDetail Parameters
Parameter |
Type |
Description |
trackingId |
String |
The tracking id of the payment,may be empty if the transaction is rejected |
referenceNumber |
String |
The reference number of the payment,may be empty if the transaction is rejected |