Retrieve all payment methods of a user

This API endpoint returns the list of a user's payment methods.

Successful response payload data

ParameterTypeDescription
idstringThe ID of the payment method.
isLastUsedbooleanIndicates if this payment method was the latest payment method used.
userIdstringThe user ID registered in Setel's system.
familystringThe family the payment method belongs to (wallet, card, smartpay, etc.).
typestringThe payment method type (wallet_setel, smartpay, card_visa, etc.).
cardobjectThe object that stores card information.

Visa/Mastercard object definitions

ParameterTypeDescription
lastFourDigitsstringThe last four digits of the card
brandstringThe brand of the card (visa, master, etc).
issuingstringThe bank that issued the card.
cardIdstringThe ID of the card.

SmartPay card object definitions

ParameterTypeDescription
cardNumberstringThe SmartPay card number.
cardTypestringThe SmartPay card type.
expiryDatestringThe expiry date of the card.
mesraPointsbooleanDetermines if the card can earn Mesra points.

Mesra card object definitions

ParameterTypeDescription
cardNumberstringThe loyalty card number.
pointBalancestringThe loyalty point balance.
typestringDetermines 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.
statusstringThe Mesra card status.

Status:
issued
active
frozen
temporarilyFrozen
issuedBystringThe company that issued the card.

Possible values:
setel
petronas
isActivebooleanDetermines if the card is activated.

Inactive cards are allowed to accumulate points but only active cards can redeem points.
Language
Click Try It! to start a request and see the response here!