{"_id":"5bedbcf19b49e8004462d0de","category":{"_id":"5bedbcf09b49e8004462d0d1","version":"5bedbcf19b49e8004462d199","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-03T20:45:01.593Z","from_sync":false,"order":1,"slug":"topics","title":"Orders"},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"_id":"5bedbcf19b49e8004462d199","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5bcf3922e8455d049c357ed7","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z","categories":["5bedbcf09b49e8004462d0d0","5bedbcf09b49e8004462d0d1","5bedbcf09b49e8004462d0d2","5bedbcf09b49e8004462d0d3","5bedbcf09b49e8004462d0d4","5bedbcf09b49e8004462d0d5","5bedbcf09b49e8004462d0d6","5bedbcf09b49e8004462d0d7","5bedbcf09b49e8004462d0d8","5bedbcf09b49e8004462d0d9","5bedbcf09b49e8004462d0da"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.28 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-12T14:58:26.762Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[]},"settings":"","auth":"optional","params":[],"url":""},"isReference":true,"order":0,"body":"##Definition\nhttps<span>://sandbox.bluesnap.com/services/2/batch/order-placement</span>\n\n<hr>\n\n##Documentation\nThe Create Order and New Shopper request enables you to create a shopper account and an order in a single request. The created shopper can be used later for recurring payments or future orders.\n\nThis is useful when you want to allow guest shoppers to make a purchase, or when you would like to set up a new shopper account at the same time that the order is made. If you’re setting up a new shopper, we recommend that you add a shopper approval box to your checkout page so they have the opportunity to provide their consent to store their payment details; for example:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8fa7b51-Store_my_card.png\",\n        \"Store my card.png\",\n        282,\n        22,\n        \"#e1e1e0\"\n      ]\n    }\n  ]\n}\n[/block]\nFor more information, see [Card on File](https://developers.bluesnap.com/docs/card-on-file).\n\nIf you wish to place an order for an existing shopper, see the [Create Order with Existing Shopper](doc:create-order) service.\n\n###Request Content\n`batch-order` &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [batch-order](doc:batch-order)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`shopper` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [shopper](doc:shopper)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`web-info` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [web-info](doc:web-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`fraud-info` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [fraud-info](doc:fraud-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`shopper-info` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [shopper-info](doc:shopper-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`wallet-id` *integer* &nbsp;&nbsp;&nbsp;optional&nbsp;&nbsp;&nbsp;applicable for Masterpass and Visa Checkout\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`order` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [order](doc:order)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`ordering-shopper`  *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [ordering-shopper](doc:ordering-shopper))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`cart`  *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [cart](doc:cart))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`expected-total-price`  *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [expected-total-price](doc:expected-total-price))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`soft-descriptor` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`descriptor-phone-number` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`affiliate-id` *long* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`seller-order-id` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`store-card` *boolean* &nbsp;&nbsp;&nbsp;optional\n\n###Response Details\nIf successful, the response HTTP status code is 201 Created.\nThe Location response header contains the URI of the newly created `batch-order` resource.\nThe response body contains the `batch-order` resource.\n\nFor details about possible errors, see: [General Errors](doc:general-errors), [Payment & Processor Errors](doc:payment-errors), [Shopper Errors](doc:shopper-errors), [Fraud Errors](doc:fraud-errors), [Hosted Payment Field Errors](/v8976-Tools/docs/hosted-payment-field-errors), and [Wallet Errors](/v8976-Tools/docs/wallet-errors).\n\n<hr>\n\n##Examples\n\n###Request Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <web-info>\\n      <ip>62.219.121.253</ip>\\n      <remote-host>www.merchant.com</remote-host>\\n      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n    </web-info>\\n    <shopper-info>\\n      <store-id>10540</store-id>\\n      <locale>en</locale>\\n      <shopper-contact-info>\\n        <title>Mr.</title>\\n        <first-name>John</first-name>\\n        <last-name>Doe</last-name>\\n        <email>jdoe:::at:::johndoeandsons.com</email>\\n        <company-name>JohnDoeAndSons</company-name>\\n        <address1>138 Market St</address1>\\n        <city>San Francisco</city>\\n        <zip>75654</zip>\\n        <state>CA</state>\\n        <country>US</country>\\n        <phone>14135556789</phone>\\n        <fax>14135556788</fax>\\n      </shopper-contact-info>\\n      <payment-info>\\n        <credit-cards-info>\\n          <credit-card-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market St</address1>\\n              <city>San Francisco</city>\\n              <state>CA</state>\\n              <zip>75654</zip>\\n              <country>US</country>\\n            </billing-contact-info>\\n            <credit-card>\\n              <card-number>4111 1111 1111 1111</card-number>\\n              <security-code>123</security-code>\\n              <card-type>VISA</card-type>\\n              <expiration-month>09</expiration-month>\\n              <expiration-year>2019</expiration-year>\\n            </credit-card>\\n          </credit-card-info>\\n        </credit-cards-info>\\n      </payment-info>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n  <store-card>true</store-card>\\n    <ordering-shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n      <fraud-info>\\n        <fraud-session-id>1234567890</fraud-session-id>\\n      </fraud-info>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2183634</sku-id>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n    </cart>\\n    <expected-total-price>\\n      <amount>50.00</amount>\\n      <currency>USD</currency>\\n    </expected-total-price>\\n  </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"Batch Create Shopper and Order Request: with credit card and fraud info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n   <shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n      <shopper-info>\\n         <store-id>11580</store-id>\\n         <locale>en</locale>\\n      </shopper-info>\\n      <wallet-id>21</wallet-id>\\n   </shopper>\\n   <order>\\n      <ordering-shopper>\\n         <web-info>\\n            <ip>62.219.121.253</ip>\\n            <remote-host>www.merchant.com</remote-host>\\n            <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n         </web-info>\\n      </ordering-shopper>\\n      <cart>\\n         <cart-item>\\n            <sku>\\n            <sku-id>2183716</sku-id>\\n            </sku>\\n            <quantity>1</quantity>\\n         </cart-item>\\n      </cart>\\n      <expected-total-price>\\n         <amount>10.00</amount>\\n         <currency>USD</currency>\\n      </expected-total-price>\\n   </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"with wallet ID\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <web-info>\\n      <ip>62.219.121.253</ip>\\n      <remote-host>www.merchant.com</remote-host>\\n      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n    </web-info>\\n    <shopper-info>\\n      <store-id>4677</store-id>\\n      <locale>en</locale>\\n      <shopper-contact-info>\\n        <title>Mr.</title>\\n        <first-name>John</first-name>\\n        <last-name>Doe</last-name>\\n        <email>jdoe@johndoeandsons.com</email>\\n        <company-name>JohnDoeAndSons</company-name>\\n        <address1>138 Market St</address1>\\n        <city>San Francisco</city>\\n        <zip>75654</zip>\\n        <state>CA</state>\\n        <country>US</country>\\n        <phone>14135556789</phone>\\n        <fax>14135556788</fax>\\n      </shopper-contact-info>\\n      <payment-info>\\n        <credit-cards-info>\\n          <credit-card-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market St</address1>\\n              <city>San Francisco</city>\\n              <zip>75654</zip>\\n              <state>CA</state>\\n              <country>US</country>\\n            </billing-contact-info>\\n            <pf-token>c7c69ff853ab784ef35a0c78ffec08e78cf1d1b5b4bb9e2644c2bcc73f3f818f_1</pf-token>\\n          </credit-card-info>\\n        </credit-cards-info>\\n      </payment-info>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n    <ordering-shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2152762</sku-id>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n    </cart>\\n    <expected-total-price>\\n      <amount>15.00</amount>\\n      <currency>USD</currency>\\n    </expected-total-price>\\n  </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"with Hosted Payment Fields token\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n   <shopper>\\n      <web-info>\\n         <ip>62.219.121.253</ip>\\n         <remote-host>www.merchant.com</remote-host>\\n         <user-agent>Mozilla/4.0</user-agent>\\n         <accept-language>en-us</accept-language>\\n      </web-info>\\n      <seller-shopper-id />\\n      <shopper-info>\\n         <shopper-contact-info>\\n            <title>Mr</title>\\n            <first-name>Shopper first</first-name>\\n            <last-name>Shopper last</last-name>\\n            <email>a@a.com</email>\\n            <company-name>JS Company</company-name>\\n            <address1>123 Oxford</address1>\\n            <address2 />\\n            <city>London</city>\\n            <state>ny</state>\\n            <zip>54321</zip>\\n            <country>us</country>\\n            <phone>1800808080</phone>\\n            <fax>1800808080</fax>\\n         </shopper-contact-info>\\n         <shipping-contact-info>\\n            <first-name>Shipping first</first-name>\\n            <last-name>Shipping last</last-name>\\n            <address1>123 Oxford</address1>\\n            <address2 />\\n            <city>London</city>\\n            <state>ny</state>\\n            <zip>54321</zip>\\n            <country>us</country>\\n         </shipping-contact-info>\\n         <payment-info>\\n            <ecps-info>\\n               <ecp-info>\\n                  <billing-contact-info>\\n                     <first-name>ECP Billing first name</first-name>\\n                     <last-name>ECP Billing last name</last-name>\\n                     <company-name>JS Company</company-name>\\n                     <address1>123 Oxford</address1>\\n                     <address2 />\\n                     <city>ny</city>\\n                     <state>ny</state>\\n                     <zip>90210</zip>\\n                     <country>us</country>\\n                  </billing-contact-info>\\n                  <ecp>\\n                     <account-number>4099999992</account-number>\\n                     <routing-number>011075150</routing-number>\\n                     <account-type>CONSUMER_CHECKING</account-type>\\n                  </ecp>\\n               </ecp-info>\\n            </ecps-info>\\n         </payment-info>\\n         <store-id>16060</store-id>\\n         <shopper-currency>USD</shopper-currency>\\n      </shopper-info>\\n   </shopper>\\n   <order>\\n      <soft-descriptor>SoftDesc</soft-descriptor>\\n      <ordering-shopper>\\n                <authorized-by-shopper>true</authorized-by-shopper>\\n         <seller-shopper-id />\\n         <web-info>\\n            <ip>62.219.121.253</ip>\\n            <remote-host>www.merchant.com</remote-host>\\n            <user-agent>Mozilla/4.0</user-agent>\\n            <accept-language>en-us</accept-language>\\n         </web-info>\\n      </ordering-shopper>\\n      <cart>\\n         <cart-item>\\n            <sku>\\n               <sku-id>2176396</sku-id>\\n            </sku>\\n            <quantity>1</quantity>\\n         </cart-item>\\n      </cart>\\n      <expected-total-price>\\n         <amount>10.00</amount>\\n         <currency>USD</currency>\\n      </expected-total-price>\\n   </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"with ACH/ECP info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <order>\\n    <ordering-shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n      <wallet>\\n      \\t<apple-pay>\\n      \\t\\t<encoded-payment-token>eyAgDQogICAidG9rZW4iOnsgIA0KICAgICAgInBheW1lbnREYXRhIjp7ICANCiAgICAgICAgICJkYXRhIjoic1VpSnkxanlWeDFEOEluWWJFUFFRYjFSNTdGazN4QUFBQUFBQUEiLA0KICAgICAgICAgImhlYWRlciI6eyAgDQogICAgICAgICAgICAicHVi==</encoded-payment-token>\\n      \\t</apple-pay>\\n      </wallet>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2186654</sku-id>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n    </cart>\\n    <expected-total-price>\\n      <amount>260.00</amount>\\n      <currency>USD</currency>\\n    </expected-total-price>\\n  </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \" curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n <batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <web-info>\\n      <ip>62.219.121.253</ip>\\n      <remote-host>www.merchant.com</remote-host>\\n      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n    </web-info>\\n    <shopper-info>\\n      <store-id>14912</store-id>\\n      <locale>en</locale>\\n      <shopper-contact-info>\\n        <title>Mr.</title>\\n        <first-name>John</first-name>\\n        <last-name>Doe</last-name>\\n        <email>jdoe@email.com</email>\\n        <company-name>JohnDoeAndSons</company-name>\\n        <address1>138 Market St</address1>\\n        <city>Toulouse</city>\\n        <zip>75654</zip>\\n        <country>FR</country>\\n        <phone>14135556789</phone>\\n        <fax>14135556788</fax>\\n      </shopper-contact-info>\\n      <payment-info>\\n      <sepa-direct-debits-info>\\n        <sepa-direct-debit-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market St</address1>\\n              <city>Toulouse</city>\\n              <zip>75654</zip>\\n              <country>FR</country>\\n            </billing-contact-info>\\n          <sepa-direct-debit>\\n            <iban>DE09100100101234567893</iban>\\n          </sepa-direct-debit>\\n        </sepa-direct-debit-info>\\n      </sepa-direct-debits-info>\\n      </payment-info>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n    <ordering-shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n   <authorized-by-shopper>true</authorized-by-shopper>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2429827</sku-id>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n    </cart>\\n    <expected-total-price>\\n      <amount>11.73</amount>\\n      <currency>EUR</currency>\\n    </expected-total-price>\\n  </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"with SEPA Direct Debit info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <web-info>\\n      <ip>62.219.121.253</ip>\\n      <remote-host>bzq-219-121-253.static.bezeqint.net.reinventhosting.com</remote-host>\\n      <user-agent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.3; .NET CLR 2.0.50727)</user-agent>\\n      <accept-language>en-us</accept-language>\\n    </web-info>\\n    <seller-shopper-id/>\\n    <shopper-info>\\n      <shopper-contact-info>\\n        <title>Mr</title>\\n        <first-name>Lena</first-name>\\n        <last-name>Kop</last-name>\\n        <email>test@test.com</email>\\n        <company-name>Bluesnap</company-name>\\n        <address1>123 Oxford</address1>\\n        <address2/>\\n        <city>London</city>\\n        <state>ca</state>\\n        <zip>54321</zip>\\n        <country>us</country>\\n        <phone>1800808080</phone>\\n        <fax>9999947238292</fax>\\n      </shopper-contact-info>\\n      <shipping-contact-info>\\n        <first-name>Shipping first name</first-name>\\n        <last-name>Shipping last name</last-name>\\n        <address1>123 Oxford</address1>\\n        <address2/>\\n        <city>London</city>\\n        <state>ny</state>\\n        <zip>54321</zip>\\n        <country>us</country>\\n      </shipping-contact-info>\\n      <payment-info>\\n        <credit-cards-info>\\n          <credit-card-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market st</address1>\\n              <city>San Francisco</city>\\n              <zip>756543</zip>\\n              <state>CA</state>\\n              <country>US</country>\\n            </billing-contact-info>\\n            <credit-card>\\n              <card-number>4012 0000 3333 0026</card-number>\\n              <card-type>VISA</card-type>\\n              <expiration-month>12</expiration-month>\\n              <expiration-year>2021</expiration-year>\\n              <security-code>111</security-code>\\n            </credit-card>\\n          </credit-card-info>\\n        </credit-cards-info>\\n      </payment-info>\\n      <store-id>1980</store-id>\\n      <shopper-currency>USD</shopper-currency>\\n      <locale>en</locale>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n    <soft-descriptor>DescTest</soft-descriptor>\\n    <ordering-shopper>\\n      <seller-shopper-id/>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>bzq-219-121-253.static.bezeqint.net.reinventhosting.com</remote-host>\\n        <user-agent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.3; .NET CLR 2.0.50727)</user-agent>\\n        <accept-language>en-us</accept-language>\\n      </web-info>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2201396</sku-id>\\n          <price>\\n            <amount/>\\n            <currency/>\\n          </price>\\n          <soft-descriptor>DescTest</soft-descriptor>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n      <cdod>false</cdod>\\n    </cart>\\n    <expected-total-price>\\n      <amount>25.00</amount>\\n     <currency>USD</currency>\\n    </expected-total-price>\\n    <store-card>false</store-card>\\n  </order>\\n</batch-order>\",\n      \"language\": \"curl\",\n      \"name\": \"with store card approval\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <order>\\n    <ordering-shopper>\\n      <web-info>\\n        <ip>62.219.121.253</ip>\\n        <remote-host>www.merchant.com</remote-host>\\n        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>\\n      </web-info>\\n      <wallet>\\n      \\t<wallet-type>GOOGLE_PAY</wallet-type>\\n        <encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>\\n      </wallet>\\n    </ordering-shopper>\\n    <cart>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2186654</sku-id>\\n        </sku>\\n        <quantity>1</quantity>\\n      </cart-item>\\n    </cart>\\n    <expected-total-price>\\n      <amount>260.00</amount>\\n      <currency>USD</currency>\\n    </expected-total-price>\\n  </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with Google Pay\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <shopper-info>\\n      <shopper-contact-info>\\n        <title>Mr.</title>\\n        <first-name>John</first-name>\\n        <last-name>Doe</last-name>\\n        <email>jdoe@johndoeandsons.com</email>\\n        <company-name>JohnDoeAndSons</company-name>\\n        <address1>138 Market St</address1>\\n        <city>San Francisco</city>\\n        <state>CA</state>\\n        <zip>75654</zip>\\n        <country>US</country>\\n        <phone>14135556789</phone>\\n        <fax>14135556788</fax>\\n      </shopper-contact-info>\\n      <shipping-contact-info />\\n      <invoice-contacts-info>\\n        <invoice-contact-info>\\n          <default>true</default>\\n          <title>Mr.</title>\\n          <first-name>John</first-name>\\n          <last-name>Doe</last-name>\\n          <email>jdoe@johndoeandsons.com</email>\\n          <company-name>JohnDoeAndSons</company-name>\\n          <address1>138 Market St</address1>\\n          <city>San Francisco</city>\\n          <state>CA</state>\\n          <zip>75654</zip>\\n          <country>US</country>\\n          <phone>14135556789</phone>\\n          <fax>14135556788</fax>\\n        </invoice-contact-info>\\n      </invoice-contacts-info>\\n      <payment-info>\\n        <credit-cards-info>\\n          <credit-card-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market St</address1>\\n              <city>San Francisco</city>\\n              <state>CA</state>\\n              <zip>75654</zip>\\n              <country>US</country>\\n            </billing-contact-info>\\n            <credit-card>\\n              <card-last-four-digits>1111</card-last-four-digits>\\n              <card-type>VISA</card-type>\\n              <card-sub-type>CREDIT</card-sub-type>\\n              <card-category>CLASSIC</card-category>\\n            </credit-card>\\n          </credit-card-info>\\n        </credit-cards-info>\\n        <ecps-info />\\n        <balance />\\n      </payment-info>\\n      <store-id>10540</store-id>\\n      <shopper-currency>USD</shopper-currency>\\n      <locale>en</locale>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n    <order-id>3950743</order-id>\\n    <ordering-shopper>\\n      <shopper-id>19576544</shopper-id>\\n    </ordering-shopper>\\n    <cart>\\n      <charged-currency>USD</charged-currency>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2183634</sku-id>\\n          <sku-name>Example Product Example SKU</sku-name>\\n        </sku>\\n        <quantity>1</quantity>\\n        <item-sub-total>1.00</item-sub-total>\\n      </cart-item>\\n      <tax>0.00</tax>\\n      <tax-rate>0</tax-rate>\\n      <total-cart-cost>1.00</total-cart-cost>\\n    </cart>\\n    <post-sale-info>\\n      <invoices>\\n        <invoice>\\n          <invoice-id>1008856044</invoice-id>\\n          <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=AFD7311386AA2F3E284B0AA5582813A3</url>\\n          <financial-transactions>\\n            <financial-transaction>\\n              <status>Approved</status>\\n              <date-due>20-Oct-18</date-due>\\n              <date-created>20-Oct-18</date-created>\\n              <amount>1.00</amount>\\n              <currency>USD</currency>\\n              <soft-descriptor>BLS*JohnDoe</soft-descriptor>\\n              <payment-method>Credit Card</payment-method>\\n              <target-balance>BLUESNAP_ACCOUNT</target-balance>\\n              <credit-card>\\n                <card-last-four-digits>1111</card-last-four-digits>\\n                <card-type>Visa</card-type>\\n                <card-sub-type>CREDIT</card-sub-type>\\n                <card-category>CLASSIC</card-category>\\n                <expiration-month>9</expiration-month>\\n                <expiration-year>2019</expiration-year>\\n              </credit-card>\\n              <paypal-transaction-data />\\n              <invoice-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe@johndoeandsons.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market St</address1>\\n                <city>San Francisco</city>\\n                <state>CA</state>\\n                <zip>75654</zip>\\n                <country>US</country>\\n                <phone>14135556789</phone>\\n                <fax>14135556788</fax>\\n              </invoice-contact-info>\\n              <skus>\\n                <sku>\\n                  <sku-id>2152762</sku-id>\\n                </sku>\\n              </skus>\\n            </financial-transaction>\\n          </financial-transactions>\\n        </invoice>\\n      </invoices>\\n    </post-sale-info>\\n    <fulfillment>\\n      <license-keys />\\n      <download-links>\\n        <sku-download-link>\\n          <sku-id>2183634</sku-id>\\n          <sku-name>Example Product Example SKU</sku-name>\\n          <download-link>https://sandbox.bluesnap.com/jsp/dlapp.jsp?ref=1008856052C2152762C1256344</download-link>\\n        </sku-download-link>\\n      </download-links>\\n    </fulfillment>\\n  </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"Batch Create Shopper and Order Response - 201 Created: with credit card and fraud info\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-contact-info>\\n                <first-name>Joe</first-name>\\n                <last-name>Test</last-name>\\n                <email>joe.test@email.com</email>\\n                <address1>123 Street</address1>\\n                <city>City</city>\\n                <state>CA</state>\\n                <zip>90001</zip>\\n                <country>US</country>\\n                <phone>19876543210</phone>\\n            </shopper-contact-info>\\n            <shipping-contact-info>\\n                <first-name>Joe</first-name>\\n                <last-name>Test</last-name>\\n                <address1>123 Street</address1>\\n                <city>New York</city>\\n                <state>NY</state>\\n                <zip>10005</zip>\\n                <country>US</country>\\n            </shipping-contact-info>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <first-name>JOE</first-name>\\n                    <last-name>Test</last-name>\\n                    <email>joe.test@example.com</email>\\n                    <address1>123 Street</address1>\\n                    <city>City</city>\\n                    <state>CA</state>\\n                    <zip>90001</zip>\\n                    <country>us</country>\\n                    <phone>19876543210</phone>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info>\\n                    <credit-card-info>\\n                        <billing-contact-info>\\n                            <first-name>Joe</first-name>\\n                            <last-name>Test</last-name>\\n                            <address1>123 Street</address1>\\n                            <city>City</city>\\n                            <state>CA</state>\\n                            <zip>90001</zip>\\n                            <country>us</country>\\n                        </billing-contact-info>\\n                        <credit-card>\\n                            <card-last-four-digits>8130</card-last-four-digits>\\n                            <card-type>MASTERCARD</card-type>\\n                            <card-sub-type>DEBIT</card-sub-type>\\n                        </credit-card>\\n                        <processing-info/>\\n                    </credit-card-info>\\n                </credit-cards-info>\\n                <ecps-info/>\\n                <balance/>\\n            </payment-info>\\n            <store-id>11580</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>3991955</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19574166</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2183716</sku-id>\\n                    <sku-name>Books Book 4</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>10.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>10.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38512196</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=9F5E1A1BBDE6EBE1</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Pending</status>\\n                            <date-due>08-May-18</date-due>\\n                            <date-created>08-May-18</date-created>\\n                            <amount>10.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>BLS*JoeTest</soft-descriptor>\\n                            <payment-method>Credit Card</payment-method>\\n                            <target-balance>BLUESNAP_ACCOUNT</target-balance>\\n                            <credit-card>\\n                                <card-last-four-digits>8130</card-last-four-digits>\\n                                <card-type>Master Card</card-type>\\n                                <card-sub-type>CREDIT</card-sub-type>\\n                                <expiration-month>5</expiration-month>\\n                                <expiration-year>2021</expiration-year>\\n                            </credit-card>\\n                            <paypal-transaction-data/>\\n                            <invoice-contact-info>\\n                                <first-name>Joe</first-name>\\n                                <last-name>Test</last-name>\\n                                <email>joe.test@email.com</email>\\n                                <address1>123 Street</address1>\\n                                <city>City</city>\\n                                <state>CA</state>\\n                                <zip>90001</zip>\\n                                <country>us</country>\\n                                <phone>19876543210</phone>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2183716</sku-id>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with wallet ID\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\" ?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n  <shopper>\\n    <shopper-info>\\n      <shopper-contact-info>\\n        <title>Mr.</title>\\n        <first-name>John</first-name>\\n        <last-name>Doe</last-name>\\n        <email>jdoe@johndoeandsons.com</email>\\n        <company-name>JohnDoeAndSons</company-name>\\n        <address1>138 Market St</address1>\\n        <city>San Francisco</city>\\n        <state>CA</state>\\n        <zip>75654</zip>\\n        <country>us</country>\\n        <phone>14135556789</phone>\\n        <fax>14135556788</fax>\\n      </shopper-contact-info>\\n      <shipping-contact-info/>\\n      <invoice-contacts-info>\\n        <invoice-contact-info>\\n          <default>true</default>\\n          <title>Mr.</title>\\n          <first-name>John</first-name>\\n          <last-name>Doe</last-name>\\n          <email>jdoe@johndoeandsons.com</email>\\n          <company-name>JohnDoeAndSons</company-name>\\n          <address1>138 Market St</address1>\\n          <city>San Francisco</city>\\n          <state>CA</state>\\n          <zip>75654</zip>\\n          <country>US</country>\\n          <phone>14135556789</phone>\\n          <fax>14135556788</fax>\\n        </invoice-contact-info>\\n      </invoice-contacts-info>\\n      <payment-info>\\n        <credit-cards-info>\\n          <credit-card-info>\\n            <billing-contact-info>\\n              <first-name>John</first-name>\\n              <last-name>Doe</last-name>\\n              <address1>138 Market St</address1>\\n              <city>San Francisco</city>\\n              <state>CA</state>\\n              <zip>75654</zip>\\n              <country>US</country>\\n            </billing-contact-info>\\n            <credit-card>\\n              <card-last-four-digits>1111</card-last-four-digits>\\n              <card-type>VISA</card-type>\\n              <card-sub-type>CREDIT</card-sub-type>\\n              <card-category>CLASSIC</card-category>\\n            </credit-card>\\n          </credit-card-info>\\n        </credit-cards-info>\\n        <ecps-info/>\\n        <balance/>\\n      </payment-info>\\n      <store-id>4677</store-id>\\n      <shopper-currency>USD</shopper-currency>\\n      <locale>en</locale>\\n    </shopper-info>\\n  </shopper>\\n  <order>\\n    <order-id>3950741</order-id>\\n    <ordering-shopper>\\n      <shopper-id>19576518</shopper-id>\\n    </ordering-shopper>\\n    <cart>\\n      <charged-currency>USD</charged-currency>\\n      <cart-item>\\n        <sku>\\n          <sku-id>2152762</sku-id>\\n          <sku-name>Example Product Example SKU</sku-name>\\n        </sku>\\n        <quantity>1</quantity>\\n        <item-sub-total>15.00</item-sub-total>\\n      </cart-item>\\n      <tax>0.00</tax>\\n      <tax-rate>0</tax-rate>\\n      <total-cart-cost>15.00</total-cart-cost>\\n    </cart>\\n    <post-sale-info>\\n      <invoices>\\n        <invoice>\\n          <invoice-id>1008856052</invoice-id>\\n          <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=AFD7311386AA2F3E284B0AA5582813B6</url>\\n          <financial-transactions>\\n            <financial-transaction>\\n              <status>Approved</status>\\n              <date-due>20-Oct-18</date-due>\\n              <date-created>20-Oct-18</date-created>\\n              <amount>15.00</amount>\\n              <currency>USD</currency>\\n              <soft-descriptor>BLS*JohnDoe</soft-descriptor>\\n              <payment-method>Credit Card</payment-method>\\n              <target-balance>BLUESNAP_ACCOUNT</target-balance>\\n              <credit-card>\\n                <card-last-four-digits>1111</card-last-four-digits>\\n                <card-type>Visa</card-type>\\n                <expiration-month>9</expiration-month>\\n                <expiration-year>2019</expiration-year>\\n              </credit-card>\\n              <paypal-transaction-data/>\\n              <invoice-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe@johndoeandsons.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market St</address1>\\n                <city>San Francisco</city>\\n                <state>CA</state>\\n                <zip>75654</zip>\\n                <country>US</country>\\n                <phone>14135556789</phone>\\n                <fax>14135556788</fax>\\n              </invoice-contact-info>\\n              <skus>\\n                <sku>\\n                  <sku-id>2152762</sku-id>\\n                </sku>\\n              </skus>\\n            </financial-transaction>\\n          </financial-transactions>\\n        </invoice>\\n      </invoices>\\n    </post-sale-info>\\n    <fulfillment>\\n      <license-keys/>\\n      <download-links>\\n        <sku-download-link>\\n          <sku-id>2152762</sku-id>\\n          <sku-name>Example Product Example SKU</sku-name>\\n          <download-link>https://sandbox.bluesnap.com/jsp/dlapp.jsp?ref=1008856052C2152762C12563186</download-link>\\n        </sku-download-link>\\n      </download-links>\\n    </fulfillment>\\n  </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with Hosted Payment Fields token\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>19593226</shopper-id>\\n            <shopper-contact-info>\\n                <title>Mr</title>\\n                <first-name>Shopper first</first-name>\\n                <last-name>Shopper last</last-name>\\n                <email>email@email.com</email>\\n                <company-name>JS Company</company-name>\\n                <address1>123 Oxford</address1>\\n                <address2></address2>\\n                <city>London</city>\\n                <state>NY</state>\\n                <zip>54321</zip>\\n                <country>us</country>\\n                <phone>1800808080</phone>\\n                <fax>1800808080</fax>\\n            </shopper-contact-info>\\n            <shipping-contact-info>\\n                <first-name>Shipping first</first-name>\\n                <last-name>Shipping last</last-name>\\n                <address1>123 Oxford</address1>\\n                <address2></address2>\\n                <city>London</city>\\n                <state>NY</state>\\n                <zip>54321</zip>\\n                <country>us</country>\\n            </shipping-contact-info>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <title>Mr</title>\\n                    <first-name>Shopper first</first-name>\\n                    <last-name>Shopper last</last-name>\\n                    <email>email@email.com</email>\\n                    <company-name>JS Company</company-name>\\n                    <address1>123 Oxford</address1>\\n                    <address2></address2>\\n                    <city>London</city>\\n                    <state>NY</state>\\n                    <zip>54321</zip>\\n                    <country>us</country>\\n                    <phone>1800808080</phone>\\n                    <fax>1800808080</fax>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info/>\\n                <ecps-info>\\n                    <ecp-info>\\n                        <billing-contact-info>\\n                            <first-name>ECP Billing first name</first-name>\\n                            <last-name>ECP Billing last name</last-name>\\n                            <company-name>JS Company</company-name>\\n                            <address1>123 Oxford</address1>\\n                            <address2></address2>\\n                            <city>ny</city>\\n                            <state>NY</state>\\n                            <zip>90210</zip>\\n                            <country>us</country>\\n                        </billing-contact-info>\\n                        <ecp>\\n                            <account-number>4099999992</account-number>\\n                            <routing-number>011075150</routing-number>\\n                            <account-type>CONSUMER_CHECKING</account-type>\\n                            <public-account-number>99992</public-account-number>\\n                            <public-routing-number>75150</public-routing-number>\\n                        </ecp>\\n                    </ecp-info>\\n                </ecps-info>\\n                <balance/>\\n            </payment-info>\\n            <store-id>16060</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>4011943</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19593226</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2176396</sku-id>\\n                    <sku-name>Books 1st book</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>10.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>10.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38532000</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=C9347DB7CAD1718B</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Pending</status>\\n                            <date-due>06-Oct-16</date-due>\\n                            <date-created>06-Oct-16</date-created>\\n                            <amount>10.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>SoftDesc</soft-descriptor>\\n                            <payment-method>Electronic Check Presentment</payment-method>\\n                            <target-balance>BLUESNAP_ACCOUNT</target-balance>\\n                            <paypal-transaction-data/>\\n                            <ecp>\\n                                <account-type>CONSUMER_CHECKING</account-type>\\n                                <public-account-number>99992</public-account-number>\\n                                <public-routing-number>75150</public-routing-number>\\n                            </ecp>\\n                            <invoice-contact-info>\\n                                <title>Mr</title>\\n                                <first-name>Shopper first</first-name>\\n                                <last-name>Shopper last</last-name>\\n                                <email>email@email.com</email>\\n                                <company-name>JS Company</company-name>\\n                                <address1>123 Oxford</address1>\\n                                <city>London</city>\\n                                <state>NY</state>\\n                                <zip>54321</zip>\\n                                <country>us</country>\\n                                <phone>1800808080</phone>\\n                                <fax>1800808080</fax>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2176396</sku-id>\\n                                    <sku-name>Books 1st book</sku-name>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with ACH/ECP info\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>19555022</shopper-id>\\n            <shopper-contact-info>\\n                <first-name>John</first-name>\\n                <last-name> Doe</last-name>\\n                <email>email@email.com</email>\\n                <address1>5 Madison Avenue</address1>\\n                <city>New York</city>\\n                <state>NY</state>\\n                <zip>10010</zip>\\n                <country>us</country>\\n                <phone>0542544857</phone>\\n            </shopper-contact-info>\\n            <shipping-contact-info>\\n                <first-name>John</first-name>\\n                <last-name> Doe</last-name>\\n                <address1>5 Madison Avenue</address1>\\n                <city>New York</city>\\n                <state>NY</state>\\n                <zip>10010</zip>\\n                <country>us</country>\\n            </shipping-contact-info>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <first-name>John</first-name>\\n                    <last-name> Doe</last-name>\\n                    <email>email@email.com</email>\\n                    <address1>5 Madison Avenue</address1>\\n                    <city>New York</city>\\n                    <state>NY</state>\\n                    <zip>10010</zip>\\n                    <country>us</country>\\n                    <phone>0542544857</phone>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info/>\\n                <ecps-info/>\\n                <balance/>\\n            </payment-info>\\n            <store-id>1900</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>3972333</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19555022</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2186654</sku-id>\\n                    <sku-name>Regular Contracts Hundred</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>260.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>260.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38488426</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=3D8A0CFA6AD357C3</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Approved</status>\\n                            <date-due>16-Mar-17</date-due>\\n                            <date-created>16-Mar-17</date-created>\\n                            <amount>260.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>BLS_BS</soft-descriptor>\\n                            <payment-method>Apple Pay</payment-method>\\n                            <target-balance>BLUESNAP_ACCOUNT</target-balance>\\n                            <wallet>\\n                <billing-contact-info>\\n                    <first-name>John</first-name>\\n                    <last-name>Doe</last-name>\\n                    <company-name>ECP Company</company-name>\\n                    <address1>South St</address1>\\n                    <city>Waltham</city>\\n                    <state>MA</state>\\n                    <zip>02453</zip>\\n                </billing-contact-info>\\n                <apple-pay>\\n                    <card-last-four-digits>0492</card-last-four-digits>\\n                    <card-type>VISA</card-type>\\n                    <card-sub-type>DEBIT</card-sub-type>\\n                    <dpan-last-four-digits>4109</dpan-last-four-digits>\\n                    <dpan-expiration-month>11</dpan-expiration-month>\\n                    <dpan-expiration-year>25</dpan-expiration-year>\\n                </apple-pay>                            \\n                </wallet>\\n                          <paypal-transaction-data/>\\n                          <invoice-contact-info>\\n                                <first-name>John</first-name>\\n                                <last-name> Doe</last-name>\\n                                <company-name>ECP Company</company-name>\\n                                <email>email@email.com</email>\\n                                <address1>5 Madison Avenue</address1>\\n                                <city>New York</city>\\n                                <state>NY</state>\\n                                <zip>10010</zip>\\n                                <country>us</country>\\n                                <phone>0542544857</phone>\\n                          </invoice-contact-info>\\n                          <skus>\\n                                <sku>\\n                                    <sku-id>2186654</sku-id>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n        <fraud-result-info>\\n            <device-data-collector>N</device-data-collector>\\n        </fraud-result-info>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>21858941</shopper-id>\\n            <shopper-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe&#x40;email.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market St</address1>\\n                <city>Toulouse</city>\\n                <zip>75654</zip>\\n                <country>fr</country>\\n                <phone>14135556789</phone>\\n                <fax>14135556788</fax>\\n            </shopper-contact-info>\\n            <shipping-contact-info/>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <title>Mr.</title>\\n                    <first-name>John</first-name>\\n                    <last-name>Doe</last-name>\\n                    <email>jdoe&#x40;email.com</email>\\n                    <company-name>JohnDoeAndSons</company-name>\\n                    <address1>138 Market St</address1>\\n                    <city>Toulouse</city>\\n                    <zip>75654</zip>\\n                    <country>fr</country>\\n                    <phone>14135556789</phone>\\n                    <fax>14135556788</fax>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info/>\\n                <ecps-info/>\\n                <sepa-direct-debits-info>\\n                    <sepa-direct-debit-info>\\n                        <billing-contact-info>\\n                            <first-name>John</first-name>\\n                            <last-name>Doe</last-name>\\n                            <address1>138 Market St</address1>\\n                            <city>Toulouse</city>\\n                            <zip>75654</zip>\\n                            <country>fr</country>\\n                        </billing-contact-info>\\n                        <sepa-direct-debit>\\n                            <iban-first-four>DE09</iban-first-four>\\n                            <iban-last-four>7893</iban-last-four>\\n                        </sepa-direct-debit>\\n                    </sepa-direct-debit-info>\\n                </sepa-direct-debits-info>\\n                <balance/>\\n            </payment-info>\\n            <store-id>14912</store-id>\\n            <shopper-currency>EUR</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>5835715</order-id>\\n        <ordering-shopper>\\n            <shopper-id>21858941</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>EUR</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2429827</sku-id>\\n                    <sku-name>sepa prod sepa one time</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>0.73</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>0.73</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>1011296599</invoice-id>\\n                    <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=CDB32EF9D1C572C6436E39BE78BB87E1</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Pending</status>\\n                            <date-due>03-Aug-17</date-due>\\n                            <date-created>03-Aug-17</date-created>\\n                            <amount>0.73</amount>\\n                            <currency>EUR</currency>\\n                            <soft-descriptor>Oooops LTD</soft-descriptor>\\n                            <payment-method>SEPA Direct Debit</payment-method>\\n                            <target-balance>PLIMUS_ACCOUNT</target-balance>\\n                            <paypal-transaction-data/>\\n                            <sepa-direct-debit>\\n                                <iban-first-four>DE09</iban-first-four>\\n                                <iban-last-four>7893</iban-last-four>\\n                                <mandate-id>Ooo157097</mandate-id>\\n                                <mandate-date>03-Aug-17</mandate-date>\\n                                <pre-notification-text>The amount of 0.73 EUR will be collected using SEPA Direct Debit with Mandate Ooo157097 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>\\n                                <pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011296599</pre-notification-translation-ref>\\n                            </sepa-direct-debit>\\n                            <invoice-contact-info>\\n                                <title>Mr.</title>\\n                                <first-name>John</first-name>\\n                                <last-name>Doe</last-name>\\n                                <email>jdoe&#x40;email.com</email>\\n                                <company-name>JohnDoeAndSons</company-name>\\n                                <address1>138 Market St</address1>\\n                                <city>Toulouse</city>\\n                                <zip>75654</zip>\\n                                <country>fr</country>\\n                                <phone>14135556789</phone>\\n                                <fax>14135556788</fax>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2429827</sku-id>\\n                                    <sku-name>sepa prod sepa one time</sku-name>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n        <fraud-result-info>\\n            <device-data-collector>N</device-data-collector>\\n        </fraud-result-info>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with SEPA Direct Debit info\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>19632972</shopper-id>\\n            <username>153053051370318609772522096444212</username>\\n            <password>r788rM1</password>\\n            <shopper-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe&#x40;johndoeandsons.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market st</address1>\\n                <city>San Francisco</city>\\n                <state>CA</state>\\n                <zip>756543</zip>\\n                <country>us</country>\\n                <phone>1413555666</phone>\\n                <fax>1413555666789</fax>\\n            </shopper-contact-info>\\n            <shipping-contact-info/>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <title>Mr.</title>\\n                    <first-name>John</first-name>\\n                    <last-name>Doe</last-name>\\n                    <email>jdoe&#x40;johndoeandsons.com</email>\\n                    <company-name>JohnDoeAndSons</company-name>\\n                    <address1>138 Market st</address1>\\n                    <city>San Francisco</city>\\n                    <state>CA</state>\\n                    <zip>756543</zip>\\n                    <country>us</country>\\n                    <phone>1413555666</phone>\\n                    <fax>1413555666789</fax>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info>\\n                    <credit-card-info>\\n                        <billing-contact-info>\\n                            <first-name>John</first-name>\\n                            <last-name>Doe</last-name>\\n                            <address1>138 Market st</address1>\\n                            <city>San Francisco</city>\\n                            <state>CA</state>\\n                            <zip>756543</zip>\\n                            <country>us</country>\\n                        </billing-contact-info>\\n                        <credit-card>\\n                            <card-last-four-digits>1111</card-last-four-digits>\\n                            <card-type>VISA</card-type>\\n                            <expiration-month>09</expiration-month>\\n                            <expiration-year>2020</expiration-year>\\n                        </credit-card>\\n                        <processing-info/>\\n                    </credit-card-info>\\n                </credit-cards-info>\\n                <ecps-info/>\\n                <sepa-direct-debits-info/>\\n                <balance/>\\n            </payment-info>\\n            <store-id>1980</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>4053523</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19632972</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2187598</sku-id>\\n                    <sku-name>BLUES-3308 test</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>2.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>2.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38583110</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Approved</status>\\n                            <date-due>02-Jul-18</date-due>\\n                            <date-created>02-Jul-18</date-created>\\n                            <amount>2.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>\\n                            <payment-method>Credit Card</payment-method>\\n                            <target-balance>PLIMUS_ACCOUNT</target-balance>\\n                            <credit-card>\\n                                <card-last-four-digits>1111</card-last-four-digits>\\n                                <card-type>Visa</card-type>\\n                                <expiration-month>9</expiration-month>\\n                                <expiration-year>2020</expiration-year>\\n                            </credit-card>\\n                            <paypal-transaction-data/>\\n                            <invoice-contact-info>\\n                                <title>Mr.</title>\\n                                <first-name>John</first-name>\\n                                <last-name>Doe</last-name>\\n                                <email>jdoe&#x40;johndoeandsons.com</email>\\n                                <company-name>JohnDoeAndSons</company-name>\\n                                <address1>138 Market st</address1>\\n                                <city>San Francisco</city>\\n                                <state>CA</state>\\n                                <zip>756543</zip>\\n                                <country>us</country>\\n                                <phone>1413555666</phone>\\n                                <fax>1413555666789</fax>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2187598</sku-id>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n        <fraud-result-info>\\n            <device-data-collector>N</device-data-collector>\\n        </fraud-result-info>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with store card approval\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>19632972</shopper-id>\\n            <shopper-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe&#x40;johndoeandsons.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market st</address1>\\n                <city>San Francisco</city>\\n                <state>CA</state>\\n                <zip>75654</zip>\\n                <country>us</country>\\n                <phone>1413555666</phone>\\n                <fax>1413555666789</fax>\\n            </shopper-contact-info>\\n            <shipping-contact-info/>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <title>Mr.</title>\\n                    <first-name>John</first-name>\\n                    <last-name>Doe</last-name>\\n                    <email>jdoe&#x40;johndoeandsons.com</email>\\n                    <company-name>JohnDoeAndSons</company-name>\\n                    <address1>138 Market st</address1>\\n                    <city>San Francisco</city>\\n                    <state>CA</state>\\n                    <zip>756543</zip>\\n                    <country>us</country>\\n                    <phone>1413555666</phone>\\n                    <fax>1413555666789</fax>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info>\\n                    <credit-card-info>\\n                        <billing-contact-info>\\n                            <first-name>John</first-name>\\n                            <last-name>Doe</last-name>\\n                            <address1>138 Market st</address1>\\n                            <city>San Francisco</city>\\n                            <state>CA</state>\\n                            <zip>756543</zip>\\n                            <country>us</country>\\n                        </billing-contact-info>\\n                        <credit-card>\\n                            <card-last-four-digits>1111</card-last-four-digits>\\n                            <card-type>VISA</card-type>\\n                            <expiration-month>09</expiration-month>\\n                            <expiration-year>2020</expiration-year>\\n                        </credit-card>\\n                        <processing-info/>\\n                    </credit-card-info>\\n                </credit-cards-info>\\n                <ecps-info/>\\n                <sepa-direct-debits-info/>\\n                <balance/>\\n            </payment-info>\\n            <store-id>1980</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>4053523</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19632972</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2187598</sku-id>\\n                    <sku-name>BLUES-3308 test</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>2.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>2.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38583110</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Approved</status>\\n                            <date-due>02-Jul-18</date-due>\\n                            <date-created>02-Jul-18</date-created>\\n                            <amount>2.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>\\n                            <payment-method>Credit Card</payment-method>\\n                            <target-balance>PLIMUS_ACCOUNT</target-balance>\\n                            <credit-card>\\n                                <card-last-four-digits>1111</card-last-four-digits>\\n                                <card-type>Visa</card-type>\\n                                <expiration-month>9</expiration-month>\\n                                <expiration-year>2020</expiration-year>\\n                            </credit-card>\\n                            <paypal-transaction-data/>\\n                            <invoice-contact-info>\\n                                <title>Mr.</title>\\n                                <first-name>John</first-name>\\n                                <last-name>Doe</last-name>\\n                                <email>jdoe&#x40;johndoeandsons.com</email>\\n                                <company-name>JohnDoeAndSons</company-name>\\n                                <address1>138 Market st</address1>\\n                                <city>San Francisco</city>\\n                                <state>CA</state>\\n                                <zip>756543</zip>\\n                                <country>us</country>\\n                                <phone>1413555666</phone>\\n                                <fax>1413555666789</fax>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2187598</sku-id>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n        <fraud-result-info>\\n            <device-data-collector>N</device-data-collector>\\n        </fraud-result-info>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"with Google Pay\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<batch-order xmlns=\\\"http://ws.plimus.com\\\">\\n    <shopper>\\n        <shopper-info>\\n            <shopper-id>19632972</shopper-id>\\n            <shopper-contact-info>\\n                <title>Mr.</title>\\n                <first-name>John</first-name>\\n                <last-name>Doe</last-name>\\n                <email>jdoe&#x40;johndoeandsons.com</email>\\n                <company-name>JohnDoeAndSons</company-name>\\n                <address1>138 Market st</address1>\\n                <city>San Francisco</city>\\n                <state>CA</state>\\n                <zip>75654</zip>\\n                <country>us</country>\\n                <phone>1413555666</phone>\\n                <fax>1413555666789</fax>\\n            </shopper-contact-info>\\n            <shipping-contact-info/>\\n            <invoice-contacts-info>\\n                <invoice-contact-info>\\n                    <default>true</default>\\n                    <title>Mr.</title>\\n                    <first-name>John</first-name>\\n                    <last-name>Doe</last-name>\\n                    <email>jdoe&#x40;johndoeandsons.com</email>\\n                    <company-name>JohnDoeAndSons</company-name>\\n                    <address1>138 Market st</address1>\\n                    <city>San Francisco</city>\\n                    <state>CA</state>\\n                    <zip>756543</zip>\\n                    <country>us</country>\\n                    <phone>1413555666</phone>\\n                    <fax>1413555666789</fax>\\n                </invoice-contact-info>\\n            </invoice-contacts-info>\\n            <payment-info>\\n                <credit-cards-info/>\\n                <ecps-info/>\\n                <sepa-direct-debits-info/>\\n                <balance/>\\n            </payment-info>\\n            <store-id>1980</store-id>\\n            <shopper-currency>USD</shopper-currency>\\n            <locale>en</locale>\\n        </shopper-info>\\n    </shopper>\\n    <order>\\n        <order-id>4053523</order-id>\\n        <ordering-shopper>\\n            <shopper-id>19632972</shopper-id>\\n        </ordering-shopper>\\n        <cart>\\n            <charged-currency>USD</charged-currency>\\n            <cart-item>\\n                <sku>\\n                    <sku-id>2187598</sku-id>\\n                    <sku-name>BLUES-3308 test</sku-name>\\n                </sku>\\n                <quantity>1</quantity>\\n                <item-sub-total>2.00</item-sub-total>\\n            </cart-item>\\n            <tax>0.00</tax>\\n            <tax-rate>0</tax-rate>\\n            <total-cart-cost>2.00</total-cart-cost>\\n        </cart>\\n        <post-sale-info>\\n            <invoices>\\n                <invoice>\\n                    <invoice-id>38583110</invoice-id>\\n                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>\\n                    <financial-transactions>\\n                        <financial-transaction>\\n                            <status>Approved</status>\\n                            <date-due>02-Jul-18</date-due>\\n                            <date-created>02-Jul-18</date-created>\\n                            <amount>2.00</amount>\\n                            <currency>USD</currency>\\n                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>\\n                            <payment-method>Credit Card</payment-method>\\n                            <target-balance>PLIMUS_ACCOUNT</target-balance>\\n                            <wallet>\\n                                <wallet-type>GOOGLE_PAY</wallet-type>\\n                                <billing-contact-info>\\n                                    <first-name>John</first-name>\\n                                    <last-name>Doe</last-name>\\n                                    <address1>138 Market st</address1>\\n                                    <city>San Francisco</city>\\n                                    <state>CA</state>\\n                                    <zip>756543</zip>\\n                                    <country>us</country>\\n                                </billing-contact-info>\\n                                <tokenized-card>\\n                                    <card-last-four-digits>1111</card-last-four-digits>\\n                                    <card-type>VISA</card-type>\\n                                    <card-sub-type>CREDIT</card-sub-type>\\n                                    <dpan-expiration-month>9</dpan-expiration-month>\\n                                    <dpan-expiration-year>2025</dpan-expiration-year>\\n                                    <dpan-last-four-digits>2222</dpan-last-four-digits>\\n                                </tokenized-card>\\n                            </wallet>\\n                            <paypal-transaction-data/>\\n                            <invoice-contact-info>\\n                                <title>Mr.</title>\\n                                <first-name>John</first-name>\\n                                <last-name>Doe</last-name>\\n                                <email>jdoe&#x40;johndoeandsons.com</email>\\n                                <company-name>JohnDoeAndSons</company-name>\\n                                <address1>138 Market st</address1>\\n                                <city>San Francisco</city>\\n                                <state>CA</state>\\n                                <zip>756543</zip>\\n                                <country>us</country>\\n                                <phone>1413555666</phone>\\n                                <fax>1413555666789</fax>\\n                            </invoice-contact-info>\\n                            <skus>\\n                                <sku>\\n                                    <sku-id>2187598</sku-id>\\n                                </sku>\\n                            </skus>\\n                        </financial-transaction>\\n                    </financial-transactions>\\n                </invoice>\\n            </invoices>\\n        </post-sale-info>\\n        <fulfillment>\\n            <license-keys/>\\n        </fulfillment>\\n        <fraud-result-info>\\n            <device-data-collector>N</device-data-collector>\\n        </fraud-result-info>\\n    </order>\\n</batch-order>\",\n      \"language\": \"xml\",\n      \"name\": \"Google Pay with tokenized card\"\n    }\n  ]\n}\n[/block]\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##Example Descriptions\n\n###Create Shopper and Order: with credit card and fraud info\nThe example above shows how to send a credit card (unencrypted) by including a `credit-card-info` property within the `payment-info` resource in your request. See [credit-card-info](doc:credit-card-info). Note that you must meet specific [PCI compliance](/docs/pci-compliance) requirements in order to send unencrypted card details. The credit card will be used for the order and saved in the new shopper.\n\nYou are also required to send additional information for fraud check purposes, including the shopper's unique device fingerprint. Send this info in the `fraud-info` property in your request. See [fraud-info](doc:fraud-info). For more information, see [Fraud prevention](/docs/fraud-prevention).\n\n###Create Shopper and Order: with wallet ID\nTo create an order and shopper with Masterpass or Visa Checkout, including the payment info and billing and shipping info, simply include the `wallet-id` in the request.\n\nFor details, see:\n  * [Masterpass Guide](/docs/masterpass)\n  * [Visa Checkout Guide](/docs/visa-checkout)\n\n###Create Shopper and Order: with Hosted Payment Fields token\nIf you are using BlueSnap's [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields), you can create the order and shopper using the payment information from the Hosted Payment Fields by including the token within the `pf-token` property in your request. Above is an example of a request with the Hosted Payment Fields token.\n\n###Create Shopper and Order: with ACH/ECP info\nTo process an order with the ACH payment method, include the [ecp-info](doc:ecp-info) within the `payment-info` resource in your request.\n\nFor ACH transactions, you must obtain permission from the shopper to debit their account, for example by showing a checkbox with the following wording on your checkout page. *\"I authorize this Electronic Check (ACH) transaction and agree to this debit of my account.\"*\n\nInclude the `authorized-by-shopper` element with the value set to **true** to indicate that you have obtained the shopper's permission. See [ordering-shopper](doc:ordering-shopper).\n\n###Create Shopper and Order: with Apple Pay\nTo process an order with Apple Pay, include the `encoded-payment-token` inside `ordering-shopper` > `wallet` > `apple-pay`. The response will contain a `shopper-id` property - use this ID to process future transactions with the shopper. \n\nFor more information, check out our [Apple Pay Guide](/docs/apple-pay).\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Note:\",\n  \"body\": \"To test Apple Pay, follow the steps in the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app). The API Explorer does not support Apple Pay testing.\"\n}\n[/block]\n###Create Shopper and Order: with SEPA Direct Debit info\nThe above example shows a Create Order and New Shopper request with the SEPA Direct Debit payment method. For SEPA Direct Debit transactions, you must obtain the shopper's acceptance of the [SEPA Direct Debit mandate](/docs/sepa-direct-debit#section-step-1-collect-a-mandate-acceptance-from-your-shopper), authorizing the funds to be pulled from their account. Include the `authorized-by-shopper` property with a value set to **true** to indicate that you've obtained their permission.\n\nA successful response from BlueSnap will include a `mandate-id` and `mandate-date`, whose values identify the shopper's mandate acceptance and the date on which the mandate was accepted, respectively. These two values must be displayed on the post-checkout page, the pre-notification email, and the receipt email. \n\nAdditionally, the response will contain `pre-notification-text` - the standard text (in English) that you must display in the pre-notification email - and `pre-notification-translation-ref` - [Get Pre-Notification Text](/v8976-Tools/docs/get-pre-notification-text) endpoint to obtain text in another language. \n\n###Create Shopper and Order: with store card approval\nThis example shows an Create Shopper and Order request with the `store-card` value set. You will want to use this value to define if the shopper has approved storing their credit card information for future use. The default value is set to true. If set to false, the credit card data will not be stored.\n\n###Create Shopper and Order: with Google Pay\nTo process an order with Google Pay, include the `wallet-type` = GOOGLE_PAY and `encoded-payment-token` inside `ordering-shopper` > `wallet`. Instructions on how to extract the `encoded-payment-token` can be found in the [Google Pay Guide](/docs/google-pay). The response will contain a `shopper-id` property - use this ID to process future transactions with the shopper. \n\nFor more information, check out our [Google Pay Guide](/docs/google-pay).\n\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>","excerpt":"","slug":"create-shopper-and-order","type":"endpoint","title":"Create Order and New Shopper"}

