get https://api-sandbox.setel.com/v1/loyalty/members/by-card/
This API endpoint returns a loyalty card's details based on the Mesra card number.
Successful response payload data
Parameter name | Data type | Description |
---|---|---|
id | string | The ID of the Mesra membership. |
cardNumber | string | The Mesra card number. |
userId | string | The ID of the Setel user. |
memberType | string | The type of membership. Options included are setel_user , non_setel_user , and merchant_user .The default value is setel_user . |
memberStatus | string | The Mesra card status. Status: active - Can earn and redeem pointsissued - Can earn points but cannot redeemtemporarily_frozen - Can earn points but cannot redeemfrozen - Cannot earn or redeem points |