Forex API

The Forex API allows you to retrieve the currency exchange rate used in conversions for multi-currency transactions. The rate used is real time, and is approximately 2-4% above the daily mid-market rate.

Attribute

Name Type Description
object string

The string forex.

location string

API path to retrieve the current forex object.

from string

The "from" currency as its lower-cased international 3-letter code, defined by the ISO 4217 standard.

rate Float

The rate for the conversion.

to string

The "to" currency as its lower-cased international 3-letter code, defined by the ISO 4217 standard.

Example

  • Json Response

Retrieve the forex

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

Returns a forex object.

Example

  • Retrieve the forex