batchRateQuery
Use this interface to create a foreign exchange rate query request by providing the merchant's contracted foreign exchange quotation product code and the acquiring product code to batch retrieve the complete foreign exchange transaction information provided by Antom.
Request parameters
acquirePdCode String
The product code for acquire scenario contracted by the merchant.
If the merchant does not specify, all signed product codes in the contract will be returned. The valid values include:
-
CASHIER_PAYMENT: Indicates that the merchant's signing and acquiring product is a cashier acquiring product. -
AGREEMENT_PAYMENT: Indicates that the merchant's signing and acquiring product is a collection acquiring product.
More information:
- Maximum length: 64 characters
Response parameters
result Object REQUIRED
The result of the API call.
rateSheetList Array<MultiGradeRateSheet> REQUIRED
Ratesheet list.
Request
Response
Result/Error codes
| Code | Value | Message | Further action |
|---|---|---|---|
| SUCCESS | S | Success. | |
| 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 troubleshoot the issue. |
| UNKNOWN_EXCEPTION | U | An API call has failed, which is caused by unknown reasons. | Call the interface again to resolve the issue. If not resolved, contact Antom Technical Support. |
| PARAM_ILLEGAL | F | The required parameters are not passed, or illegal parameters exist. For example, a non-numeric input, an invalid date, or the length and type of the parameter are wrong. | Check and verify whether the required request fields (including the header fields and body fields) of the current API are correctly passed and valid. |
| NO_AVAILABLE_QUOTE | F | No quotes available. | Contact Antom Technical Support for detailed reasons. |
| OPERATION_CONFIG_ERROR | F | Operation configuration abnormal. | Contact Antom Technical Support for detailed reasons. |