List client accounts
Query Parameters
string^\d+$
Maximum number of resources to return, between 1 and 100.
string
A cursor for use in pagination.
after is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with foo, your subsequent call can include after=foo in order to fetch the next page of the list.
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.
array of objectrequired
An array of Client Account objects
Part of a paginated response.
curl 'https://api.lune.co/v1/accounts/client' \
-H 'Authorization: Bearer <API_KEY>'
{
"has_more": true,
"data": [
{
"id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
"name": "ACME",
"beneficiary": "ACME Inc",
"currency": "USD",
"type": "live",
"organisation_id": "VndoQ0PZjGMzvYOZGwqy6kbgN1eOJx9B",
"logo": null,
"bundle_portfolio_id": null
}
]
}