Forex API

The Forex API allows you to retrieve the real-time currency exchange rate used in conversions. The rate used is approximately 2-4% above the daily mid-market rate. Endpoint is only accessible if multi-currency transactions are enabled.

Attribute

Name Type Description
object string

The string forex.

location string

API path to retrieve the current forex object.

from string

Base currency for rate request as three-letter ISO 4217 code.

rate Float

Exchange rate (10-minute window). Amount of to needed to buy one from.

to string

Quote currency for rate request as three-letter ISO 4217 code.

Example

  • Json Response

Retrieve the forex

- GET https://api.omise.co/forex/CURRENCY

Returns a forex object.

Example

  • Retrieve the forex