postCreate Order and New Shopper


Definition

https://sandbox.bluesnap.com/services/2/batch/order-placement


Documentation

The Create Order and New Shopper request enables you to create a shopper account and an order in a single request. The created shopper can be used later for recurring payments or future orders.

This is useful when you want to allow guest shoppers to make a purchase, or when you would like to set up a new shopper account at the same time that the order is made. If you’re setting up a new shopper, we recommend that you add a shopper approval box to your checkout page so they have the opportunity to provide their consent to store their payment details; for example:

For more information, see Card on File.

If you wish to place an order for an existing shopper, see the Create Order with Existing Shopper service.

Request Content

batch-order    required, contains the following properties (see batch-order):
      shopper container    required, contains the following properties (see shopper):
         web-info container    required (see web-info)
         fraud-info container    required (see fraud-info)
         shopper-info container    required (see shopper-info)
         wallet-id integer    optional   applicable for Masterpass and Visa Checkout
      order container    required, contains the following properties (see order):
         ordering-shopper container    required (see ordering-shopper)
         cart container    required (see cart)
         expected-total-price container    required (see expected-total-price)
         soft-descriptor string    optional
         descriptor-phone-number string    optional
         affiliate-id long    optional
         seller-order-id string    optional
         store-card boolean    optional

Response Details

