Skip to main content
Search and list virtual accounts associated with your platform. You can narrow results using exact-match filters on account name or account number, a free-text partial search across both fields, or by filtering to a specific end user or product. Results are returned in pages; use the page and limit parameters to navigate large result sets.

Endpoint

Required scope: com.diameterpay.api/accounts.read

Request Headers

string
required
Bearer token obtained from your OAuth 2.0 token endpoint. Format: Bearer {access_token}

Query Parameters

integer
The page number to retrieve, starting from 1. Defaults to 1.
integer
The number of accounts to return per page. Defaults to 10. Maximum is 100.
string
Exact-match filter on the account name. Returns only accounts whose accountName equals this value exactly.
string
Exact-match filter on the account number. Returns only accounts whose accountNumber equals this value exactly.
Partial-match search across both accountName and accountNumber. Useful for lookahead search UIs. Cannot be combined with accountName or accountNumber filters.
string
Filter results to accounts belonging to this end-user UUID.
string
Filter results to accounts associated with this product UUID.
boolean
When true, each account object in the response includes the endUserName field resolved from the associated end user record. Defaults to false.

Response Fields

array
Array of account objects matching the query. Each object has the same shape as the Get Account response.
integer
Total number of accounts matching the query across all pages.
integer
The current page number.
integer
The number of results per page as requested.

Example Request

Fetch the first page of accounts for a specific end user:
Free-text search across account name and number:

Example Response