提供国际汇率服务
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
checkout_exchange_request | CheckoutExchangeRequest | 可选 | 系统自动生成 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressPaymentExchangeGetRequest req = new AliexpressPaymentExchangeGetRequest(); AliexpressPaymentExchangeGetRequest.CheckoutExchangeRequest obj1 = new AliexpressPaymentExchangeGetRequest.CheckoutExchangeRequest(); obj1.setBaseCurrency( "USD" ); obj1.setQuoteCurrency( "EUR" ); req.setCheckoutExchangeRequest(obj1); AliexpressPaymentExchangeGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | < aliexpress_payment_exchange_get_response > < result > < not_success >false</ not_success > < success >true</ success > < module > < quote_currency >EUR</ quote_currency > < inst_exchange_rate_no >202005041908887</ inst_exchange_rate_no > < expire_time >1588734000000</ expire_time > < threshold_time >1588734000000</ threshold_time > < rate >0.9302</ rate > < tradable >true</ tradable > < valid_time >1588647600000</ valid_time > < base_currency >USD</ base_currency > < exchange_rate_no >11728c34-6f52-43d5-bf95-31c33436e3e9</ exchange_rate_no > </ module > < error_code > < display_message >param error</ display_message > < key >PARAM-ERROR</ key > < log_message ></ log_message > </ error_code > < repeated >false</ repeated > < retry >false</ retry > </ result > </ aliexpress_payment_exchange_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|