Arborescence des pages

 Request

Response


The UpdateWallet function is used to update a virtual wallet. When the data of the payment method are filled in, Payline carries out a monetary control of the payment method to validate it and updates the wallet. To avoid changing the payment method, please leave the Wallet.card fields blank. The update is rejected in the following cases:


  • The identifier of the virtual wallet does not exist on the indicated point of sale

  • Expiry date of the card is exceeded

  • The result of the electronic control of the payment card is a refusal

  • Required information is not filled

  • 3DSecure authentication failed


Request


Element

Description

Required

Format

Example

version

Version of Payline web services : To be valued with the latest version: see the table of versions.

Yes

N2

18

contractNumber

The code or number of your VAD contract that represents the payment method you want to use.

YesAN50
cardInd

Specifies the index of the card to use in the wallet. This field is required if you use the multiwallet.

The index of the card, default value '01'.

NoN2

01

walletWallet information.YesObject wallet

buyer

Buyer information.

No

Object buyer


ownerCardholder information.NoObject owner

privateDataList

Personal information.

No

Object PrivateDataList


authentication3DSecure

3DSecure operations information.

No

Object authentication3DSecure


media

Detection of the media used during the payment.

The possible values ​​of this tag are:

- Computer 
- Mobile 
- Tablet 
- TV 
- Console 
- Undefined.

No

AN25

Mobile

contractNumberWalletListList of wallet contracts.NoObject contractNumberWalletList
transactionIDUnique Payline transaction identifier : use it instead of tokenCard. NoAN