Returns a locked FX quote with a guaranteed rate and expiry time. Use the quote ID when calling the exchange endpoint.
cURL
curl --request POST \ --url https://api.antonpayments.com/v1/fx/quote \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "sell_currency": "GBP", "buy_currency": "EUR", "buy_amount": "<string>", "sell_amount": "<string>" } '
{ "data": { "id": "<string>", "sell_currency": "<string>", "buy_currency": "<string>", "sell_amount": "<string>", "buy_amount": "<string>", "mid_market_rate": "<string>", "customer_rate": "<string>", "inverse_rate": "<string>", "fx_markup_bps": 123, "fx_fee": "<string>", "fx_fee_currency": "<string>", "provider": "<string>", "expires_at": "2023-11-07T05:31:56Z", "locked": true } }
Merchant API key: ak_live_* (production) or ak_test_* (sandbox).
ak_live_*
ak_test_*
"GBP"
"EUR"
Fixed destination amount.
Fixed source amount.
FX quote.
Show child attributes