v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Tier Membership

Retrieve a Customer's Current Tier Membership

This API allows a calling application to retrieve the current Tier Membership details for a customer.

get/wallet/{walletId}/account/{accountId}/membership

Path parameters

walletIdstring required

EES Air Wallet ID

accountIdstring required

EES Air Account ID

Headers

X-EES-AUTH-CLIENT-IDstring string required

Client ID, This will be provided by EES and is unique to the company calling the API.

X-EES-AUTH-HASHstring string required

Request Security Hash, calculated using SHA-256 function from concatenated full Request URI Path with Query String(s), Payload and Client Secret

Accept-Encoding'' | 'gzip' | 'deflate' | 'gzip,deflate'

This request HTTP header advertises which content encoding (usually a compression algorithm) the calling application is able to understand. The server selects one of the proposals, use it and informs the client of its choice with the Content-Encoding response header. Currently supported gzip and deflate, if request header not present no compression will be used.

X-EES-TRANSACTION-IDstring string

Unique Reference for the API transaction within the calling company.

X-EES-RETRYstring string

This flag denotes the number of attempts that have been made for this request.

Response

The Tier Membership entity which defines the current state of a customer's Tier Membership.

tierMembershipIdstring required

The unique ID for this Tier Membership. This will be a numeric string value of variable length.

tierIdstring required

The ID for the Tier Membership to which the customer belongs. This will be a numeric string value of variable length.

status'ACTIVE' required

The status of this Tier Membership.

accountIdsstring[] required
expiryDatestring required

DateTime in ATOM format.

tierBalancesResetDatestring required

DateTime in ATOM format.

dateCreatedstring required

DateTime in ATOM format.

lastUpdatedstring required

DateTime in ATOM format.

Example response

{
  "expiryDate": "2024-03-11T16:33:00+00:00",
  "tierBalancesResetDate": "2024-03-11T16:33:00+00:00",
  "dateCreated": "2024-03-11T16:33:00+00:00",
  "lastUpdated": "2024-03-11T16:33:00+00:00"
}