Retrieve all payment methods of a user

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

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

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

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

statusstring

The Mesra card status.

Status:
issued
active
frozen
temporarilyFrozen

issuedBystring

The company that issued the card.

Possible values:
setel
petronas

isActiveboolean

Determines if the card is activated.

Inactive cards are allowed to accumulate points but only active cards can redeem points.

Headers
string
required

The user access-token to access Setel API.

Responses

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