curl --request POST \
--url https://api.breet.io/v1/payments/fiat-to-usd \
--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": 50000
}
'{
"message": "conversion completed",
"success": true,
"data": {},
"meta": {},
"summary": {},
"stats": {}
}Conversion
Convert Fiat to USD
Convert local fiat (NGN or GHS) balance to USD. Optionally provide a withdrawal address ID to automatically withdraw the converted USD to that address.
POST
/
payments
/
fiat-to-usd
curl --request POST \
--url https://api.breet.io/v1/payments/fiat-to-usd \
--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": 50000
}
'{
"message": "conversion completed",
"success": true,
"data": {},
"meta": {},
"summary": {},
"stats": {}
}Authorizations
Body
application/json
Response
Conversion (and optional withdrawal) completed successfully
Was this page helpful?