The function doImmediateWalletPayment does a payment from a virtual wallet. You can use cash (CPT) and deferred (DIF) payment methods with this feature.
Payline returns a result code 02308: payment method not accepted for the other modes.
The answer to your payment request is communicated to you in real time (synchronous).
Payment is refused in the following cases :
- The identifier of the virtual wallet provided does not exist or the wallet is inactive
- The application for authorization is refused
- The payment method is not accepted
The request doImmediateWalletPaymentRequest must have the following structure:
|Payline web services version. To be valued with the latest version: see the table of versions.|
|payment||Payment information||Yes||Object payment|
The unique identifier of the virtual wallet. This is the identifier that you communicated during the request to create the wallet
This field is required if you use the multiwallet
CVV or vCVV check (virtual cvv) when doing the payment
Detection of the media used during the payment. The possible values of this tag are :
3DSecure operations information
|Version 9 or higher|
|subMerchant||Payment Facilitator information||No||Object subMerchant|