Use the Forex API to access Checkout.com's foreign exchange (FX) services.
Forex Operations
Use the Forex API to access Checkout.com's foreign exchange (FX) services.
The Checkout.com Forex product you want to get rates for.
The scheme that provided the FX rates.
If product is daily_acquiring, this field is not required.
Unauthorized
Forbidden
Too Many Requests / Duplicate Requests
Bad Gateway
curl 'https://{prefix}.api.sandbox.checkout.com/forex/rates?product=card_payouts&source=visa¤cy_pairs=USDGBP%2CEURNOK%2CJPYCAD&processing_channel_id=pc_vxt6yftthv4e5flqak6w2i7rim' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"product": "card_payouts",
"source": "visa",
"rates": [
{
"exchange_rate": 1.14208777,
"currency_pair": "GBPEUR"
},
{
"exchange_rate": 0.83708142,
"currency_pair": "USDGBP"
}
],
"invalid_currency_pairs": [
"XXXAAA"
]
}