If successful, the response HTTP status code is 201 Created.
The Location response header contains the URI of the newly created batch-order resource.
The response body contains the batch-order resource.

For details about possible errors, see: General Errors, Payment & Processor Errors, Shopper Errors, Fraud Errors, Hosted Payment Field Errors, and Wallet Errors.


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <web-info>
      <ip>62.219.121.253</ip>
      <remote-host>www.merchant.com</remote-host>
      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
    </web-info>
    <shopper-info>
      <store-id>10540</store-id>
      <locale>en</locale>
      <shopper-contact-info>
        <title>Mr.</title>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>jdoe@johndoeandsons.com</email>
        <company-name>JohnDoeAndSons</company-name>
        <address1>138 Market St</address1>
        <city>San Francisco</city>
        <zip>75654</zip>
        <state>CA</state>
        <country>US</country>
        <phone>14135556789</phone>
        <fax>14135556788</fax>
      </shopper-contact-info>
      <payment-info>
        <credit-cards-info>
          <credit-card-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market St</address1>
              <city>San Francisco</city>
              <state>CA</state>
              <zip>75654</zip>
              <country>US</country>
            </billing-contact-info>
            <credit-card>
              <card-number>4111 1111 1111 1111</card-number>
              <security-code>123</security-code>
              <card-type>VISA</card-type>
              <expiration-month>09</expiration-month>
              <expiration-year>2019</expiration-year>
            </credit-card>
          </credit-card-info>
        </credit-cards-info>
      </payment-info>
    </shopper-info>
  </shopper>
  <order>
  <store-card>true</store-card>
    <ordering-shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
      <fraud-info>
        <fraud-session-id>1234567890</fraud-session-id>
      </fraud-info>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2183634</sku-id>
        </sku>
        <quantity>1</quantity>
      </cart-item>
    </cart>
    <expected-total-price>
      <amount>50.00</amount>
      <currency>USD</currency>
    </expected-total-price>
  </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
   <shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
      <shopper-info>
         <store-id>11580</store-id>
         <locale>en</locale>
      </shopper-info>
      <wallet-id>21</wallet-id>
   </shopper>
   <order>
      <ordering-shopper>
         <web-info>
            <ip>62.219.121.253</ip>
            <remote-host>www.merchant.com</remote-host>
            <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
         </web-info>
      </ordering-shopper>
      <cart>
         <cart-item>
            <sku>
            <sku-id>2183716</sku-id>
            </sku>
            <quantity>1</quantity>
         </cart-item>
      </cart>
      <expected-total-price>
         <amount>10.00</amount>
         <currency>USD</currency>
      </expected-total-price>
   </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <web-info>
      <ip>62.219.121.253</ip>
      <remote-host>www.merchant.com</remote-host>
      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
    </web-info>
    <shopper-info>
      <store-id>4677</store-id>
      <locale>en</locale>
      <shopper-contact-info>
        <title>Mr.</title>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>jdoe@johndoeandsons.com</email>
        <company-name>JohnDoeAndSons</company-name>
        <address1>138 Market St</address1>
        <city>San Francisco</city>
        <zip>75654</zip>
        <state>CA</state>
        <country>US</country>
        <phone>14135556789</phone>
        <fax>14135556788</fax>
      </shopper-contact-info>
      <payment-info>
        <credit-cards-info>
          <credit-card-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market St</address1>
              <city>San Francisco</city>
              <zip>75654</zip>
              <state>CA</state>
              <country>US</country>
            </billing-contact-info>
            <pf-token>c7c69ff853ab784ef35a0c78ffec08e78cf1d1b5b4bb9e2644c2bcc73f3f818f_1</pf-token>
          </credit-card-info>
        </credit-cards-info>
      </payment-info>
    </shopper-info>
  </shopper>
  <order>
    <ordering-shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2152762</sku-id>
        </sku>
        <quantity>1</quantity>
      </cart-item>
    </cart>
    <expected-total-price>
      <amount>15.00</amount>
      <currency>USD</currency>
    </expected-total-price>
  </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<batch-order xmlns="http://ws.plimus.com">
   <shopper>
      <web-info>
         <ip>62.219.121.253</ip>
         <remote-host>www.merchant.com</remote-host>
         <user-agent>Mozilla/4.0</user-agent>
         <accept-language>en-us</accept-language>
      </web-info>
      <seller-shopper-id />
      <shopper-info>
         <shopper-contact-info>
            <title>Mr</title>
            <first-name>Shopper first</first-name>
            <last-name>Shopper last</last-name>
            <email>a@a.com</email>
            <company-name>JS Company</company-name>
            <address1>123 Oxford</address1>
            <address2 />
            <city>London</city>
            <state>ny</state>
            <zip>54321</zip>
            <country>us</country>
            <phone>1800808080</phone>
            <fax>1800808080</fax>
         </shopper-contact-info>
         <shipping-contact-info>
            <first-name>Shipping first</first-name>
            <last-name>Shipping last</last-name>
            <address1>123 Oxford</address1>
            <address2 />
            <city>London</city>
            <state>ny</state>
            <zip>54321</zip>
            <country>us</country>
         </shipping-contact-info>
         <payment-info>
            <ecps-info>
               <ecp-info>
                  <billing-contact-info>
                     <first-name>ECP Billing first name</first-name>
                     <last-name>ECP Billing last name</last-name>
                     <company-name>JS Company</company-name>
                     <address1>123 Oxford</address1>
                     <address2 />
                     <city>ny</city>
                     <state>ny</state>
                     <zip>90210</zip>
                     <country>us</country>
                  </billing-contact-info>
                  <ecp>
                     <account-number>4099999992</account-number>
                     <routing-number>011075150</routing-number>
                     <account-type>CONSUMER_CHECKING</account-type>
                  </ecp>
               </ecp-info>
            </ecps-info>
         </payment-info>
         <store-id>16060</store-id>
         <shopper-currency>USD</shopper-currency>
      </shopper-info>
   </shopper>
   <order>
      <soft-descriptor>SoftDesc</soft-descriptor>
      <ordering-shopper>
                <authorized-by-shopper>true</authorized-by-shopper>
         <seller-shopper-id />
         <web-info>
            <ip>62.219.121.253</ip>
            <remote-host>www.merchant.com</remote-host>
            <user-agent>Mozilla/4.0</user-agent>
            <accept-language>en-us</accept-language>
         </web-info>
      </ordering-shopper>
      <cart>
         <cart-item>
            <sku>
               <sku-id>2176396</sku-id>
            </sku>
            <quantity>1</quantity>
         </cart-item>
      </cart>
      <expected-total-price>
         <amount>10.00</amount>
         <currency>USD</currency>
      </expected-total-price>
   </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
  <order>
    <ordering-shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
      <wallet>
      	<apple-pay>
      		<encoded-payment-token>eyAgDQogICAidG9rZW4iOnsgIA0KICAgICAgInBheW1lbnREYXRhIjp7ICANCiAgICAgICAgICJkYXRhIjoic1VpSnkxanlWeDFEOEluWWJFUFFRYjFSNTdGazN4QUFBQUFBQUEiLA0KICAgICAgICAgImhlYWRlciI6eyAgDQogICAgICAgICAgICAicHVi==</encoded-payment-token>
      	</apple-pay>
      </wallet>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2186654</sku-id>
        </sku>
        <quantity>1</quantity>
      </cart-item>
    </cart>
    <expected-total-price>
      <amount>260.00</amount>
      <currency>USD</currency>
    </expected-total-price>
  </order>
