WalletItem.SaveAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Asynchronously saves changes to the wallet item. If this item is a Deal and the item is not in the Wallet, it will be added. If the item is a PaymentInstrument, WalletTransactionItem or an OnlinePaymentInstrument, you can only use this method to update the item if it already exists in the Wallet, otherwise an exception will be thrown. To add a new instance of PaymentInstrument or WalletTransactionItem, use the AddWalletItemTask. For more information, see How to use the add Wallet item task for Windows Phone 8.

Namespace: Microsoft.Phone.Wallet
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)


Public Function SaveAsync As Task
public Task SaveAsync()

Return Value

Type: System.Threading.Tasks..::.Task
The asynchronous operation to save the changes to the wallet item.


The following table lists the fields that must be set before calling SaveAsync or using AddWalletItemTask. If these are not set, an InvalidOperationException will be thrown.

Wallet Item Type

Required Fields


DisplayName, MerchantName


DisplayName, PaymentInstrumentKinds, Logo99x99, Logo159x159, Logo336x336


DisplayName, Logo99x99, Logo159x159, Logo336x336


DisplayName, Logo99x99, Logo159x159, Logo336x336

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


WalletItem Class

Microsoft.Phone.Wallet Namespace