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
Request
- Base URLhttps://api.breet.io/v1
- AuthAPI key in header x-app-id and API key in header x-app-secret and API key in header X-Breet-Env
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"amount": 50000,
"withdrawalAddressId": "6932dc98c2ceccdea367388a"
}Response
Conversion (and optional withdrawal) completed successfully
Changes
No recorded changes to this operation across all 3 revisions of this API.