</batch-order>
 curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
 <batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <web-info>
      <ip>62.219.121.253</ip>
      <remote-host>www.merchant.com</remote-host>
      <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
    </web-info>
    <shopper-info>
      <store-id>14912</store-id>
      <locale>en</locale>
      <shopper-contact-info>
        <title>Mr.</title>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>jdoe@email.com</email>
        <company-name>JohnDoeAndSons</company-name>
        <address1>138 Market St</address1>
        <city>Toulouse</city>
        <zip>75654</zip>
        <country>FR</country>
        <phone>14135556789</phone>
        <fax>14135556788</fax>
      </shopper-contact-info>
      <payment-info>
      <sepa-direct-debits-info>
        <sepa-direct-debit-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market St</address1>
              <city>Toulouse</city>
              <zip>75654</zip>
              <country>FR</country>
            </billing-contact-info>
          <sepa-direct-debit>
            <iban>DE09100100101234567893</iban>
          </sepa-direct-debit>
        </sepa-direct-debit-info>
      </sepa-direct-debits-info>
      </payment-info>
    </shopper-info>
  </shopper>
  <order>
    <ordering-shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
   <authorized-by-shopper>true</authorized-by-shopper>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2429827</sku-id>
        </sku>
        <quantity>1</quantity>
      </cart-item>
    </cart>
    <expected-total-price>
      <amount>11.73</amount>
      <currency>EUR</currency>
    </expected-total-price>
  </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <web-info>
      <ip>62.219.121.253</ip>
      <remote-host>bzq-219-121-253.static.bezeqint.net.reinventhosting.com</remote-host>
      <user-agent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.3; .NET CLR 2.0.50727)</user-agent>
      <accept-language>en-us</accept-language>
    </web-info>
    <seller-shopper-id/>
    <shopper-info>
      <shopper-contact-info>
        <title>Mr</title>
        <first-name>Lena</first-name>
        <last-name>Kop</last-name>
        <email>test@test.com</email>
        <company-name>Bluesnap</company-name>
        <address1>123 Oxford</address1>
        <address2/>
        <city>London</city>
        <state>ca</state>
        <zip>54321</zip>
        <country>us</country>
        <phone>1800808080</phone>
        <fax>9999947238292</fax>
      </shopper-contact-info>
      <shipping-contact-info>
        <first-name>Shipping first name</first-name>
        <last-name>Shipping last name</last-name>
        <address1>123 Oxford</address1>
        <address2/>
        <city>London</city>
        <state>ny</state>
        <zip>54321</zip>
        <country>us</country>
      </shipping-contact-info>
      <payment-info>
        <credit-cards-info>
          <credit-card-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market st</address1>
              <city>San Francisco</city>
              <zip>756543</zip>
              <state>CA</state>
              <country>US</country>
            </billing-contact-info>
            <credit-card>
              <card-number>4012 0000 3333 0026</card-number>
              <card-type>VISA</card-type>
              <expiration-month>12</expiration-month>
              <expiration-year>2021</expiration-year>
              <security-code>111</security-code>
            </credit-card>
          </credit-card-info>
        </credit-cards-info>
      </payment-info>
      <store-id>1980</store-id>
      <shopper-currency>USD</shopper-currency>
      <locale>en</locale>
    </shopper-info>
  </shopper>
  <order>
    <soft-descriptor>DescTest</soft-descriptor>
    <ordering-shopper>
      <seller-shopper-id/>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>bzq-219-121-253.static.bezeqint.net.reinventhosting.com</remote-host>
        <user-agent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.3; .NET CLR 2.0.50727)</user-agent>
        <accept-language>en-us</accept-language>
      </web-info>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2201396</sku-id>
          <price>
            <amount/>
            <currency/>
          </price>
          <soft-descriptor>DescTest</soft-descriptor>
        </sku>
        <quantity>1</quantity>
      </cart-item>
      <cdod>false</cdod>
    </cart>
    <expected-total-price>
      <amount>25.00</amount>
     <currency>USD</currency>
    </expected-total-price>
    <store-card>false</store-card>
  </order>
