CardUpdateRequest

data class CardUpdateRequest(val status: CardStatus?, val statusReason: String?, val pin: String?, val scaDetails: ScaAuthenticationEventRequest?)

Data class representing a request to update card status and pin.

Depending on the provided fields in the request, update will be performed on the desired card.

Constructors

Link copied to clipboard
constructor(status: CardStatus?, statusReason: String?, pin: String?)

Constructor without scaDetails.

constructor(status: CardStatus, statusReason: String)

Updating a card status requires two fields to be provided in the request.

constructor(pin: String)

Changing the PIN of a physical card.

constructor(pin: String, scaDetails: ScaAuthenticationEventRequest?)

Changing the PIN of a physical card may require SCA challenge to be completed, after which the SCA details need to be passed with the request.

constructor(status: CardStatus?, statusReason: String?, pin: String?, scaDetails: ScaAuthenticationEventRequest?)

Properties

Link copied to clipboard
val pin: String?

The Card pin should be 4 digits.

Link copied to clipboard

The SCA event details.

Link copied to clipboard

CardStatus Contains information about the different card statuses.

Link copied to clipboard

The reason for card status change.