Retrieve a user's loyalty card details with Mesra card number

This API endpoint returns a loyalty card's details based on the Mesra card number.

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

Successful response payload data

Parameter nameData typeDescription
idstringThe ID of the Mesra membership.
cardNumberstringThe Mesra card number.
userIdstringThe ID of the Setel user.
memberTypestring

The type of membership. Options included are setel_user, non_setel_user, and merchant_user.

The default value is setel_user.

memberStatusstring

The Mesra card status.

Status:
active - Can earn and redeem points
issued - Can earn points but cannot redeem
temporarily_frozen - Can earn points but cannot redeem
frozen - Cannot earn or redeem points

Path Params
string
required

The Mesra card number.

Headers
string
required

This will be provided during the onboarding process.

string
required

This will be provided during the onboarding process.

string
required

A unique ID to reference the interface the request is sent from. Default value is setel but a proper value will be advised by Setel during onboarding.

string
required

The interface type the request is sent from. This value will be provided by Setel during onboarding.

Responses

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