</batch-order>
curl -v -X POST https://sandbox.bluesnap.com/services/2/batch/order-placement \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<batch-order xmlns="http://ws.plimus.com">
  <order>
    <ordering-shopper>
      <web-info>
        <ip>62.219.121.253</ip>
        <remote-host>www.merchant.com</remote-host>
        <user-agent>Mozilla/5.0 (Linux; X11)</user-agent>
      </web-info>
      <wallet>
      	<wallet-type>GOOGLE_PAY</wallet-type>
        <encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>
      </wallet>
    </ordering-shopper>
    <cart>
      <cart-item>
        <sku>
          <sku-id>2186654</sku-id>
        </sku>
        <quantity>1</quantity>
      </cart-item>
    </cart>
    <expected-total-price>
      <amount>260.00</amount>
      <currency>USD</currency>
    </expected-total-price>
  </order>
</batch-order>

Response Examples

<?xml version="1.0" encoding="UTF-8"?>
<batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <shopper-info>
      <shopper-contact-info>
        <title>Mr.</title>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>jdoe@johndoeandsons.com</email>
        <company-name>JohnDoeAndSons</company-name>
        <address1>138 Market St</address1>
        <city>San Francisco</city>
        <state>CA</state>
        <zip>75654</zip>
        <country>US</country>
        <phone>14135556789</phone>
        <fax>14135556788</fax>
      </shopper-contact-info>
      <shipping-contact-info />
      <invoice-contacts-info>
        <invoice-contact-info>
          <default>true</default>
          <title>Mr.</title>
          <first-name>John</first-name>
          <last-name>Doe</last-name>
          <email>jdoe@johndoeandsons.com</email>
          <company-name>JohnDoeAndSons</company-name>
          <address1>138 Market St</address1>
          <city>San Francisco</city>
          <state>CA</state>
          <zip>75654</zip>
          <country>US</country>
          <phone>14135556789</phone>
          <fax>14135556788</fax>
        </invoice-contact-info>
      </invoice-contacts-info>
      <payment-info>
        <credit-cards-info>
          <credit-card-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market St</address1>
              <city>San Francisco</city>
              <state>CA</state>
              <zip>75654</zip>
              <country>US</country>
            </billing-contact-info>
            <credit-card>
              <card-last-four-digits>1111</card-last-four-digits>
              <card-type>VISA</card-type>
              <card-sub-type>CREDIT</card-sub-type>
              <card-category>CLASSIC</card-category>
            </credit-card>
          </credit-card-info>
        </credit-cards-info>
        <ecps-info />
        <balance />
      </payment-info>
      <store-id>10540</store-id>
      <shopper-currency>USD</shopper-currency>
      <locale>en</locale>
    </shopper-info>
  </shopper>
  <order>
    <order-id>3950743</order-id>
    <ordering-shopper>
      <shopper-id>19576544</shopper-id>
    </ordering-shopper>
    <cart>
      <charged-currency>USD</charged-currency>
      <cart-item>
        <sku>
          <sku-id>2183634</sku-id>
          <sku-name>Example Product Example SKU</sku-name>
        </sku>
        <quantity>1</quantity>
        <item-sub-total>1.00</item-sub-total>
      </cart-item>
      <tax>0.00</tax>
      <tax-rate>0</tax-rate>
      <total-cart-cost>1.00</total-cart-cost>
    </cart>
    <post-sale-info>
      <invoices>
        <invoice>
          <invoice-id>1008856044</invoice-id>
          <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=AFD7311386AA2F3E284B0AA5582813A3</url>
          <financial-transactions>
            <financial-transaction>
              <status>Approved</status>
              <date-due>20-Oct-18</date-due>
              <date-created>20-Oct-18</date-created>
              <amount>1.00</amount>
              <currency>USD</currency>
              <soft-descriptor>BLS*JohnDoe</soft-descriptor>
              <payment-method>Credit Card</payment-method>
              <target-balance>BLUESNAP_ACCOUNT</target-balance>
              <credit-card>
                <card-last-four-digits>1111</card-last-four-digits>
                <card-type>Visa</card-type>
                <card-sub-type>CREDIT</card-sub-type>
                <card-category>CLASSIC</card-category>
                <expiration-month>9</expiration-month>
                <expiration-year>2019</expiration-year>
              </credit-card>
              <paypal-transaction-data />
              <invoice-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe@johndoeandsons.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market St</address1>
                <city>San Francisco</city>
                <state>CA</state>
                <zip>75654</zip>
                <country>US</country>
                <phone>14135556789</phone>
                <fax>14135556788</fax>
              </invoice-contact-info>
              <skus>
                <sku>
                  <sku-id>2152762</sku-id>
                </sku>
              </skus>
            </financial-transaction>
          </financial-transactions>
        </invoice>
      </invoices>
    </post-sale-info>
    <fulfillment>
      <license-keys />
      <download-links>
        <sku-download-link>
          <sku-id>2183634</sku-id>
          <sku-name>Example Product Example SKU</sku-name>
          <download-link>https://sandbox.bluesnap.com/jsp/dlapp.jsp?ref=1008856052C2152762C1256344</download-link>
        </sku-download-link>
      </download-links>
    </fulfillment>
  </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-contact-info>
                <first-name>Joe</first-name>
                <last-name>Test</last-name>
                <email>joe.test@email.com</email>
                <address1>123 Street</address1>
                <city>City</city>
                <state>CA</state>
                <zip>90001</zip>
                <country>US</country>
                <phone>19876543210</phone>
            </shopper-contact-info>
            <shipping-contact-info>
                <first-name>Joe</first-name>
                <last-name>Test</last-name>
                <address1>123 Street</address1>
                <city>New York</city>
                <state>NY</state>
                <zip>10005</zip>
                <country>US</country>
            </shipping-contact-info>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <first-name>JOE</first-name>
                    <last-name>Test</last-name>
                    <email>joe.test@example.com</email>
                    <address1>123 Street</address1>
                    <city>City</city>
                    <state>CA</state>
                    <zip>90001</zip>
                    <country>us</country>
                    <phone>19876543210</phone>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info>
                    <credit-card-info>
                        <billing-contact-info>
                            <first-name>Joe</first-name>
                            <last-name>Test</last-name>
                            <address1>123 Street</address1>
                            <city>City</city>
                            <state>CA</state>
                            <zip>90001</zip>
                            <country>us</country>
                        </billing-contact-info>
                        <credit-card>
                            <card-last-four-digits>8130</card-last-four-digits>
                            <card-type>MASTERCARD</card-type>
                            <card-sub-type>DEBIT</card-sub-type>
                        </credit-card>
                        <processing-info/>
                    </credit-card-info>
                </credit-cards-info>
                <ecps-info/>
                <balance/>
            </payment-info>
            <store-id>11580</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>3991955</order-id>
        <ordering-shopper>
            <shopper-id>19574166</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2183716</sku-id>
                    <sku-name>Books Book 4</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>10.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>10.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38512196</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=9F5E1A1BBDE6EBE1</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Pending</status>
                            <date-due>08-May-18</date-due>
                            <date-created>08-May-18</date-created>
                            <amount>10.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>BLS*JoeTest</soft-descriptor>
                            <payment-method>Credit Card</payment-method>
                            <target-balance>BLUESNAP_ACCOUNT</target-balance>
                            <credit-card>
                                <card-last-four-digits>8130</card-last-four-digits>
                                <card-type>Master Card</card-type>
                                <card-sub-type>CREDIT</card-sub-type>
                                <expiration-month>5</expiration-month>
                                <expiration-year>2021</expiration-year>
                            </credit-card>
                            <paypal-transaction-data/>
                            <invoice-contact-info>
                                <first-name>Joe</first-name>
                                <last-name>Test</last-name>
                                <email>joe.test@email.com</email>
                                <address1>123 Street</address1>
                                <city>City</city>
                                <state>CA</state>
                                <zip>90001</zip>
                                <country>us</country>
                                <phone>19876543210</phone>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2183716</sku-id>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<batch-order xmlns="http://ws.plimus.com">
  <shopper>
    <shopper-info>
      <shopper-contact-info>
        <title>Mr.</title>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>jdoe@johndoeandsons.com</email>
        <company-name>JohnDoeAndSons</company-name>
        <address1>138 Market St</address1>
        <city>San Francisco</city>
        <state>CA</state>
        <zip>75654</zip>
        <country>us</country>
        <phone>14135556789</phone>
        <fax>14135556788</fax>
      </shopper-contact-info>
      <shipping-contact-info/>
      <invoice-contacts-info>
        <invoice-contact-info>
          <default>true</default>
          <title>Mr.</title>
          <first-name>John</first-name>
          <last-name>Doe</last-name>
          <email>jdoe@johndoeandsons.com</email>
          <company-name>JohnDoeAndSons</company-name>
          <address1>138 Market St</address1>
          <city>San Francisco</city>
          <state>CA</state>
          <zip>75654</zip>
          <country>US</country>
          <phone>14135556789</phone>
          <fax>14135556788</fax>
        </invoice-contact-info>
      </invoice-contacts-info>
      <payment-info>
        <credit-cards-info>
          <credit-card-info>
            <billing-contact-info>
              <first-name>John</first-name>
              <last-name>Doe</last-name>
              <address1>138 Market St</address1>
              <city>San Francisco</city>
              <state>CA</state>
              <zip>75654</zip>
              <country>US</country>
            </billing-contact-info>
            <credit-card>
              <card-last-four-digits>1111</card-last-four-digits>
              <card-type>VISA</card-type>
              <card-sub-type>CREDIT</card-sub-type>
              <card-category>CLASSIC</card-category>
            </credit-card>
          </credit-card-info>
        </credit-cards-info>
        <ecps-info/>
        <balance/>
      </payment-info>
      <store-id>4677</store-id>
      <shopper-currency>USD</shopper-currency>
      <locale>en</locale>
    </shopper-info>
  </shopper>
  <order>
    <order-id>3950741</order-id>
    <ordering-shopper>
      <shopper-id>19576518</shopper-id>
    </ordering-shopper>
    <cart>
      <charged-currency>USD</charged-currency>
      <cart-item>
        <sku>
          <sku-id>2152762</sku-id>
          <sku-name>Example Product Example SKU</sku-name>
        </sku>
        <quantity>1</quantity>
        <item-sub-total>15.00</item-sub-total>
      </cart-item>
      <tax>0.00</tax>
      <tax-rate>0</tax-rate>
      <total-cart-cost>15.00</total-cart-cost>
    </cart>
    <post-sale-info>
      <invoices>
        <invoice>
          <invoice-id>1008856052</invoice-id>
          <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=AFD7311386AA2F3E284B0AA5582813B6</url>
          <financial-transactions>
            <financial-transaction>
              <status>Approved</status>
              <date-due>20-Oct-18</date-due>
              <date-created>20-Oct-18</date-created>
              <amount>15.00</amount>
              <currency>USD</currency>
              <soft-descriptor>BLS*JohnDoe</soft-descriptor>
              <payment-method>Credit Card</payment-method>
              <target-balance>BLUESNAP_ACCOUNT</target-balance>
              <credit-card>
                <card-last-four-digits>1111</card-last-four-digits>
                <card-type>Visa</card-type>
                <expiration-month>9</expiration-month>
                <expiration-year>2019</expiration-year>
              </credit-card>
              <paypal-transaction-data/>
              <invoice-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe@johndoeandsons.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market St</address1>
                <city>San Francisco</city>
                <state>CA</state>
                <zip>75654</zip>
                <country>US</country>
                <phone>14135556789</phone>
                <fax>14135556788</fax>
              </invoice-contact-info>
              <skus>
                <sku>
                  <sku-id>2152762</sku-id>
                </sku>
              </skus>
            </financial-transaction>
          </financial-transactions>
        </invoice>
      </invoices>
    </post-sale-info>
    <fulfillment>
      <license-keys/>
      <download-links>
        <sku-download-link>
          <sku-id>2152762</sku-id>
          <sku-name>Example Product Example SKU</sku-name>
          <download-link>https://sandbox.bluesnap.com/jsp/dlapp.jsp?ref=1008856052C2152762C12563186</download-link>
        </sku-download-link>
      </download-links>
    </fulfillment>
  </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>19593226</shopper-id>
            <shopper-contact-info>
                <title>Mr</title>
                <first-name>Shopper first</first-name>
                <last-name>Shopper last</last-name>
                <email>email@email.com</email>
                <company-name>JS Company</company-name>
                <address1>123 Oxford</address1>
                <address2></address2>
                <city>London</city>
                <state>NY</state>
                <zip>54321</zip>
                <country>us</country>
                <phone>1800808080</phone>
                <fax>1800808080</fax>
            </shopper-contact-info>
            <shipping-contact-info>
                <first-name>Shipping first</first-name>
                <last-name>Shipping last</last-name>
                <address1>123 Oxford</address1>
                <address2></address2>
                <city>London</city>
                <state>NY</state>
                <zip>54321</zip>
                <country>us</country>
            </shipping-contact-info>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <title>Mr</title>
                    <first-name>Shopper first</first-name>
                    <last-name>Shopper last</last-name>
                    <email>email@email.com</email>
                    <company-name>JS Company</company-name>
                    <address1>123 Oxford</address1>
                    <address2></address2>
                    <city>London</city>
                    <state>NY</state>
                    <zip>54321</zip>
                    <country>us</country>
                    <phone>1800808080</phone>
                    <fax>1800808080</fax>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info/>
                <ecps-info>
                    <ecp-info>
                        <billing-contact-info>
                            <first-name>ECP Billing first name</first-name>
                            <last-name>ECP Billing last name</last-name>
                            <company-name>JS Company</company-name>
                            <address1>123 Oxford</address1>
                            <address2></address2>
                            <city>ny</city>
                            <state>NY</state>
                            <zip>90210</zip>
                            <country>us</country>
                        </billing-contact-info>
                        <ecp>
                            <account-number>4099999992</account-number>
                            <routing-number>011075150</routing-number>
                            <account-type>CONSUMER_CHECKING</account-type>
                            <public-account-number>99992</public-account-number>
                            <public-routing-number>75150</public-routing-number>
                        </ecp>
                    </ecp-info>
                </ecps-info>
                <balance/>
            </payment-info>
            <store-id>16060</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>4011943</order-id>
        <ordering-shopper>
            <shopper-id>19593226</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2176396</sku-id>
                    <sku-name>Books 1st book</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>10.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>10.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38532000</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=C9347DB7CAD1718B</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Pending</status>
                            <date-due>06-Oct-16</date-due>
                            <date-created>06-Oct-16</date-created>
                            <amount>10.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>SoftDesc</soft-descriptor>
                            <payment-method>Electronic Check Presentment</payment-method>
                            <target-balance>BLUESNAP_ACCOUNT</target-balance>
                            <paypal-transaction-data/>
                            <ecp>
                                <account-type>CONSUMER_CHECKING</account-type>
                                <public-account-number>99992</public-account-number>
                                <public-routing-number>75150</public-routing-number>
                            </ecp>
                            <invoice-contact-info>
                                <title>Mr</title>
                                <first-name>Shopper first</first-name>
                                <last-name>Shopper last</last-name>
                                <email>email@email.com</email>
                                <company-name>JS Company</company-name>
                                <address1>123 Oxford</address1>
                                <city>London</city>
                                <state>NY</state>
                                <zip>54321</zip>
                                <country>us</country>
                                <phone>1800808080</phone>
                                <fax>1800808080</fax>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2176396</sku-id>
                                    <sku-name>Books 1st book</sku-name>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>19555022</shopper-id>
            <shopper-contact-info>
                <first-name>John</first-name>
                <last-name> Doe</last-name>
                <email>email@email.com</email>
                <address1>5 Madison Avenue</address1>
                <city>New York</city>
                <state>NY</state>
                <zip>10010</zip>
                <country>us</country>
                <phone>0542544857</phone>
            </shopper-contact-info>
            <shipping-contact-info>
                <first-name>John</first-name>
                <last-name> Doe</last-name>
                <address1>5 Madison Avenue</address1>
                <city>New York</city>
                <state>NY</state>
                <zip>10010</zip>
                <country>us</country>
            </shipping-contact-info>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <first-name>John</first-name>
                    <last-name> Doe</last-name>
                    <email>email@email.com</email>
                    <address1>5 Madison Avenue</address1>
                    <city>New York</city>
                    <state>NY</state>
                    <zip>10010</zip>
                    <country>us</country>
                    <phone>0542544857</phone>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info/>
                <ecps-info/>
                <balance/>
            </payment-info>
            <store-id>1900</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>3972333</order-id>
        <ordering-shopper>
            <shopper-id>19555022</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2186654</sku-id>
                    <sku-name>Regular Contracts Hundred</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>260.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>260.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38488426</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=3D8A0CFA6AD357C3</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Approved</status>
                            <date-due>16-Mar-17</date-due>
                            <date-created>16-Mar-17</date-created>
                            <amount>260.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>BLS_BS</soft-descriptor>
                            <payment-method>Apple Pay</payment-method>
                            <target-balance>BLUESNAP_ACCOUNT</target-balance>
                            <wallet>
                <billing-contact-info>
                    <first-name>John</first-name>
                    <last-name>Doe</last-name>
                    <company-name>ECP Company</company-name>
                    <address1>South St</address1>
                    <city>Waltham</city>
                    <state>MA</state>
                    <zip>02453</zip>
                </billing-contact-info>
                <apple-pay>
                    <card-last-four-digits>0492</card-last-four-digits>
                    <card-type>VISA</card-type>
                    <card-sub-type>DEBIT</card-sub-type>
                    <dpan-last-four-digits>4109</dpan-last-four-digits>
                    <dpan-expiration-month>11</dpan-expiration-month>
                    <dpan-expiration-year>25</dpan-expiration-year>
                </apple-pay>                            
                </wallet>
                          <paypal-transaction-data/>
                          <invoice-contact-info>
                                <first-name>John</first-name>
                                <last-name> Doe</last-name>
                                <company-name>ECP Company</company-name>
                                <email>email@email.com</email>
                                <address1>5 Madison Avenue</address1>
                                <city>New York</city>
                                <state>NY</state>
                                <zip>10010</zip>
                                <country>us</country>
                                <phone>0542544857</phone>
                          </invoice-contact-info>
                          <skus>
                                <sku>
                                    <sku-id>2186654</sku-id>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
        <fraud-result-info>
            <device-data-collector>N</device-data-collector>
        </fraud-result-info>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>21858941</shopper-id>
            <shopper-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe&#x40;email.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market St</address1>
                <city>Toulouse</city>
                <zip>75654</zip>
                <country>fr</country>
                <phone>14135556789</phone>
                <fax>14135556788</fax>
            </shopper-contact-info>
            <shipping-contact-info/>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <title>Mr.</title>
                    <first-name>John</first-name>
                    <last-name>Doe</last-name>
                    <email>jdoe&#x40;email.com</email>
                    <company-name>JohnDoeAndSons</company-name>
                    <address1>138 Market St</address1>
                    <city>Toulouse</city>
                    <zip>75654</zip>
                    <country>fr</country>
                    <phone>14135556789</phone>
                    <fax>14135556788</fax>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info/>
                <ecps-info/>
                <sepa-direct-debits-info>
                    <sepa-direct-debit-info>
                        <billing-contact-info>
                            <first-name>John</first-name>
                            <last-name>Doe</last-name>
                            <address1>138 Market St</address1>
                            <city>Toulouse</city>
                            <zip>75654</zip>
                            <country>fr</country>
                        </billing-contact-info>
                        <sepa-direct-debit>
                            <iban-first-four>DE09</iban-first-four>
                            <iban-last-four>7893</iban-last-four>
                        </sepa-direct-debit>
                    </sepa-direct-debit-info>
                </sepa-direct-debits-info>
                <balance/>
            </payment-info>
            <store-id>14912</store-id>
            <shopper-currency>EUR</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>5835715</order-id>
        <ordering-shopper>
            <shopper-id>21858941</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>EUR</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2429827</sku-id>
                    <sku-name>sepa prod sepa one time</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>0.73</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>0.73</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>1011296599</invoice-id>
                    <url>https://sandbox.bluesnap.com/jsp/show_invoice.jsp?ref=CDB32EF9D1C572C6436E39BE78BB87E1</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Pending</status>
                            <date-due>03-Aug-17</date-due>
                            <date-created>03-Aug-17</date-created>
                            <amount>0.73</amount>
                            <currency>EUR</currency>
                            <soft-descriptor>Oooops LTD</soft-descriptor>
                            <payment-method>SEPA Direct Debit</payment-method>
                            <target-balance>PLIMUS_ACCOUNT</target-balance>
                            <paypal-transaction-data/>
                            <sepa-direct-debit>
                                <iban-first-four>DE09</iban-first-four>
                                <iban-last-four>7893</iban-last-four>
                                <mandate-id>Ooo157097</mandate-id>
                                <mandate-date>03-Aug-17</mandate-date>
                                <pre-notification-text>The amount of 0.73 EUR will be collected using SEPA Direct Debit with Mandate Ooo157097 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
                                <pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011296599</pre-notification-translation-ref>
                            </sepa-direct-debit>
                            <invoice-contact-info>
                                <title>Mr.</title>
                                <first-name>John</first-name>
                                <last-name>Doe</last-name>
                                <email>jdoe&#x40;email.com</email>
                                <company-name>JohnDoeAndSons</company-name>
                                <address1>138 Market St</address1>
                                <city>Toulouse</city>
                                <zip>75654</zip>
                                <country>fr</country>
                                <phone>14135556789</phone>
                                <fax>14135556788</fax>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2429827</sku-id>
                                    <sku-name>sepa prod sepa one time</sku-name>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
        <fraud-result-info>
            <device-data-collector>N</device-data-collector>
        </fraud-result-info>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>19632972</shopper-id>
            <username>153053051370318609772522096444212</username>
            <password>r788rM1</password>
            <shopper-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe&#x40;johndoeandsons.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market st</address1>
                <city>San Francisco</city>
                <state>CA</state>
                <zip>756543</zip>
                <country>us</country>
                <phone>1413555666</phone>
                <fax>1413555666789</fax>
            </shopper-contact-info>
            <shipping-contact-info/>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <title>Mr.</title>
                    <first-name>John</first-name>
                    <last-name>Doe</last-name>
                    <email>jdoe&#x40;johndoeandsons.com</email>
                    <company-name>JohnDoeAndSons</company-name>
                    <address1>138 Market st</address1>
                    <city>San Francisco</city>
                    <state>CA</state>
                    <zip>756543</zip>
                    <country>us</country>
                    <phone>1413555666</phone>
                    <fax>1413555666789</fax>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info>
                    <credit-card-info>
                        <billing-contact-info>
                            <first-name>John</first-name>
                            <last-name>Doe</last-name>
                            <address1>138 Market st</address1>
                            <city>San Francisco</city>
                            <state>CA</state>
                            <zip>756543</zip>
                            <country>us</country>
                        </billing-contact-info>
                        <credit-card>
                            <card-last-four-digits>1111</card-last-four-digits>
                            <card-type>VISA</card-type>
                            <expiration-month>09</expiration-month>
                            <expiration-year>2020</expiration-year>
                        </credit-card>
                        <processing-info/>
                    </credit-card-info>
                </credit-cards-info>
                <ecps-info/>
                <sepa-direct-debits-info/>
                <balance/>
            </payment-info>
            <store-id>1980</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>4053523</order-id>
        <ordering-shopper>
            <shopper-id>19632972</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2187598</sku-id>
                    <sku-name>BLUES-3308 test</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>2.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>2.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38583110</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Approved</status>
                            <date-due>02-Jul-18</date-due>
                            <date-created>02-Jul-18</date-created>
                            <amount>2.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>
                            <payment-method>Credit Card</payment-method>
                            <target-balance>PLIMUS_ACCOUNT</target-balance>
                            <credit-card>
                                <card-last-four-digits>1111</card-last-four-digits>
                                <card-type>Visa</card-type>
                                <expiration-month>9</expiration-month>
                                <expiration-year>2020</expiration-year>
                            </credit-card>
                            <paypal-transaction-data/>
                            <invoice-contact-info>
                                <title>Mr.</title>
                                <first-name>John</first-name>
                                <last-name>Doe</last-name>
                                <email>jdoe&#x40;johndoeandsons.com</email>
                                <company-name>JohnDoeAndSons</company-name>
                                <address1>138 Market st</address1>
                                <city>San Francisco</city>
                                <state>CA</state>
                                <zip>756543</zip>
                                <country>us</country>
                                <phone>1413555666</phone>
                                <fax>1413555666789</fax>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2187598</sku-id>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
        <fraud-result-info>
            <device-data-collector>N</device-data-collector>
        </fraud-result-info>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>19632972</shopper-id>
            <shopper-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe&#x40;johndoeandsons.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market st</address1>
                <city>San Francisco</city>
                <state>CA</state>
                <zip>75654</zip>
                <country>us</country>
                <phone>1413555666</phone>
                <fax>1413555666789</fax>
            </shopper-contact-info>
            <shipping-contact-info/>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <title>Mr.</title>
                    <first-name>John</first-name>
                    <last-name>Doe</last-name>
                    <email>jdoe&#x40;johndoeandsons.com</email>
                    <company-name>JohnDoeAndSons</company-name>
                    <address1>138 Market st</address1>
                    <city>San Francisco</city>
                    <state>CA</state>
                    <zip>756543</zip>
                    <country>us</country>
                    <phone>1413555666</phone>
                    <fax>1413555666789</fax>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info>
                    <credit-card-info>
                        <billing-contact-info>
                            <first-name>John</first-name>
                            <last-name>Doe</last-name>
                            <address1>138 Market st</address1>
                            <city>San Francisco</city>
                            <state>CA</state>
                            <zip>756543</zip>
                            <country>us</country>
                        </billing-contact-info>
                        <credit-card>
                            <card-last-four-digits>1111</card-last-four-digits>
                            <card-type>VISA</card-type>
                            <expiration-month>09</expiration-month>
                            <expiration-year>2020</expiration-year>
                        </credit-card>
                        <processing-info/>
                    </credit-card-info>
                </credit-cards-info>
                <ecps-info/>
                <sepa-direct-debits-info/>
                <balance/>
            </payment-info>
            <store-id>1980</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>4053523</order-id>
        <ordering-shopper>
            <shopper-id>19632972</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2187598</sku-id>
                    <sku-name>BLUES-3308 test</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>2.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>2.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38583110</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Approved</status>
                            <date-due>02-Jul-18</date-due>
                            <date-created>02-Jul-18</date-created>
                            <amount>2.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>
                            <payment-method>Credit Card</payment-method>
                            <target-balance>PLIMUS_ACCOUNT</target-balance>
                            <credit-card>
                                <card-last-four-digits>1111</card-last-four-digits>
                                <card-type>Visa</card-type>
                                <expiration-month>9</expiration-month>
                                <expiration-year>2020</expiration-year>
                            </credit-card>
                            <paypal-transaction-data/>
                            <invoice-contact-info>
                                <title>Mr.</title>
                                <first-name>John</first-name>
                                <last-name>Doe</last-name>
                                <email>jdoe&#x40;johndoeandsons.com</email>
                                <company-name>JohnDoeAndSons</company-name>
                                <address1>138 Market st</address1>
                                <city>San Francisco</city>
                                <state>CA</state>
                                <zip>756543</zip>
                                <country>us</country>
                                <phone>1413555666</phone>
                                <fax>1413555666789</fax>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2187598</sku-id>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
        <fraud-result-info>
            <device-data-collector>N</device-data-collector>
        </fraud-result-info>
    </order>
