Only one amount is allowed for selling and buying amounts.
Request
Body Params application/json
{
"sell_currency": "EUR",
"buy_currency": "EUR",
"sell_amount": 0,
"buy_amount": 0
}
Request Code Samples
curl --location 'http://prod-cn.your-api-server.com/api/v2/fx/conversion/preorder' \
--header 'X-Merch-Id: M24061911365700670' \
--header 'Content-Type: application/json' \
--data '{
"sell_currency": "EUR",
"buy_currency": "EUR",
"sell_amount": 0,
"buy_amount": 0
}'
Responses
application/json
{
"order_no": "string",
"sell_currency": "string",
"buy_currency": "string",
"sell_amount": 0,
"buy_amount": 0,
"fx_rate": 0,
"expire_at": "2024-12-03T23:33:33Z"
}
Modified at 2026-04-16 08:40:07