Currency exchange

post
Get exchange rate

https://api.dlocal.com/api_curl/cashout_api/get_exchange_rate
This endpoint returns the exchange rate of the given currency in relation to one dollar (USD).
Request
Response
Request
Body Parameters
login
required
string
Your merchant ID in dLocal platform (length: 32 chars) Example: AsGsd35Grf
pass
required
string
Your merchant password in dLocal platform (length: 32 chars) Example: D23weF2f4g
currency
required
string
Currency to know the exchange rate (Max. 3 chars) Example: BRL
Response
200: OK
Exchange rate OK
{
“status”: 0,
"exchange_rate": 4.1234
}

For fields 'login' & 'pass':

x_login and x_trans_key are your credentials. Remember to find them in the Merchant Panel, under the Integration > Credentials & Settings section.