</batch-order>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-order xmlns="http://ws.plimus.com">
    <shopper>
        <shopper-info>
            <shopper-id>19632972</shopper-id>
            <shopper-contact-info>
                <title>Mr.</title>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>jdoe&#x40;johndoeandsons.com</email>
                <company-name>JohnDoeAndSons</company-name>
                <address1>138 Market st</address1>
                <city>San Francisco</city>
                <state>CA</state>
                <zip>75654</zip>
                <country>us</country>
                <phone>1413555666</phone>
                <fax>1413555666789</fax>
            </shopper-contact-info>
            <shipping-contact-info/>
            <invoice-contacts-info>
                <invoice-contact-info>
                    <default>true</default>
                    <title>Mr.</title>
                    <first-name>John</first-name>
                    <last-name>Doe</last-name>
                    <email>jdoe&#x40;johndoeandsons.com</email>
                    <company-name>JohnDoeAndSons</company-name>
                    <address1>138 Market st</address1>
                    <city>San Francisco</city>
                    <state>CA</state>
                    <zip>756543</zip>
                    <country>us</country>
                    <phone>1413555666</phone>
                    <fax>1413555666789</fax>
                </invoice-contact-info>
            </invoice-contacts-info>
            <payment-info>
                <credit-cards-info/>
                <ecps-info/>
                <sepa-direct-debits-info/>
                <balance/>
            </payment-info>
            <store-id>1980</store-id>
            <shopper-currency>USD</shopper-currency>
            <locale>en</locale>
        </shopper-info>
    </shopper>
    <order>
        <order-id>4053523</order-id>
        <ordering-shopper>
            <shopper-id>19632972</shopper-id>
        </ordering-shopper>
        <cart>
            <charged-currency>USD</charged-currency>
            <cart-item>
                <sku>
                    <sku-id>2187598</sku-id>
                    <sku-name>BLUES-3308 test</sku-name>
                </sku>
                <quantity>1</quantity>
                <item-sub-total>2.00</item-sub-total>
            </cart-item>
            <tax>0.00</tax>
            <tax-rate>0</tax-rate>
            <total-cart-cost>2.00</total-cart-cost>
        </cart>
        <post-sale-info>
            <invoices>
                <invoice>
                    <invoice-id>38583110</invoice-id>
                    <url>http://localhost:8080/jsp/show_invoice.jsp?ref=7679CAFC4C2282AB</url>
                    <financial-transactions>
                        <financial-transaction>
                            <status>Approved</status>
                            <date-due>02-Jul-18</date-due>
                            <date-created>02-Jul-18</date-created>
                            <amount>2.00</amount>
                            <currency>USD</currency>
                            <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>
                            <payment-method>Credit Card</payment-method>
                            <target-balance>PLIMUS_ACCOUNT</target-balance>
                            <wallet>
                                <wallet-type>GOOGLE_PAY</wallet-type>
                                <billing-contact-info>
                                    <first-name>John</first-name>
                                    <last-name>Doe</last-name>
                                    <address1>138 Market st</address1>
                                    <city>San Francisco</city>
                                    <state>CA</state>
                                    <zip>756543</zip>
                                    <country>us</country>
                                </billing-contact-info>
                                <tokenized-card>
                                    <card-last-four-digits>1111</card-last-four-digits>
                                    <card-type>VISA</card-type>
                                    <card-sub-type>CREDIT</card-sub-type>
                                    <dpan-expiration-month>9</dpan-expiration-month>
                                    <dpan-expiration-year>2025</dpan-expiration-year>
                                    <dpan-last-four-digits>2222</dpan-last-four-digits>
                                </tokenized-card>
                            </wallet>
                            <paypal-transaction-data/>
                            <invoice-contact-info>
                                <title>Mr.</title>
                                <first-name>John</first-name>
                                <last-name>Doe</last-name>
                                <email>jdoe&#x40;johndoeandsons.com</email>
                                <company-name>JohnDoeAndSons</company-name>
                                <address1>138 Market st</address1>
                                <city>San Francisco</city>
                                <state>CA</state>
                                <zip>756543</zip>
                                <country>us</country>
                                <phone>1413555666</phone>
                                <fax>1413555666789</fax>
                            </invoice-contact-info>
                            <skus>
                                <sku>
                                    <sku-id>2187598</sku-id>
                                </sku>
                            </skus>
                        </financial-transaction>
                    </financial-transactions>
                </invoice>
            </invoices>
        </post-sale-info>
        <fulfillment>
            <license-keys/>
        </fulfillment>
        <fraud-result-info>
            <device-data-collector>N</device-data-collector>
        </fraud-result-info>
    </order>
