Get the indicative foreign exchange (FX) rates that Checkout.com uses to process payments for the following products:
Note: Ensure that you have the relevant product enabled for your account. Otherwise, you receive a
403 Forbiddenerror response.
| product required | string (ForexProduct) The Checkout.com Forex product you want to get rates for. Example: product=card_payouts |
| source required | string (ForexSource) The scheme that provided the FX rates. Example: source=visa |
| currency_pairs required | string The list of currency pairs you want to get the rates for. Example: currency_pairs=GBPEUR,USDNOK,JPNCAD |
| processing_channel_id required | string (ForexProcessingChannelId) ^(pc)_(\w{26})$ The processing channel's unique identifier. Example: processing_channel_id=pc_vxt6yftthv4e5flqak6w2i7rim |
Rates retrieved successfully
Unauthorized
Forbidden
Unprocessable Content
Too Many Requests / Duplicate Requests
Bad Gateway
{- "product": "card_payouts",
- "source": "visa",
- "rates": [
- {
- "exchange_rate": 1.14208777,
- "currency_pair": "GBPEUR"
}, - {
- "exchange_rate": 0.83708142,
- "currency_pair": "USDGBP"
}
], - "invalid_currency_pairs": [
- "XXXAAA"
]
}