inquiryStatementDetail
Use this interface to access detailed information about account statements.
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 meant ns 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
statementId String REQUIRED
The unique ID assigned by Antom to identify a statement record.
More information:
- Maximum length: 64 characters
Response parameters
result Object REQUIRED
Indicates whether this API is called successfully.
statement Array<StatementDetail>
Detail of the statement.
Request
{
"statementId": "20250206190280734007600000*****"
}Response
{
"result": {
"resultCode": "SUCCESS",
"resultMessage": "success",
"resultStatus": "S"
},
"statement": {
"failReason": null,
"combinedTransactionList": [
{
"transactionAmount": {
"cent": -80000,
"currency": "USD",
"currencyValue": "840"
},
"transactionTime": "2025-03-31 15:46:40.000",
"transactionId": "2025033119028005400760000093164",
"transactionType": "CARD_PAYMENT"
}
],
"transactionTime": "2025-03-31 15:46:40.000",
"transactionType": "CARD_REFUND",
"transactionAmount": {
"cent": -80000,
"currency": "USD",
"currencyValue": "840"
},
"accountBalance": {
"cent": 2000925214,
"currency": "USD",
"currencyValue": "840"
},
"transactionId": "2025033119028005400760000093164",
"transactionStatus": "SUCCESS",
"extTransactionId": "20250331190148000000188800200021408",
"foreignExchangeQuote": {
"quotePrice": "1",
"transferFromCurrency": "USD",
"transferToCurrency": "USD"
},
"refundForeignExchangeQuote": null,
"originalTransactionAmount": {
"cent": 80000,
"currency": "USD",
"currencyValue": "840"
},
"feeAmount": {
"cent": 0,
"currency": "USD",
"currencyValue": "840"
},
"netAmount": {
"cent": 80000,
"currency": "USD",
"currencyValue": "840"
},
"receiveAmount": {
"cent": 80000,
"currency": "USD",
"currencyValue": "840"
},
"onOffShore": null,
"fundMoveDetail": {
"payerName": "dsds",
"payerAccountNo": "218811102100065001189417611840",
"payerAccountType": "WORLDFIRST",
"beneficiaryName": "HongKong watermelon technology company",
"beneficiaryAccountNo": "2120120001241295",
"beneficiaryAccountType": "WORLDFIRST",
"beneficiaryBankCountry": "",
"beneficiaryBankName": null,
"beneficiaryStoreName": null,
"beneficiaryMarketplaceName": null,
"remarks": "transfer remark",
"description": "Deduction-HongKong watermelon technology company(2120120001241295)",
"receiveAccount": "2120120015556761",
"beneficiaryChannelAccountNo": null,
"payerChannelAccountNo": null,
"payerAssetId": "asset1234567890abcdef1234567890abcdef",
"beneficiaryAssetId": "asset0987654321abcdef0987654321abcdef",
"memo": "transfer memo",
"referenceTransactionId": "referenceOrderId_123456"
},
"balanceType": "NORMAL_BALANCE",
"statementId": "2025033125001010188761100189111",
"subMerchantName": null
},
"metadata": {
"data1": "data 1",
"data2": "data 2"
}
}Result/Error codes
| Code | Value | Message | Further action |
|---|---|---|---|
| SUCCESS | S | success. | API is successfully called, not resembling order status |
| PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | Check and verify whether the request fields, including the header fields and body fields, are correct and valid. |
| PROCESS_FAIL | F | A general business failure occurred. Do not retry. | Human intervention is usually needed. It is recommended that you contact Antom Technical Support to resolve the issue. |
| UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | The service might be down, retry later. If the issue persists, contact Antom Technical Support. |
| REQUEST_TRAFFIC_EXCEED_LIMIT | U | The request traffic exceeds the limit. | Call the interface again to resolve the issue. If the issue persists, contact Antom Technical Support. |
| OAUTH_FAIL | F | OAuth process failed. | Contact Antom Technical Support for detailed reasons. |
| INVALID_API | F | The called API is invalid or not active. | Check whether the correct API is being called. |
| INVALID_CLIENT | F | The client is invalid. | The Client ID does not exist or is invalid. |
| INVALID_SIGNATURE | F | The signature is invalid. | Make sure the request is properly signed with a valid signature. |
| METHOD_NOT_SUPPORTED | F | The server does not implement the requested HTTP method. | Ensure the HTTP method is POST. |
| USER_NOT_EXIST | F | The user does not exist. | Retry with the correct user information. |
| SYSTEM_ERROR | F | System error. | Do not retry, and contact Antom Technical Support for more details. |
| SERVICE_NOT_ALLOWED | F | Service not allowed | Retry with the correct information. If the issue persists, contact Antom Technical Support. |
| CURRENCY_NOT_SUPPORT | F | The currency is not supported. | Make sure the currency input is correct and try again. |
| CONTRACT_CHECK_FAIL | F | The contract check has failed. | Check the contract status before retrying. |
| AUTHORIZATION_NOT_EXIST | F | The authorization does not exist. | Make sure that the input is correct. If the issue persists, contact Antom Technical Support to verify the authorization status. |
| ACCESS_TOKEN_EXPIRED | F | The access token expired. | Refresh token to get a new access token or contact Antom Technical Support to address it. |
| CARD_INFO_NOT_MATCH | F | The card information does not match. | Retry with the correct card information. |
| ORDER_IS_REVERSED | F | The order is reversed. | Retry with another transfer order. |
| ORDER_IS_CLOSED | F | The order is closed. | Retry with another transfer order. |
| AMOUNT_EXCEED_LIMIT | F | The amount exceeds the limit. | Make sure the amount submitted is correct and retry. |
| RISK_REJECT | F | The transfer is rejected for risk control reasons. | Prompt the user that the request is rejected because the risk control failed. |
| BALANCE_NOT_ENOUGH | F | Balance is not enough. | Make sure the balance is sufficient and retry. |