Get loyalty accounts
Get loyalty accounts
Get loyalty accounts
Authorizations
API key passed in the header.
Query Parameters
Unique identifier for the organization to filter by
Unique identifier for the website to filter by
Pagination cursor to start after a specific account ID
Maximum number of accounts to return
x >= 1, x <= 100Wallet address(es) to filter accounts by
User ID(s) to filter accounts by. Pass in null to get a currencys main accounts.
Wallet group identifier to filter accounts by
Order the accounts in ascending or descending order, sorted by amount
"asc" | "desc""desc"Loyalty currency ID(s) to filter accounts by. Accepts a single id or a list.
External identifier for the user group controlled by you
Unique identifier for the user group
External identifier for the user
Pass true to drop accounts belonging to deleted loyalty currencies. Defaults to false, so they are included. Ignored when loyaltyCurrencyId names a currency — a deleted currency returns its accounts either way.
"true" | "false"Response
200
dataarray<object>requiredArray of loyalty accounts
data.idstring<uuid>requiredUnique identifier for the loyalty account
data.amountanyBalance amount in the loyalty account
data.loyaltyCurrencyIdstring<uuid>requiredUnique identifier for the loyalty currency
data.userIdstring<uuid>requiredUnique identifier for the user
data.useranyrequiredUser associated with the loyalty account
data.lockVersionanyVersion number used for optimistic locking
hasNextPagebooleanrequiredIndicates if there is a next page of results
messagestringOptional message