Payouts
Look up who holds a wallet or bank account
Ask whether a wallet or bank account can be paid, and whose it is. With an API key, needs the `payouts:write` scope, and a live key must call from an address on the business's API IP allowlist. Moves no money. Uganda (`UG`) today, for MTN and Airtel wallets and for every bank in `GET /payout-banks?country_code=UG`. Lookups are limited per business per hour: each one returns a person's name. **Test keys never reach a network or bank.** The destination is checked exactly as live, and the answer is simulated: `valid: true` and the name `TEST ACCOUNT HOLDER`, or `valid: false` for an account number or a wallet number ending in `0000`, so both branches can be exercised.
Before you call this endpoint
- An API key needs the
payouts:writescope. - A live key needs an IP allowlist on your business, and must call from an address on it. Until the list exists, a live key with payouts:write is refused everywhere (403 IP_NOT_ALLOWED).
- Uganda only today. Lookups are limited per business, per hour.
- Guide: Account lookups
Ask whether a wallet or bank account can be paid, and whose it is.
With an API key, needs the payouts:write scope, and a live key must call
from an address on the business's API IP allowlist.
Moves no money. Uganda (UG) today, for MTN and Airtel wallets and for
every bank in GET /payout-banks?country_code=UG. Lookups are limited per
business per hour: each one returns a person's name.
Test keys never reach a network or bank. The destination is checked
exactly as live, and the answer is simulated: valid: true and the name
TEST ACCOUNT HOLDER, or valid: false for an account number or a
wallet number ending in 0000, so both branches can be exercised.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/b/v1/account-lookups" \ -H "Content-Type: application/json" \ -d '{ "country_code": "st", "method": "bank" }'{ "valid": true, "account_name": "JANE DOE", "country_code": "string", "method": "string", "network": "MTN", "phone_number": "256772123456", "bank_code": "string", "bank_name": "string", "bank_swift": "string", "account_number": "string", "message": "We couldn't find that account."}List the banks a payout can reach
Every bank a `bank` payout can be sent to in `country_code`. In Rwanda that is the banks and microfinance institutions we can credit; in Uganda, the banks reachable by bank transfer. MTN and Airtel wallets are not in either list, because a wallet is paid as `mobile_money`, by phone number and network. Commercial banks come first, then by name. With an API key, needs the `payouts:read` scope.
Balances this business holds, per currency
Per currency, from the ledger. Readable by anybody who can see the business, and by an API key with the `balances:read` scope. **Live keys only**: these are live balances, there is no test-mode ledger, and a test key is never shown live money - it gets `401 WRONG_KEY_MODE`.