This page's content:

Endpoints

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

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

HTTP Method

POST

Response

JSON

The exchange operation is a server-to-server HTTP POST 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 request status (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.