Activate a Mesra card

This API endpoint activates a Mesra card for the user.

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.

type

string

Determines 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.

status

string

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

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.

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

Default value is true.

isPointRedemptionEnabled

boolean

Determines if the card can redeem points.

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

Default value is true.

pointBalance

string

The remaining balance of loyalty points.

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