Retrieve a user's loyalty card details with access token

This API endpoint returns a loyalty card's details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Successful response payload data

Parameter nameData typeDescription
cardNumberstringThe Mesra card number.
pointBalancestringThe loyalty point balance.
userIdstringThe user ID of the card owner.
typestring

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.

statusstring

The Mesra card status.

Status:
issued
active
frozen
temporarilyFrozen

isActiveboolean

Determines if the card is activated.

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

isPointEarningEnabledbooleanDetermines if the card can earn points.
isPointRedemptionEnabledbooleanDetermines if the points in the card can be redeemed.
Headers
string
required

The user access-token to access Setel API.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json