---
title: "Get Wallet Accounts by Identity Value"
method: GET
path: "/wallet/accounts"
tags: ["Accounts"]
---

# Get Wallet Accounts by Identity Value

`GET /wallet/accounts`

This API method allows the calling application to retrieve a list of Wallet Accounts, for a Wallet identified by Wallet Identity Value.

## Query parameters

- `include` string[]
- `identity-value` string, string, required
- `state[]` string, string
- `status[]` string, string
- `type[]` 'ECOUPON' | 'VOUCHER' | 'STAMP_CARD' | 'PAPER' | 'DEBIT' | 'PLASTIC' | 'POINTS' | 'STANDARD_SUBSCRIPTION' | 'CONTINUITY'
- `clientType[]` string, string
- `accountId[]` string, string
- `unitId[]` string, string
- `issuerId[]` string, string
- `campaignId` string, string
- `validTo` string, date-time
- `validFrom` string, date-time
- `dateCreated` string, date-time
- `lastUpdated` string, date-time
- `campaign-status` 'ACTIVE' | 'INACTIVE' | 'PENDING' | 'EXPIRED' | 'DELETED' | 'DRAFT' | 'REJECTED' | 'READY'
- `tokens` 'true', boolean
- `limit` integer
- `offset` integer
- `orderBy[]` string, string

## Response `200`

OK

- object
  - `limit` integer — Results per page
  - `total` integer — Total Results
  - `offset` integer — Pagination Offset
  - `filter` object — Filtering Criteria.
    - `state` string
    - `status` string
  - `orderBy` object[] — Order by criteria.
    - `name` string — The sorting key
    - `order` string — The sorting direction.
  - `results` object[] — Array of walletAccountEntities
    - `accountId` string, required — EES AIR Wallet Account ID
    - `relationships` object — Wallet Accounts Relations
      - `ENTITLEMENT` object
        - `accountType` WalletAccountRelationEntity
          - `accountId` string, int64, required — Account ID
          - `dateCreated` string, date-time, required — Relation creation date-time
      - `ENTITLEMENT_OF` object
        - `accountType` WalletAccountRelationEntity
          - `accountId` string, int64, required — Account ID
          - `dateCreated` string, date-time, required — Relation creation date-time
    - `walletId` string, required — EES AIR Wallet ID
    - `campaignId` string, required — The campaignId (Campaign or Programme) this account belongs to.
    - `type` 'ECOUPON' | 'VOUCHER' | 'PAPER' | 'DEBIT' | 'PLASTIC', required — EES AIR Account Type.
    - `clientType` string, required — Account client type.
    - `status` 'ACTIVE' | 'BLOCKED' | 'CANCELLED' | 'DELETED' | 'EXPIRED' | 'INACTIVE' | 'INVALIDATED' | 'LOCKED' | 'STOLEN' | 'USED', required — Account status
    - `state` string, required — Account state, managed per retailer base, list of possible enum values could be set-up as part of the Onboarding process.
    - `dates` DatesEntity, required
      - `start` string, date-time
      - `end` string, date-time
    - `meta` MetaEntity, required
      - `key1` string — Meta 1 property, up to 250 characters; up to 750 characters for Key 1 Value
      - `key2` string — Meta 2 property, up to 250 characters; up to 750 characters for Key 2 Value
    - `balances` AccountBalancesEntity, required — The object of balances. Some balances only apply to certain types of accounts. See notes below on balances.
      - `available` integer — The available balance. This is applicable for all account types, except POINTS and CONTINUITY, which uses its own balance keys. For ECOUPON account type this property will be returned and will be equal to zero.
      - `refundable` integer — The refundable balance. This is applicable for all account types except POINTS and CONTINUITY, but is not used during account creation. For an Account Entity, the amount displayed here is the total refundable balance available. Please note for ECOUPON account type this property will be returned and equal to zero.
      - `totalSpend` integer — The total spend balance. Applicable only to CONTINUITY type Accounts. If totalSpend is not provided on creation, this will be set to 0.
      - `transactionCount` integer — The transaction counter. Applicable only to CONTINUITY type Accounts. If transactionCount is not provided on creation, this will be set to 0.
      - `current` integer — The current balance. Applicable only to accounts of type POINTS and STAMP. If not provided on creation, this will be set to 0.
      - `usable` integer — The usable balance. Applicable only to accounts of type POINTS. If not provided on creation, this will be set to 0.
      - `locked` integer — The locked balance. Applicable only to accounts of type POINTS. If not provided on creation, this will be set to 0.
      - `lifetime` integer — The lifetime balance. Applicable only to accounts of type POINTS and STAMP. If not provided on creation, this will be set to 0.
    - `dateCreated` string, date-time, required — Date this Account was created
    - `lastUpdated` string, date-time, required — Date this Account was last updated
    - `tokens` TokenEntity[] — Array of token entities, present only if include=tokens is passed in the query string.
      - `tokenId` string — The Token ID.
      - `accountId` string — The Account ID.
      - `token` string — The Token.
      - `validFrom` string, date-time — The date this token is valid from.
      - `validTo` string, date-time — The date this token is valid to.
      - `dateCreated` string, date-time — The date this token was created.
      - `lastUpdated` string, date-time — The date this token was last updated.
      - `status` string — The status of the Token.
      - `tokenLock` object — Token lock information. All values can be null if no token lock exists.
        - `validFrom` string, date-time — The date the token lock is valid from.
        - `validTo` string, date-time — The date the token lock is valid to.
    - `included` IncludedItem[] — Array of `includeItem` entities, which contain resources as requested via the `include` query parameter.
      - `type` string, required — The name of the type of resource
      - `id` string, nullable — The id of the resource, if applicable
      - `attributes` object, required — The attributes of the included resource. One of: campaignMaxRedemptionsPerPeriodRule, accountRedemptionStatistics

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `415` — Unsupported Media Type
- `423` — Locked
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/eagleeye/apis/wallet-api.md) · [All operations](https://skmtc.net/eagleeye/apis/wallet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeye/wallet-api/versions/90a122bb14cc/schema)
