Payment Web API
Search
K

Query Exchange Rate API (Common)

For all the payment types

Query Exchange Rate API

☑️
Request Message Parameters
Params Name
Description
Required
Notes
action
Action name
Y
EX_RATE_QUERY
version
Version number
Y
1.0
merchant_id
Merchant ID
Y
data
encrypted data
Y
Refer to "Data" below
md5
Message digest
Y

Data(JSON Data, to be encrypted):

Params Name
Description
Required
Notes
fee_type
Currency type
Y
According to ISO-4217 standard
☑️
Response Message Parameters
Params Name
Description
Required
Notes
rsp_code
Response code
Y
Refer to Appendix B
rsp_msg
Response message
Y
data
encrypted data
Y
Refer to "Data" below
md5
Message digest
Y

Data(JSON Data, to be encrypted):

Params Name
Description
Required
Notes
feeType
Currency type
Y
According to ISO-4217 standard
rate
Exchange rate to CNY
Y
If rate = 6.5,number is 650000000, ten power of 8
rateTime
rate setting time
Y
string, timestamp