Query Quote
Query Quote
Request URL
POST /remittance/exchange/query-quote
Request Body
Refer to : common
Biz_data
Name
Type
Description
merchant_id*
long
Merchant id
sell_currency*
string
Sell Currency
buy_currency*
string
Buy Currency
tx_amount
string
Transaction amount
is_for_trading
boolean
Default: false
Set is_for_trading to true if you are using the quote for trading
Response
{
"code": "10000",
"msg": "Success",
"data":{
},
"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
merchant_id*
long
Merchant Id
quote_id
long
Quote Id
sell_currency*
string
Sell Currency
buy_currency*
string
Buy Currency
conversion_rate*
string
Conversion rate
sell_amount*
string
Sell Amount
buy_amount*
string
Buy Amount
is_for_trading
boolean
Is For Trading
expired_at
long
Expired At
Timestamp
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?