curl --request POST \
--url https://api.breet.io/v1/payments/convert \
--header 'Content-Type: application/json' \
--header 'X-Breet-Env: <api-key>' \
--header 'x-app-id: <api-key>' \
--header 'x-app-secret: <api-key>' \
--data '
{
"amount": 100,
"currency": "ngn"
}
'{
"message": "conversion successful",
"success": true,
"data": {},
"meta": {},
"summary": {},
"stats": {}
}Conversion
Convert USD to Fiat
Convert USD balance to local fiat (NGN or GHS). Optionally specify a saved bank to credit.
POST
/
payments
/
convert
curl --request POST \
--url https://api.breet.io/v1/payments/convert \
--header 'Content-Type: application/json' \
--header 'X-Breet-Env: <api-key>' \
--header 'x-app-id: <api-key>' \
--header 'x-app-secret: <api-key>' \
--data '
{
"amount": 100,
"currency": "ngn"
}
'{
"message": "conversion successful",
"success": true,
"data": {},
"meta": {},
"summary": {},
"stats": {}
}Authorizations
Body
application/json
Response
Conversion completed successfully
Was this page helpful?