Skip to main content

List client accounts

Query Parameters
limitstring^\d+$

Maximum number of resources to return, between 1 and 100.


afterstring

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.


namestring^[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
has_morebooleanrequired

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.


dataarray of objectrequired

An array of Client Account objects

Part of a paginated response.

  • GET /accounts/client
  • curl 'https://api.lune.co/v1/accounts/client' \
      -H 'Authorization: Bearer <API_KEY>'
  • Response
  • {
      "has_more": true,
      "data": [
        {
          "id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
          "name": "ACME",
          "beneficiary": "ACME Inc",
          "currency": "USD",
          "type": "live",
          "organisation_id": "VndoQ0PZjGMzvYOZGwqy6kbgN1eOJx9B",
          "logo": null,
          "bundle_portfolio_id": null
        }
      ]
    }