The below example shows a sample SOAP XML request for a Digital Wallet transaction. This sample shows a standard SOAP XML transaction request with the wallet specific data populated in the appropriate fields. Please be conscious that Digital Wallet transactions must always utilise the CardDetailsTransaction message type.
<?xml version=“1.0” encoding=“utf-8”?>
www.aicorporation.com| info@aicorp oration.com | +44 (0) 1483 661240
<soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
<soap:Body>
<CardDetailsTransaction xmlns=“https://www.thepaymentgateway.net/”>
<PaymentMessage>
<MerchantAuthentication MerchantID=“MerchantID” Password=“Password” />
<TransactionDetails Amount=“1000” CurrencyCode=“826”>
<MessageDetails TransactionType=“SALE” />
<AlternatePaymentData Method=“APPLE_PAY” />
<OrderID>ORDER-1234</OrderID>
<OrderDescription>A Test Order</OrderDescription>
<ThreeDSecurePassthroughData ECI=“Token Status”>
<AuthenticationValue>Token Cryptogram</AuthenticationValue>
</ThreeDSecurePassthroughData>
<TransactionControl>
<EchoCardType>TRUE</EchoCardType>
<EchoAVSCheckResult>TRUE</EchoAVSCheckResult>
<EchoCV2CheckResult>TRUE</EchoCV2CheckResult>
<EchoAmountReceived>TRUE</EchoAmountReceived>
<EchoExternalData>TRUE</EchoExternalData>
<DuplicateDelay>20</DuplicateDelay>
<AVSOverridePolicy>BPPF</AVSOverridePolicy>
<CV2OverridePolicy>FF</CV2OverridePolicy>
<ThreeDSecureOverridePolicy>FALSE</ThreeDSecureOverridePolicy>
</TransactionControl>
</TransactionDetails>
<CardDetails>
<CardName>Test Customer</CardName>
<CardNumber>e-wallet token</CardNumber>
<ExpiryDate Month=“12” Year=“25” />
<CV2>123</CV2>
<IssueNumber>1</IssueNumber>
</CardDetails>
<CustomerDetails>
<BillingAddress>
<Address1>123 Test Street</Address1>
<Address2>Test Address Line 2</Address2>
<Address3>Test Address Line 3</Address3>
<Address4>Test Address Line 4</Address4>
<City>Testville</City>
<State>Testshire</State>
<PostCode>TE57 1NG</PostCode>
<CountryCode>826</CountryCode>
</BillingAddress>
<EmailAddress>test@mycompanyname.net</EmailAddress>
<PhoneNumber>020889898952</PhoneNumber>
<CustomerIPAddress>123.123.123.123</CustomerIPAddress>
</CustomerDetails>
</PaymentMessage>
</CardDetailsTransaction>
</soap:Body>
</soap:Envelope>
