Skip to main content

Overview​

The Withdrawal Quotation API allows users to send a request specifying the target currency, source currency, and quotation type. The API returns the reference exchange rate and the rate timestamp for the requested currency pair.

Quotation​

Query Header Parameters​

View full Request Header Parameters.

cURL -X POST /opc/v1/withdrawal/inquiry
'Content-Type:multipart/form-data',
'Opccount-No:995149',
'Va-Code:9435762187450928365',
'Sign:ckQHqFTsawqHScEhxuovywiXTJMio9F0a62qdh/mIONvwWXzfdNFM4cl/2UN490VER64wmw18wOWsgHH/mKL7L+uu5jRQcLkYbwE5CfQEj6g2jHewa70b2zStZPes4DRrgRwLzK+vqwzdP0jifrRYbrB6qVjS8gD4RyGort/Ju1mfaVjJNgPlUWehDJPWPz5MAU/dRpB6ChX7IwjJm4cV/jUqZvOJMDqMov8H5kMyi7g0Jx7LVHIqx9O3Cjn+k+FASpJNNOnv7m5JjvdJkJYXgMC3pGK+uBc+hfHnc20piuz7KxDeQDtaAY9IXCWkPx8BcQaru1HMQgXmBicS85YkQ==',
'Timestamp:1694482115'

Query Details​

View full Request Parameters.

-d '{
"withdrawalAccountKey": "1742474921142910976",
"billCurrency": "USD",
"billAmount": 100,
"transactionFeesBearingMethods": "BEN",
}'

Response​

  • Use the unique account identifier withdrawalAccountKey to update your withdrawal account information.
{
"msg": "SUCCESS",
"code": "000",
"data": {
"tranCurrency": "USD",
"merchantRate": 1,
"feeCurrency": "USD",
"tranAmount": 100,
"expectedAmount": 95.88,
"actualFee": 4.12,
"baseAmount": 100,
"baseCurrency": "USD",
"withdrawalDetail": {
"expectAmount": 95.88,
"expectCurrency": "USD",
"fee": 4.12,
"feeCurrency": "USD",
"withdrawalCostList": [
{
"feeAmount": 4.12,
"costNameEn": "waibi Fee USD",
"costName": "USD",
"feeCurrency": "USD",
"currency": "USD"
}
]
}
}
}