Payments
Swap Fiat Currency
Swap fiat balance between NGN and GHS in either direction. The from and to currencies must be different.
post/payments/swap-currency
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": 5000,
"from": "ngn",
"to": "ghs",
"pin": "1234"
}Response
Swap completed successfully
Changes
No recorded changes to this operation across all 3 revisions of this API.