CardUpdateRequest

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

Constructor without scaDetails.

Parameters

status

CardStatus - the new status of the card.

statusReason

String - the reason for the status change.

pin

String - the new pin of the card.


constructor(status: CardStatus, statusReason: String)

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

Parameters

status

CardStatus - the new status of the card.

statusReason

String - the reason for the status change.


constructor(pin: String)

Changing the PIN of a physical card.

Parameters

pin

String - the new pin of the 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.

Parameters

pin

String - the new pin of the card.

scaDetails

ScaAuthenticationEventRequest - the SCA event details.


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