Below is an authorization request, containing:
- 1 product
- Shipping costs
- AfterPay service fee
- Discount
- Alternate shipping address
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns1:validateAndCheckB2COrder xmlns:ns1="http://www.afterpay.nl/ad3/"> <authorization> <merchantId>2016109910?</merchantId> <password>hdye648fhd8</password> <portfolioId>1</portfolioId> </authorization> <b2corder> <bankaccountNumber/> <currency>EUR</currency> <ipAddress>123.321.123.321</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>Heerenveen</city> <housenumber>90</housenumber> <housenumberAddition>B</housenumberAddition> <isoCountryCode>NL</isoCountryCode> <postalcode>8441ER</postalcode> <streetname>KR Poststraat</streetname> <referencePerson> <dateofbirth>1980-12-12T00:00:00</dateofbirth> <emailaddress>test@afterpay.nl</emailaddress> <gender>M</gender> <initials>J</initials> <isoLanguage>NL</isoLanguage> <lastname>Doe</lastname> <phonenumber1>0031513744112</phonenumber1> </referencePerson> </b2cbilltoAddress> <b2cshiptoAddress> <city>Heerenveen</city> <housenumber>80</housenumber> <housenumberAddition>A</housenumberAddition> <isoCountryCode>NL</isoCountryCode> <postalcode>8441ER</postalcode> <streetname>KR Poststraat</streetname> <referencePerson> <dateofbirth>1980-12-12T00:00:00</dateofbirth> <emailaddress>test@afterpay.nl</emailaddress> <gender>M</gender> <initials>J</initials> <isoLanguage>NL</isoLanguage> <lastname>Doe</lastname> <phonenumber1>0031513744112</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.