Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'https://api-sandbox.z.inc/api/v1/account/conversion/quote?buy_currency=USD&sell_currency=CNY&buy_amount=10' \
--header 'x-api-version;' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"awx_rate": 7.239377,
"buy_amount": 10,
"buy_currency": "USD",
"client_rate": 7.239377,
"conversion_date": "2024-07-25",
"currency_pair": "USDCNY",
"dealt_currency": "USD",
"mid_rate": 7.21624,
"quote_id": "cc25af33-2795-3276-97ea-bbaf59b563a5",
"rate_details": [
{
"buy_amount": 10,
"level": "CLIENT",
"rate": 7.239377,
"sell_amount": 72.39
}
],
"revenue": [],
"sell_amount": 72.39,
"sell_currency": "CNY",
"settlement_cutoff_time": "2024-07-25T10:10:40+0000"
}
Modified at 2024-07-28 14:52:26