</batch-order>

Back to Top


Example Descriptions

Create Shopper and Order: with credit card and fraud info

The example above shows how to send a credit card (unencrypted) by including a credit-card-info property within the payment-info resource in your request. See credit-card-info. Note that you must meet specific PCI compliance requirements in order to send unencrypted card details. The credit card will be used for the order and saved in the new shopper.

You are also required to send additional information for fraud check purposes, including the shopper's unique device fingerprint. Send this info in the fraud-info property in your request. See fraud-info. For more information, see Fraud prevention.

Create Shopper and Order: with wallet ID

To create an order and shopper with Masterpass or Visa Checkout, including the payment info and billing and shipping info, simply include the wallet-id in the request.

For details, see:

Create Shopper and Order: with Hosted Payment Fields token

If you are using BlueSnap's Hosted Payment Fields, you can create the order and shopper using the payment information from the Hosted Payment Fields by including the token within the pf-token property in your request. Above is an example of a request with the Hosted Payment Fields token.

Create Shopper and Order: with ACH/ECP info

To process an order with the ACH payment method, include the ecp-info within the payment-info resource in your request.

For ACH transactions, you must obtain permission from the shopper to debit their account, for example by showing a checkbox with the following wording on your checkout page. "I authorize this Electronic Check (ACH) transaction and agree to this debit of my account."

