updatePin

fun updatePin(cardId: String, newPin: String, verificationId: String, userOneTimeCode: String, listener: IssuingCardPinService.IssuingCardPinUpdateListener)

Updates a PIN for a given card

Parameters

cardId

the ID of the card (looks like ic_abcdef1234)

newPin

the new desired PIN

verificationId

the ID of the verification that was sent to the cardholder (typically server-side, through /v1/issuing/verifications)

userOneTimeCode

the one-time code that was sent to the cardholder through sms or email

listener

a listener for either success or any error that can occur