PayZuDocs

Converts an amount given in BRL cents to the target currency, using the bid or ask rate.

GEThttps://api.payzu.io/v1/currencies/{code}/convert
GET
/currencies/{code}/convert

Path Params

ISO 4217 currency code. BRL is not accepted.

Query Params

Amount in BRL cents. Minimum 100 (R$1.00).

bid ask

Responses

curl -X GET "https://api.payzu.io/v1/currencies/USD/convert?amount=100&type=string" \  -H "Authorization: Bearer {{token}}"
200
{
"amount": 1841.62,
}