Include the authorized-by-shopper element with the value set to true to indicate that you have obtained the shopper's permission. See ordering-shopper.

Create Shopper and Order: with Apple Pay

To process an order with Apple Pay, include the encoded-payment-token inside ordering-shopper > wallet > apple-pay. The response will contain a shopper-id property - use this ID to process future transactions with the shopper.

For more information, check out our Apple Pay Guide.

Note:

To test Apple Pay, follow the steps in the Apple Pay Guide. The API Explorer does not support Apple Pay testing.

Create Shopper and Order: with SEPA Direct Debit info

The above example shows a Create Order and New Shopper request with the SEPA Direct Debit payment method. For SEPA Direct Debit transactions, you must obtain the shopper's acceptance of the SEPA Direct Debit mandate, authorizing the funds to be pulled from their account. Include the authorized-by-shopper property with a value set to true to indicate that you've obtained their permission.

A successful response from BlueSnap will include a mandate-id and mandate-date, whose values identify the shopper's mandate acceptance and the date on which the mandate was accepted, respectively. These two values must be displayed on the post-checkout page, the pre-notification email, and the receipt email.

Additionally, the response will contain pre-notification-text - the standard text (in English) that you must display in the pre-notification email - and pre-notification-translation-ref - Get Pre-Notification Text endpoint to obtain text in another language.

Create Shopper and Order: with store card approval

This example shows an Create Shopper and Order request with the store-card value set. You will want to use this value to define if the shopper has approved storing their credit card information for future use. The default value is set to true. If set to false, the credit card data will not be stored.

Create Shopper and Order: with Google Pay

To process an order with Google Pay, include the wallet-type = GOOGLE_PAY and encoded-payment-token inside ordering-shopper > wallet. Instructions on how to extract the encoded-payment-token can be found in the Google Pay Guide. The response will contain a shopper-id property - use this ID to process future transactions with the shopper.

For more information, check out our Google Pay Guide.



Back to Top