Returns an indicative (non-lockable) FX rate for a currency pair.
cURL
curl --request GET \ --url https://api.antonpayments.com/v1/fx/rate \ --header 'Authorization: Bearer <token>'
{ "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_*
Amount to price. Defaults to 1.
Indicative rate.
Show child attributes