Sandbox helpers
Top up sandbox balance
Credits the business's Payout wallet, or its Fee or Collection wallet with walletType: FEE or DEPOSIT, with the specified amount and currency. This endpoint is only available in the sandbox environment and will return a 403 Forbidden response in production. Use it during integration development to top up your test balance without making real transfers.
post/api/v1/org/balance/topup
Request
- Base URLhttps://sandbox.api.afriex.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"amount": 500,
"currency": "USD"
}Response
Balance successfully topped up. Returns the created transaction record.
Example response
{
"data": {
"meta": {
"failureReason": {
"code": "AFX_VELOCITY_LIMIT_EXCEEDED"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.