Notification
The notification message will be sent to your Notification URL using POST protocol whenever payment status is changed.
{
"statusCode": 200,
"errorMsg": "",
"idempotencyKey": "idempotency-key",
"targetName": "Test Name",
"targetDocument": "0000000",
"targetBankCode": "0001",
"targetBankAccountId": "12312312312",
"amountInCents": 100000,
"currency": "CLP",
"createTime": "2022-12-07 09:33:15 GMT+00:00",
"finalStatusTime": "2022-12-07 09:53:15 GMT+00:00",
"transferStatus": "SETTLED",
"transferStatusCode": 200,
"transferErrorMsg": "",
"subMerchantId": "UUID"
}
Parameters
Parameter | Type | Description |
---|---|---|
statusCode | Integer | 200 Success |
errorMsg | String | Error message if failed |
idempotencyKey | String | Unique key to ensure idempotent requests |
targetName | String | Target account holder full name |
targetDocument | String | Target account holder identity, RUT |
targetBankCode | String | Target Bank Code. |
targetBankAccountId | String | Target Bank Account Id. |
amountInCents | Long | The transfer amount. note: 100 = 1CLP |
currency | String | The currency code of the transferred fund. enum value as CLP |
createTime | String | Payment record create time |
finalStatusTime | String | 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 |