List accounts
Query Parameters
string^\d+$
Maximum number of resources to return, between 1 and 100.
string
A cursor for use in pagination.
The cursor that points to the starting item of the next page of results. If not provided, the first page of results is returned.
string^[a-zA-Z0-9_]{3,}$
Filter accounts based on name (case insensitive). The value can appear at the beggining, middle or end on the actual account name.
Returns
booleanrequired
Whether or not there are more elements available after this set.
If false, this set comprises the end of the array.
Part of a paginated response.
stringrequired
The cursor value to be used as the after parameter for fetching the next page of results.
null
if has_more
is false
.
array of objectrequired
An array of Account objects
Part of a paginated response.
curl 'https://api.lune.co/v1/accounts' \
-H 'Authorization: Bearer <API_KEY>'
{
"has_more": true,
"next_cursor": "next_cursor",
"data": [
{
"id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
"name": "ACME",
"beneficiary": "ACME Inc",
"currency": "USD",
"type": "live",
"organisation_id": "VndoQ0PZjGMzvYOZGwqy6kbgN1eOJx9B",
"logo": null,
"bundle_portfolio_id": null
}
]
}