Query Support Currency Pairs
Query support currency pairs
Request URL
POST /remittance/exchange/query-currency-pairs
Request Body
Refer to : common
Biz_data
Name
Type
Description
partner_id*
string
Partner ID
merchant_Id
long
Merchant ID
Response
{
"code": "10000",
"msg": "Success",
"data":[
{
"buy_currency": "USD",
"sell_currency": "MXN"
},
{
"buy_currency": "MXN",
"sell_currency": "USD"
}
],
"random_key":"abssdddd2wdw==",
"sign_type": "RSA",
"app_id": "2017051914172236111"
}{
"code": "40002",
"msg": "Business Failed",
"sub_code": "invalid-signature",
"sub_msg": "invalid signature"
}Name
Type
Description
buy_currency
string
Buy Currency
sell_currency
string
Sell Currency
Example
Note: 162************38 is pagsmile's test app id for sandbox
Please use your own app_id when testing.
Last updated
Was this helpful?