inquireCardTransactionEvent
This API is used to retrieve card transaction events as a flat list, where each row represents a single event. It is designed for merchants to perform line-by-line verification of card activity, while the task of reconciling posted account balances remains with the statement APIs.
Request parameters
startTime Datetime Â
The start time. Optional lower bound for transactionTime.
Notes:
- If only startTime is provided, query records from startTime onward.
- If omitted, no lower time bound is applied.
PARAM_ILLEGALis returned if invalid date-time, or a value that violates the maximum 100-day range.
More information:
- Maximum length: 32 characters
- The value follows the ISO 8601 standard format. For example, "2019-11-27T12:01:01+08:00".
endTime Datetime Â
The end time. Optional upper bound for transactionTime.
Notes:
- If only endTime is provided, query records up to endTime.
- If omitted, no upper time bound is applied.
PARAM_ILLEGALis returned if invalid date-time, or a value that violates the maximum 100-day range.
More information:
- Maximum length: 32 characters
- The value follows the ISO 8601 standard format. For example, "2019-11-27T12:01:01+08:00".
assetIdList Array<String> Â
Pass this parameter to filter the list by card asset IDs.
Maximum size: 20, each ≤ 32
Note: If omitted, this parameter displays all card asset IDs.
More information:
- Maximum length: 32 characters
- Maximum size: 20 elements
eventIdList Array<String> Â
Pass in this parameter to filter the list by specific events.
Maximum size: 20, each ≤ 64
Note: If omitted, this parameter displays all event IDs.
lifecycleIdList Array<String> Â
Pass in this parameter to filter the list by spend-group IDs.
Maximum size: 20, each ≤ 64
Note: If omitted, this parameter displays all lifecycle IDs.
transactionCurrencyList Array<String> Â
The order currency. The value is a 3-letter currency code that follows the ISO 4217 standard.
Maximum size: 20, each = 3
Notes:
- If omitted, this parameter displays all currencies.
PARAM_ILLEGALis returned if more than 20 elements, or an element that is not a supported three-letter ISO 4217 code.
eventTypeList Array<String> Â
Event types. Valid values are:
AUTH: Authorization event. In the current flow, a successful authorization also performs the billing deduction.AUTH_CANCEL: Authorization released/reversed before capture.CAPTURE: Capture or clearing confirmation. Its corresponding authorization event already handled the billing deduction, so capture does not move the amount again.REFUND: Funds returned to the card.CHARGEBACK: Disputed amount reversed off the spend.REPAYMENT: A card payment for a previous order that was initially paid using the Antom fund account.
Notes:
- If omitted, this parameter displays all event types.
PARAM_ILLEGALis returned if more than 6 elements, or an unrecognized value.
More information:
- Maximum size: 6 elements
statusList Array<String> Â
Event status. Valid values are:
SUCCESS: Event completed successfully.FAIL: Event did not complete (declined or errored).PROCESSING: The event is in progress.
Notes:
- If omitted, this parameter displays all statuses.
PARAM_ILLEGALis returned if more than three elements, or an unrecognized value.- A successful cancellation is defined by the value of statusList being
SUCCESS(as conveyed in the event payload when the value of eventTypeList isAUTH_CANCEL, not via an event where the value of statusList isFAIL).
More information:
- Maximum size: 3 elements
pageSize Integer  REQUIRED
Items per page.
Note: There is no default value for this parameter. PARAM_ILLEGAL is returned if missing, empty, or out of range.
More information:
- Value range: [1, 100]
pageNumber Integer  REQUIRED
One-based page number.
Note: There is no default value for this parameter. PARAM_ILLEGAL is returned if missing, empty, or out of range.
More information:
- Value range: [1, 10000]
Response parameters
result Result  REQUIRED
The result of the API call.
events Array<Event> Â
Card transaction events.
Notes:
- This parameter is returned only when the value of resultStatus is
S. - This parameter returns an empty array when the query does not have a match.
- Mandatory child parameters are present for every returned item.
More information:
- Maximum size: 100 elements
totalCount Integer Â
Total number of matching records when the request is processed.
Notes:
- This parameter is returned when the value of resultStatus is
S. - This value is
0if no records match.
More information:
- Value range: [0, +∞)
totalPageNumber Integer Â
Total number of pages, calculated as ​ceil(totalCount / pageSize)​.
Notes:
- This parameter is returned when the value of resultStatus is
S. - This value is
0if no records match.
More information:
- Value range: [0, +∞)
currentPageNumber Integer Â
Current 1-based page number, matching the requested pageNumber.
Note: This parameter is returned when the value of resultStatus is S.
More information:
- Value range: [1, 10000]
Request
Response
Failure Reason Code
Result/Error codes
| Code | Value | Message | Further action |
|---|---|---|---|
| SUCCESS | S | Success | No further action is needed. |
| PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | Check and verify whether the request parameters, including the header parameters and body parameters, are correct and valid. For details on the parameters of each API, see the specific API Structure section. |
| ACCESS_TOKEN_EXPIRED | F | The access token expired. | Refresh token to get a new access token or contact our Technical Support Team to address it. |
| UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | The service might be down, retry later. If the issue persists, contact our Technical Support Team. |
| 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 Team to resolve the issue. |
| CONTRACT_NOT_EXIST | F | The contract check has failed. | Ensure the Partner has already signed a contract and the input is correct. |
| USER_NOT_EXIST | F | The user does not exist. | Retry with the correct user information. |