Run in Apifox
Request Add parameter in header X-API-Key
Example: X-API-Key: ********************
or
Add the parameter Authorization
to Headers Example: Authorization: ********************
or
Body Params application/json Required
{
"requestId" : "FX202605070001" ,
"sellCurrency" : "USD" ,
"buyCurrency" : "CNY" ,
"fixedSide" : "SELL" ,
"amount" : 1000 ,
"settlement" : {
"tenor" : "SPOT"
} ,
"metadata" : {
"remark" : "Payroll FX booking" ,
"tags" : [
"salary" ,
"monthly"
]
}
} Request Code Samples
curl --location 'http://prod-cn.your-api-server.com/api/v1/quotes' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"requestId": "FX202605070001",
"sellCurrency": "USD",
"buyCurrency": "CNY",
"fixedSide": "SELL",
"amount": 1000,
"settlement": {
"tenor": "SPOT"
},
"metadata": {
"remark": "Payroll FX booking",
"tags": [
"salary",
"monthly"
]
}
}' Responses
{
"requestId" : "string" ,
"quoteId" : "string" ,
"status" : "ACTIVE" ,
"sellCurrency" : "string" ,
"buyCurrency" : "string" ,
"fixedSide" : "SELL" ,
"sellAmount" : 0 ,
"buyAmount" : 0 ,
"fxRate" : 0 ,
"valueDate" : "2019-08-24" ,
"expiresAt" : "2019-08-24T14:15:22.123Z" ,
"createdAt" : "2019-08-24T14:15:22.123Z"
} Modified at 2026-06-05 07:31:32