Docs//FX
FX
API specification for Glomo
API Key
Balance
Balance Conversions
Payment Link
Orders
Customer
Payment
Card BIN Lookup
Refund
Price
Dynamic Fee Split
Payment Session
Distributor Link
Scheme NAV
LRS
Subscription
Quote
Payout
Beneficiary V2
Bank Account Validation
Payment Accounts
Document
Internal Transfer
Settlement
Virtual Account
Platform
KYC Link
Investor Journey
RFI
Returns the current mid-market exchange rate for a given currency pair. This is the base rate before any FX fees — FX fees will be charged on top of this rate.
Notes:
- This returns the mid-market rate only. FX fees are charged separately on top of this rate during actual conversions.
- The rate is cached and
expires_atindicates when the cached rate expires.
Security
JWT
- Production serverhttps://api.glomopay.com/api/v1/fx-rate
curl -i -X GET \
'https://api.glomopay.com/api/v1/fx-rate?source_currency=USD&target_currency=EUR' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Mid-market exchange rate, as units of target_currency per one unit of source_currency. 0.859401 with source_currency USD and target_currency EUR means 1 USD = 0.859401 EUR. FX fees are charged on top of this rate. 1 when the two currencies are the same.
Example:0.859401
Response
{ "source_currency": "USD", "target_currency": "EUR", "mid_market_rate": 0.859401, "expires_at": "2026-05-05T08:39:18Z" }