Retrieve a user's loyalty card details with access token

This API endpoint returns a loyalty card's details.

Successful response payload data

Parameter name

Data type

Description

cardNumber

string

The Mesra card number.

pointBalance

string

The loyalty point balance.

userId

string

The user ID of the card owner.

type

string

Determines if the card type is a company or individual consumer card.

Company card can only grant points to consumer cards.

Consumer card can only accumulate and redeem points.

status

string

The Mesra card status.

Status:
issued
active
frozen
temporarilyFrozen

isActive

boolean

Determines if the card is activated.

Inactive cards are allowed to accumulate points but only active cards can redeem points.

isPointEarningEnabled

boolean

Determines if the card can earn points.

isPointRedemptionEnabled

boolean

Determines if the points in the card can be redeemed.

Language
Click Try It! to start a request and see the response here!