Get Pool Account
Returns the pool account for the supplied country. Use the
reference on the response to reconcile incoming deposits.
reference returned on this response.
Important: Pool accounts are only active in production and do not work on staging/dev.
How the call works
- Call this endpoint with
country(required). Optionally passcustomerIdto scope the response to a specific end-user. - Afriex returns the pool account (account name, account number, institution) as a
PaymentMethod, along with areference. - Share the account details with your customer so they can pay in. When Afriex receives the inbound funds, it uses the
referenceto attribute the deposit on your account.
The reference field
Every response includes a reference string. Persist it alongside the deposit you expect and use it to reconcile incoming pool deposits.
When you pass a customerId, the response reference matches it, so the deposit can be attributed back to that customer on your side.
Currency is derived from country
Unlike dedicated virtual accounts, this endpoint does not take acurrency parameter. The currency is determined by the country code (for example, NG resolves to NGN). Pool accounts are only available in countries where Afriex operates a pool; an unsupported country code returns a 400.
Related
- List Virtual Accounts for dedicated per-customer accounts.
- Create Virtual Account to mint a new dedicated account.
Authorizations
Static business API key issued from the dashboard. A business can provision multiple API keys, each scoped to a configurable set of permissions (e.g. read transactions, create deposits, etc). Permissions are chosen per key at creation time in the dashboard and may be revoked by deleting the key. Requests made with a key that does not include the permission required by the target endpoint will be rejected with a 403 Forbidden response; an unrecognised, malformed or revoked key returns 401 Unauthorized. Manage your keys and their permissions under Developer → API keys in the dashboard.
Headers
API version in ISO 8601 format (e.g. 2025-12-28). Defaults to latest stable.
Query Parameters
ISO 3166-1 alpha-2 country code.
"NG"
Optional customer ID to associate with this account.
Optional positive amount. Accepted but ignored.
Optional merchant-supplied reference. Accepted but ignored.
Response
Pool account returned successfully.
A payment method. Empty fields are omitted. Account-shaped channels (BANK_ACCOUNT, MOBILE_MONEY, SWIFT, etc.) populate accountName, accountNumber, and institution; the CARD channel instead populates last4, brand, expiration, and cardName.
