updateAsync

open fun updateAsync(cardId: String, request: CardUpdateRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<Card>)

Asynchronously Updates a card’s state like status and PIN.

Return

A newly updated Card object.

Parameters

cardId

Card identifier.

request

A CardUpdateRequest The fields submitted in this object will update the existing values for the corresponding card.

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.