Below is an authorization request, containing:
- 1 product
- Shipping costs
- AfterPay service fee
- Alternate shipping address
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns1:validateAndCheckB2BOrder xmlns:ns1="http://www.afterpay.nl/ad3/"> <authorization> <merchantId>300005753</merchantId> <password>a41dccb8a3</password> <portfolioId>5</portfolioId> </authorization> <b2border> <bankaccountNumber/> <currency>EUR</currency> <ipAddress>188.200.64.81</ipAddress> <orderlines> <articleDescription>Harde schijf kabel 821-0814-A voor de Apple M</articleDescription> <articleId>A000268</articleId> <quantity>1</quantity> <unitprice>3595</unitprice> <vatcategory>1</vatcategory> </orderlines> <orderlines> <articleDescription>Shipping</articleDescription> <articleId>SHIP</articleId> <quantity>1</quantity> <unitprice>695</unitprice> <vatcategory>1</vatcategory> </orderlines> <orderlines> <articleDescription>Payment fee</articleDescription> <articleId>FEE</articleId> <quantity>1</quantity> <unitprice>108</unitprice> <vatcategory>1</vatcategory> </orderlines> <ordernumber>201gg63321</ordernumber> <parentTransactionreference/> <shopper/> <totalOrderAmount>4398</totalOrderAmount> <b2bbilltoAddress> <city>Oirlo</city> <housenumber>5</housenumber> <housenumberAddition>A</housenumberAddition> <isoCountryCode>NL</isoCountryCode> <postalcode>5808BS</postalcode> <streetname>De Leng</streetname> </b2bbilltoAddress> <b2bshiptoAddress> <city>'s-Hertogenbosch</city> <housenumber>19</housenumber> <housenumberAddition>B</housenumberAddition> <isoCountryCode>NL</isoCountryCode> <postalcode>5211ML</postalcode> <streetname>Hinthamerstraat</streetname> </b2bshiptoAddress> <company> <cocnumber>55471123</cocnumber> <companyname>ICT Services BV</companyname> </company> <person> <dateofbirth>1970-01-01T00:00:00+01:00</dateofbirth> <emailaddress>test@hotmail.com</emailaddress> <gender/> <initials>F</initials> <isoLanguage>NL</isoLanguage> <lastname>Steeghs</lastname> <phonenumber1>0657584428</phonenumber1> <phonenumber2/> <prefix/> <title/> </person> </b2border> </ns1:validateAndCheckB2BOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Notes
- DOB not needed to be asked in checkout – send dummy value as in example
- Gender not needed to be asked in checkout – send empty value as in example
- Only COC number and Company name are mandatory, other company fields not needed
Need more technical info?
Please check this attachment, for a complete overview of all objects and fields.