Antom, leading provider of tailored payment solutions

notifyTransfer

POST /undefined
The notifyTransfer API is used by Antom to send the transfer result to the marketplace.

Structure

A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:
Note: Set the data type of each field (except array) as String. This means that you must use double quotation marks (" ") to enclose the field value. Examples:
  • If the data type of a field is Integer and its value is 20, set it as "20".
  • If the data type of a field is Boolean and its value is true, set it as "true".  

Request parameters

transferResult Result  REQUIRED

Indicates the result of the transfer request.

transferId String  REQUIRED

The unique ID assigned by Antom to identify a transfer. 

More information:

  • Maximum length: 64 characters

transferRequestId String  REQUIRED

The unique ID assigned by Antom to identify a transfer request. 

More information:

  • Maximum length: 64 characters

transferFromDetail TransferFromDetail  

Details of the transfer payer.  

transferToDetail TransferToDetail  REQUIRED

Details of the transfer beneficiary. 

Response parameters

result Result  REQUIRED

A fixed value, which is sent to Antom to acknowledge that the notification is received. 

API Explorer

Request

json
{}

Response

json
{
  "result": {
    "resultCode": "SUCCESS",
    "resultStatus": "S",
    "resultMessage": "Success"
  }
}
Result process logic
Send the following message with fixed values to Antom after receiving the notification, to acknowledge that the notification from Antom is received:
Sample Codetext
{
  "result": {
    "resultCode":"SUCCESS",
    "resultStatus":"S",
    "resultMessage":"success"
  }
}
If no such message is returned to Antom due to operation issues or network issues, Antom will send the notification again and again until the required message is returned by the merchant. Resending of the notification will be performed within 24 hours after the first notification is sent. The notification will be resent up to eight times, with an interval of 0s, 2min, 10min, 10min, 1h, 2h, 6h, and 15h.  

Result/Error codes

CodeValueMessageFurther action
SUCCESSSSuccess
-
PROCESS_FAILFA general business failure occurred. Do not retry.
Human intervention is usually needed. It is recommended that you contact our Technical Support Team to resolve the issue.