Skip to main content
Returns every virtual account your business has created — permanent, permanent_collection, and single-use accounts together.

Endpoint

Headers

string
required
Your public API key.
string
required
Your API secret. Use a stl_test_... value in sandbox, stl_live_... in production.
string
required
Your business ID.

Query parameters

integer
Page number. Defaults to 1.
integer
Records per page. Defaults to 10.
string
Filter to the account created with this reference (or refCode, for single-use accounts).
string
Filter to a specific NUBAN account number.
string
ISO 8601 date — only include accounts created on or after this date.
string
ISO 8601 date — only include accounts created on or before this date.
See Pagination for full usage — this endpoint uses Shape B.

Response

boolean
true on success.
string
Human-readable outcome.
array
Array of virtual account objects.
string
Unique ID for this virtual account. Use this with Get virtual account by ID.
string
The reference (or refCode) supplied when this account was created.
string
The unique reference Interstellas generated for this account.
string
The name on the account.
string
The NUBAN account number.
string
The BVN associated with this account, if one was set at creation.
string
The business this account belongs to.
string
ISO 8601 timestamp of when the account was created.
integer
The current page number.
integer
The page size used for this response.
integer
Total number of accounts matching the current query, across all pages.
integer
The final page number, derived from total ÷ limit.

Code examples

Example response

Errors

See Errors for the full envelope and error code reference.