Card

data class Card(val cardId: String, val status: CardStatus, val expiry: CardExpiryDate?, val bin: String?, val lastFour: String?, val customerId: String, val cardType: CardType, val programName: String, val currency: String, val mobile: String?, val deliveryAddress: DeliveryAddress?, val createdDate: Calendar, val accountId: String, val scheme: CardScheme, val activationDate: Calendar?, val isPinSet: Boolean, val externalId: String?, val tokenizations: MobileWalletTokenizationList?)

Data class containing the details of a card.

Constructors

Link copied to clipboard
constructor(cardId: String, status: CardStatus, expiry: CardExpiryDate?, bin: String?, lastFour: String?, customerId: String, cardType: CardType, programName: String, currency: String, mobile: String?, deliveryAddress: DeliveryAddress?, createdDate: Calendar, accountId: String, scheme: CardScheme, activationDate: Calendar?, isPinSet: Boolean, externalId: String?, tokenizations: MobileWalletTokenizationList?)

Properties

Link copied to clipboard

accountId is used for Multi-Currency Accounts.

Link copied to clipboard

When PHYSICAL card has been activated. ISO 8601 format.

Link copied to clipboard
val bin: String?

Card bin.

Link copied to clipboard

Card id is a unique identifier for a specific card. It will be used for most operations to the prepaid card.

Link copied to clipboard

CardType Supported card types. Currently we support only VIRTUAL and PHYSICAL.

Link copied to clipboard

Card created date in ISO 8601 format. Example: 2022-10-04T11:14:47.596Z.

Link copied to clipboard

Card currency code.

Link copied to clipboard

Wallet customer ID.

Link copied to clipboard

DeliveryAddress The DeliveryAddress object will be used for the PHYSICAL card delivery. It must be null in case of VIRTUAL card.

Link copied to clipboard

CardExpiryDate Card expiry date.

Link copied to clipboard

External identifier in merchant system.

Link copied to clipboard

Indicates that the card PIN has been set or not.

Link copied to clipboard

Card last four digits.

Link copied to clipboard

Mobile phone number used during card creation.

Link copied to clipboard

Card program name.

Link copied to clipboard

CardScheme Supported card schemes. Currently supported VISA and MC (Mastercard).

Link copied to clipboard

CardStatus Contains information about the different card statuses.

Link copied to clipboard

MobileWalletTokenizationList Contains a list of Mobile Wallet Tokenizations.