Endpoints

https://api.ebanx.com/ws/exchange

https://sandbox.ebanx.com/ws/exchange

HTTP Method

GET

Response

JSON

This is a server-to-server HTTP GET used by the merchant website to query EBANX for the current exchange rate for a given currency.

Request parameters

integration_key

string, length 100, required

Your unique and secret integration key.

currency_code

string, length 3, ISO 4217

The code of the currency (ISO 4217 3 letter code).

currency_base_code

string, length 3, ISO 4217

The code of the base (target) currency (ISO 4217 3 letter code).

Response parameters

status

string

The status of the the request (SUCCESS or ERROR).

currency_rate.code

string, length 3, ISO 4217

The code of the currency (ISO 4217 three-letter code).

currency_rate.currency_base_code

string, length 3, ISO 4217

The code of the base (target) currency (ISO 4217 3 letter code).

currency_rate.name

string, length 40

The name of the currency.

currency_rate.rate

float

The current exchange rate.