Below is an authorization request, containing:
- 1 product
- Shipping costs
- AfterPay service fee
- Discount
- Alternate shipping address
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.afterpay.nl/ad3/"> <SOAP-ENV:Body> <ns1:validateAndCheckB2COrder> <authorization> <merchantId>300004511</merchantId> <password>hdh356456yh</password> <portfolioId>3</portfolioId> </authorization> <b2corder> <bankaccountNumber/> <currency>EUR</currency> <extrafields/> <ipAddress>212.88.242.42</ipAddress> <orderlines> <articleDescription>Product 1</articleDescription> <articleId>0077924028694</articleId> <quantity>1</quantity> <unitprice>9990</unitprice> <vatcategory>1</vatcategory> </orderlines> <orderlines> <articleDescription>Shipping costs</articleDescription> <articleId>SHIP</articleId> <quantity>1</quantity> <unitprice>399</unitprice> <vatcategory>1</vatcategory> </orderlines> <orderlines> <articleDescription>AfterPay payment costs</articleDescription> <articleId>FEE</articleId> <quantity>1</quantity> <unitprice>95</unitprice> <vatcategory>1</vatcategory> </orderlines> <orderlines> <articleDescription>Discount</articleDescription> <articleId>DISC</articleId> <quantity>1</quantity> <unitprice>-500</unitprice> <vatcategory>1</vatcategory> </orderlines> <ordernumber>123456</ordernumber> <parentTransactionreference/> <shopper/> <totalOrderAmount>9984</totalOrderAmount> <b2cbilltoAddress> <city>Brussel</city> <housenumber>90</housenumber> <isoCountryCode>BE</isoCountryCode> <postalcode>1200</postalcode> <streetname>Wafelstraat</streetname> <referencePerson> <dateofbirth>1990-01-01T00:00:00</dateofbirth> <emailaddress>gert@studio100.be</emailaddress> <gender>M</gender> <initials>G.</initials> <isoLanguage>NL</isoLanguage> <lastname>Verhulst</lastname> <phonenumber1>0032472067761</phonenumber1> </referencePerson> </b2cbilltoAddress> <b2cshiptoAddress> <city>Antwerpen</city> <housenumber>1</housenumber> <isoCountryCode>BE</isoCountryCode> <postalcode>1000</postalcode> <streetname>Moules</streetname> <referencePerson> <dateofbirth>1990-01-01T00:00:00</dateofbirth> <emailaddress>samson@studio100.be</emailaddress> <gender>M</gender> <initials>S.</initials> <isoLanguage>NL</isoLanguage> <lastname>de Hond</lastname> <phonenumber1>0032472067761</phonenumber1> </referencePerson> </b2cshiptoAddress> </b2corder> </ns1:validateAndCheckB2COrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Need more technical info?
Please check this attachment, for a complete overview of all objects and fields.