List virtual accounts
Lists the bank details a payer uses to pay you, or one of your customers, in a fiat currency. Bank details only: no wallet and no balance.
Accounts are grouped by currency, then by purpose, oldest first within each group. Only active, long-lived accounts are listed, and only the one Ryno exposes on each wallet, so at most one per currency and purpose: standby accounts are never listed, so every account returned is one a payer can be given. A crypto or unknown currency returns an empty list, not an error.
Query
customerIduuidqueryWhose bank details to list: a customer you onboarded. Omit it for your own.
A customer that does not exist or is not under your partner account is 404 partner.sub_customer_not_found. A suspended or closed customer is still listed.
currencystringqueryOnly this currency, for example NGN. Case does not matter. Omit it for every currency.
Response
valueobject[]One entry per virtual account. Empty when there are none.
Errors
| Code | HTTP | Meaning |
|---|---|---|
Request.Invalid | 400 | customerId is not a uuid. |
Auth.Unauthorized | 401 | The token is missing or invalid. |
Auth.Forbidden | 403 | The token is not a partner credential, or lacks partner.read. |
partner.profile_not_active | 403 | Your partner account is not active. Contact support. |
partner.profile_not_found | 404 | Your partner account could not be found. Contact support. |
partner.sub_customer_not_found | 404 | customerId does not exist or is not under your partner account. |
The 401, 429 and 503 responses from the API gateway use a different body. See Errors.