Forex API

Attribute

Name Type Description
object string

The string forex.

from string

The CURRENCY as its lower-cased international 3-letter code, defined by the ISO 4217 standard. #Supported Currencies

to string

Funding currency as its lower-cased international 3-letter code, defined by the ISO 4217 standard. #Supported Currencies

rate Float

The rate as its converted at a rate approximately 2-4% above the daily mid-market rate.

location string

Path to retrieve the forex.

Example

  • Json Response

Retrieve the forex

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

The Forex API retrieves the currency exchange rate used in conversions for multi-currency transactions. The rate used is real time, and is approximatly 2-4% above the daily mid-market rate.

Example

  • Retrieve the forex