Activate a Mesra card

This API endpoint activates a Mesra card for the user.

Successful response payload data

Parameter nameData typeDescription
idstringThe ID of the Mesra membership.
cardNumberstringThe Mesra card number.
userIdstringThe ID of the Setel user.
typestringDetermines if the card type is a company card or consumer card.

Company card can only grant points to consumer cards.

Consumer card can only accumulate and redeem points.
statusstringThe 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
isActivebooleanDetermines 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.

false - Card cannot earn points
true - Card can earn points

Default value is true.
isPointRedemptionEnabledbooleanDetermines if the card can redeem points.

false - Card cannot redeem points
true - Card can redeem points

Default value is true.
pointBalancestringThe remaining balance of loyalty points.
Language
Click Try It! to start a request and see the response here!