{"_id":"5d6fe7f68251dd00656adf75","project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"5c6c2407b8d4b2000e72da25","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5beec5a5f95d82011c6f3714","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z","categories":["5c6c2407b8d4b2000e72d981","5c6c2407b8d4b2000e72d982","5c6c2407b8d4b2000e72d983","5c6c2407b8d4b2000e72d984","5c6c2407b8d4b2000e72d985","5c6c2407b8d4b2000e72d986","5c6c2407b8d4b2000e72d987","5c6c2407b8d4b2000e72d988","5c6c2407b8d4b2000e72d989","5c6c2407b8d4b2000e72d98a","5c6c2407b8d4b2000e72d98b","5c6c2407b8d4b2000e72d98c","5c6c2407b8d4b2000e72d98d","5c6c2407b8d4b2000e72d98e","5c6c2407b8d4b2000e72d98f","5c6c2407b8d4b2000e72d990"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Main","version_clean":"8976.0.0-XML","version":"8976-XML"},"category":{"_id":"5c6c2407b8d4b2000e72d982","version":"5c6c2407b8d4b2000e72da25","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-10-15T15:28:41.796Z","from_sync":false,"order":1,"slug":"payment-transaction-service","title":"Card/Wallet Transactions"},"user":"5beb1b96bc2003003ecd645e","__v":0,"parentDoc":null,"metadata":{"title":"","description":"","image":[]},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2019-09-04T16:36:06.888Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"language":"text","code":""}]},"settings":"","auth":"optional","params":[],"url":"/transactions"},"isReference":true,"order":0,"body":"Auth Capture performs two actions via a single request:\n  * **authorize**: checks whether a credit card is valid and has the funds to complete a specific transaction (a purchase)\n  * **capture**: submits the authorized transaction for settlement (a payment by the shopper)\n\n<a class=\"btn btn-success\" href=\"#section-api-explorer\" role=\"button\">Try it in the API Explorer</a>\n\n###Request Content\n`card-transaction` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [card-transaction](doc:card-transaction)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`card-transaction-type` *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, value must be **AUTH_CAPTURE**\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`merchant-transaction-id` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`soft-descriptor` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`descriptor-phone-number` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vendors-info` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if using marketplace vendor(s)</span> (see [vendors-info](doc:vendors-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`amount` *decimal* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`currency` *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vaulted-shopper-id` *integer* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if using a vaulted shopper</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`card-holder-info` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if sending card data or `pf-token` and shopper is new</span> (see [card-holder-info](doc:card-holder-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`wallet-id` *long* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if using Masterpass or Visa Checkout </span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`wallet` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if using Apple Pay or Google Pay™ </span>&nbsp;&nbsp;&nbsp;&nbsp; (see [wallet](doc:wallet))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-fraud-info` *container* &nbsp;&nbsp;&nbsp;optional (see [transaction-fraud-info](doc:transaction-fraud-info)) \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`credit-card` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if sending card or if vaulted shopper has multiple cards; do not include if using Hosted Payment Fields or `wallet`</span> (see [credit-card](doc:credit-card))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`pf-token` *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** if using [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields) or [Embedded Checkout](/v8976-Tools/docs/embedded-checkout)</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`three-d-secure` &nbsp;&nbsp;&nbsp; *container* &nbsp;&nbsp;&nbsp;optional (see [three-d-secure](doc:three-d-secure))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-meta-data` *container* &nbsp;&nbsp;&nbsp;optional (see [transaction-meta-data](doc:transaction-meta-data))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`level-3-data` *container* &nbsp;&nbsp;&nbsp;optional (see [level-3-data](doc:level-3-data))  \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`store-card` &nbsp;&nbsp;&nbsp; *boolean* &nbsp;&nbsp;&nbsp;optional (see [card-transaction](doc:card-transaction))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`network-transaction-info` *container* &nbsp;&nbsp;&nbsp;optional \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-order-source` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;optional \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-initiator` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;optional\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response contains a `card-transaction` resource (see [card-transaction](doc:card-transaction)) with the request properties plus these additions:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-id`\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vaulted-shopper-id`\t\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`processing-info`\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`fraud-result-info` if [fraud prevention](/docs/fraud-prevention) is enabled\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`three-d-secure` if sending 3D Secure authentication data\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vendors-info` if using marketplace vendor(s)\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`level-3-data` if sending Level 2/3 data\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`store-card` if sending store card data\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`network-transaction-info` *container* &nbsp;&nbsp;&nbsp;optional \n\n\n<hr>\n\n##Examples \n\n### Basic request examples\n(See [corresponding response examples](#section-basic-response-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n  </card-holder-info>\\n  <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n  </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"Auth Capture Request: basic\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n   <transaction-meta-data>\\n      <meta-data>\\n         <meta-key>stateTaxAmount</meta-key>\\n         <meta-value>20.00</meta-value>\\n         <meta-description>State Tax Amount</meta-description>\\n      </meta-data>\\n      <meta-data>\\n         <meta-key>cityTaxAmount</meta-key>\\n         <meta-value>20.00</meta-value>\\n         <meta-description>City Tax Amount</meta-description>\\n      </meta-data>\\n      <meta-data>\\n         <meta-key>shippingAmount</meta-key>\\n         <meta-value>10.00</meta-value>\\n         <meta-description>Shipping Amount</meta-description>\\n      </meta-data>\\n   </transaction-meta-data>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with metadata\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <merchant-transaction-id>3</merchant-transaction-id>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Merchant Transaction ID\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <encrypted-card-number>$bsjs_1_0_3$B23uuxq8drUwOYZm3wZi+Qm69V5GPEt8PEio+Edwcm8akczQSK7odgLQH/Au+VqOCsGspW1Q9mPyQIzGLSZLVToAQVfq5C1ld+2ogIIsDL32Hd6IojboLyVlYT1FvPQoDyz19K6N0CUHh5uk0kCLuHSUyjvoJH38ojHZifbJSm/7S5vAtiuC3BJt2z8k9nauQaAXkbyoAYwrS1yDpqOt2k2lGhKcmdQ4ImDR0RL8m8xig6sFrki9oqo3Mju/M5r7wXXVTf7TMtWiQbzdfREOxKUnviXJZpncdHqVjj5GvPYun2qgopKVKr8F5+yd19TVW2gvA1kXBkXonFL9159Gxg==$zckJgo2i8jXDiAHwVVHBKypXFnWqF2e+6luBkmtQQRKniDXyXaalRVKLtYscBaGd$W7Ojqk1Q2iOJVeGL39RAsZTtfup3f1deSzvxrvC9rXA=</encrypted-card-number>\\n      <encrypted-security-code>$bsjs_1_0_3$MB1nBpok/YkuWPG1/7e6dyFFhDPHB8p8E9Yo+0YHHV+xkHuzFKr02wAnE8PJ8QCzWH+2ctXy5FN6wLKjwFrfTOgy0BJ9k9+NDEe8mhsu66wMlyc3lnwrbvMRCWN1O+5gUNCFExj7B0mDtf4gtxecXs74KZ5l5dbpGWdKUk5i7OewWyTqsONbn9taLfVBOwuIOy2Jgi4fx+yB8Q05KdZeHSNSBJh8H/47AUNAn5dM+d9iO6yGQB3obzEzzR3UtHlkGR52ZsgbbFh0JMm9lBM2ClgYM8jvmQjS9HX2ojt1fkbhuPEb1IY/M498a+1wDPpI4aMfDxO1lSpJneRSpY5k4g==$XaKq1NbPcS0iHy9N9jHekEIByHYS4G3wJXlC9EQjAGM=$BJn6X6mBYGUo8Eoq4RQz69gsi4Azl8jT973mNpG9Yuo=</encrypted-security-code>\\n      <expiration-month>07</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with encrypted credit card\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <pf-token>abcde12345**********</pf-token>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Hosted Payment Fields token\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <merchant-transaction-id>3</merchant-transaction-id>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n     <merchant-shopper-id>a432567</merchant-shopper-id>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Merchant Shopper ID\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <vendors-info>\\n      <vendor-info>\\n        <vendor-id>10398032</vendor-id>\\n      </vendor-info>\\n   </vendors-info>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"basic with vendors info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n      <first-name>test first name</first-name>\\n      <last-name>test last name</last-name>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>6011 0009 9013 9424</card-number>\\n      <security-code>887</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n   <store-card>true</store-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with store card approval\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <pf-token>abcde12345**********</pf-token>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Embedded Checkout token\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <transaction-order-source>MOTO</transaction-order-source>\\n   <amount>22.50</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n      <first-name>John</first-name>\\n      <last-name>Blue</last-name>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4111 1111 1111 1111</card-number>\\n      <security-code>111</security-code>\\n      <expiration-month>07</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with MOTO\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### Fraud request examples\n(See [corresponding response examples](#section-fraud-response-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n       <card-number>4263982640269299</card-number>\\n       <security-code>837</security-code>\\n       <expiration-month>02</expiration-month>\\n       <expiration-year>2023</expiration-year>\\n   </credit-card>\\n   <transaction-fraud-info>\\n       <fraud-session-id>1234</fraud-session-id>\\n       <shopper-ip-address>123.12.134.1</shopper-ip-address>\\n       <company>BBBBB</company>\\n       <shipping-contact-info>\\n           <last-name>LL</last-name>\\n           <first-name>YY</first-name>\\n           <country>US</country>\\n           <state>AL</state>\\n           <city>Juneau</city>\\n           <address1>Address1</address1>\\n           <address2>Address2</address2>\\n           <zip>12345</zip>\\n       </shipping-contact-info>\\n   </transaction-fraud-info>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with fraud info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <soft-descriptor>DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <card-holder-info>\\n      <first-name>test first name</first-name>\\n      <last-name>test last name</last-name>\\n      <zip>123456</zip>\\n  </card-holder-info>\\n  <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n  </credit-card>\\n  <transaction-fraud-info>\\n      <fraud-session-id>1234</fraud-session-id>\\n      <shopper-ip-address>123.12.134.1</shopper-ip-address>\\n      <company>BBBBB</company>\\n      <shipping-contact-info>\\n          <last-name>LL</last-name>\\n          <first-name>YY</first-name>\\n          <country>US</country>\\n          <state>AL</state>\\n          <city>Juneau</city>\\n          <address1>Address1</address1>\\n          <address2>Address2</address2>\\n          <zip>12345</zip>\\n      </shipping-contact-info>\\n      <enterprise-site-id>DEFAULT</enterprise-site-id>\\n      <enterprise-udfs>\\n        <udf>\\n          <udf-name>ENT_UDF1</udf-name>\\n          <udf-value>aaa</udf-value>\\n        </udf>\\n        <udf>\\n          <udf-name>ENT_UDF2</udf-name>\\n          <udf-value>bbb</udf-value>\\n        </udf>\\n      </enterprise-udfs>\\n  </transaction-fraud-info>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with enterprise fraud info\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### Vaulted Shopper request examples\n(See [corresponding response examples](#section-vaulted-shopper-response-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>20781033</vaulted-shopper-id>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper who has one card\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n   <credit-card>\\n      <card-last-four-digits>9299</card-last-four-digits>\\n      <card-type>VISA</card-type>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper and credit card specified\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n   <credit-card>\\n      <card-number>4012000033330026</card-number>\\n      <security-code>111</security-code>\\n      <expiration-month>07</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper & new card\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <soft-descriptor>DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n  <credit-card>\\n    <card-last-four-digits>9299</card-last-four-digits>\\n    <card-type>VISA</card-type>\\n    <security-code>837</security-code>\\n  </credit-card>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper & CVV\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### Wallet request examples\n(See [corresponding response examples](#section-wallet-response-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <wallet-id>21</wallet-id>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with wallet ID\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <soft-descriptor>DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <wallet>\\n    <apple-pay>\\n      <encoded-payment-token>ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd</encoded-payment-token>\\n    </apple-pay>\\t\\n  </wallet>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <soft-descriptor>DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <wallet>\\n    <wallet-type>GOOGLE_PAY</wallet-type>\\n    <encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>\\n  </wallet>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Google Pay\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n### 3-D Secure request examples\n(See [corresponding response examples](#section-3-d-secure-response-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>10.00</amount>\\n   <currency>USD</currency>\\n   <transaction-initiator>SHOPPER</transaction-initiator>\\n   <card-holder-info>\\n      <first-name>John</first-name>\\n      <last-name>Blue</last-name>\\n   </card-holder-info>\\n   <pf-token>543dfc6143d0fdaf7a2c9ddb8f2e8bb13902e1aad6fe36f7fd2ea9654655ca09_</pf-token>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"3DS with shopper-initiated transaction\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>10.00</amount>\\n   <currency>USD</currency>\\n   <transaction-initiator>MERCHANT</transaction-initiator>\\n   <vaulted-shopper-id>19574642</vaulted-shopper-id>\\n   <network-transaction-info>\\n        <original-network-transaction-id>019072416233566</original-network-transaction-id>\\n    </network-transaction-info>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"3DS with MIT\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <soft-descriptor>DescTest</soft-descriptor>\\n    <amount>10.00</amount>\\n    <currency>USD</currency>\\n    <transaction-initiator>MERCHANT</transaction-initiator>\\n    <card-holder-info>\\n    \\t\\t<first-name>John</first-name>\\n   \\t\\t \\t<last-name>Blue</last-name>\\n    </card-holder-info>\\n    <credit-card>\\n    \\t\\t<card-number>4111 1111 1111 1111</card-number>\\n    \\t\\t<security-code>111</security-code>\\n    \\t\\t<expiration-month>07</expiration-month>\\n    \\t\\t<expiration-year>2023</expiration-year>\\n    </credit-card>\\n    <network-transaction-info>\\n    \\t\\t<original-network-transaction-id>019072416233566</original-network-transaction-id>\\n    </network-transaction-info>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"3DS with MIT including full card details\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>10.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>19574268</vaulted-shopper-id>\\n   <credit-card>\\n    \\t<card-last-four-digits>1111</card-last-four-digits>\\n    \\t<card-type>VISA</card-type>\\n   </credit-card>\\n   <three-d-secure>\\n   \\t\\t<three-d-secure-reference-id>5303</three-d-secure-reference-id>\\n   </<three-d-secure>>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"returning shopper with 3DS\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>10.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n      <first-name>John</first-name>\\n      <last-name>Blue</last-name>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4111 1111 1111 1111</card-number>\\n      <security-code>111</security-code>\\n      <expiration-month>07</expiration-month>\\n      <expiration-year>2022</expiration-year>\\n   </credit-card>\\n       <three-d-secure>\\n        <three-d-secure-reference-id>4813</three-d-secure-reference-id>\\n    </three-d-secure>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"Full card details with 3DS ID\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4111 1111 1111 1111</card-number>\\n      <security-code>111</security-code>\\n      <expiration-month>07</expiration-month>\\n      <expiration-year>2022</expiration-year>\\n   </credit-card>\\n   <three-d-secure>\\n       <eci>05</eci>\\n       <cavv>AAABAWFlmQAAAABjRWWZEEFgFz+A</cavv>\\n       <xid>MGpHWm5ZWVpKclo0aUk0VmltVDA=</xid>\\n       <ds-transaction-id>e08da266-b58d-45c9-a1f8-570b7fb80e30</ds-transaction-id>\\n       <three-d-secure-version>2.1.0</three-d-secure-version>\\n    </three-d-secure>\\n</card-transaction>'\",\n      \"language\": \"curl\",\n      \"name\": \"3DS with External MPI\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n###Response Examples\n\n### Basic response examples\n(See [corresponding request examples](#section-basic-request-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38486450</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"Auth Capture Response: 200 OK - basic\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <transaction-id>38497126</transaction-id>\\n    <soft-descriptor>BLS*DescTest</soft-descriptor>\\n    <amount>11.00</amount>\\n    <currency>USD</currency>\\n    <vaulted-shopper-id>1234</vaulted-shopper-id>\\n    <avs-response-code>G</avs-response-code>\\n    <card-holder-info>\\n        <first-name>test first name</first-name>\\n        <last-name>test last name</last-name>\\n        <zip>123456</zip>\\n    </card-holder-info>\\n    <credit-card>\\n        <card-last-four-digits>9299</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    <transaction-meta-data>\\n        <meta-data>\\n            <meta-key>stateTaxAmount</meta-key>\\n            <meta-value>20.00</meta-value>\\n            <meta-description>State Tax Amount</meta-description>\\n        </meta-data>\\n        <meta-data>\\n            <meta-key>cityTaxAmount</meta-key>\\n            <meta-value>20.00</meta-value>\\n            <meta-description>City Tax Amount</meta-description>\\n        </meta-data>\\n        <meta-data>\\n            <meta-key>shippingAmount</meta-key>\\n            <meta-value>10.00</meta-value>\\n            <meta-description>Shipping Amount</meta-description>\\n        </meta-data>\\n    </transaction-meta-data>\\n    <processing-info>\\n        <processing-status>success</processing-status>\\n        <cvv-response-code>MA</cvv-response-code>\\n        <avs-response-code-zip>U</avs-response-code-zip>\\n        <avs-response-code-address>U</avs-response-code-address>\\n        <avs-response-code-name>U</avs-response-code-name>\\n    </processing-info>\\n</card-transaction>\\n\",\n      \"language\": \"xml\",\n      \"name\": \"with metadata\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <merchant-transaction-id>3</merchant-transaction-id>\\n   <transaction-id>38488150</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Merchant Transaction ID\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38504166</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>ND</cvv-response-code>\\n      <avs-response-code-zip>U</avs-response-code-zip>\\n      <avs-response-code-address>U</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with encrypted credit card\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38486450</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Hosted Payment Fields\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <merchant-transaction-id>3</merchant-transaction-id>\\n   <transaction-id>38488150</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n     <merchant-shopper-id>a432567</merchant-shopper-id>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Merchant Shopper ID\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <vendor-info>\\n    <vendor-id>10398032</vendor-id>\\n    <commission-percent>20</commission-percent>\\n  </vendor-info>\\n  <vendors-info>\\n    <vendor-info>\\n      <vendor-id>10398032</vendor-id>\\n      <commission-percent>20</commission-percent>\\n    </vendor-info>\\n  </vendors-info>\\n  <transaction-id>1015600975</transaction-id>\\n  <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <card-holder-info>\\n    <first-name>test first name</first-name>\\n    <last-name>test last name</last-name>\\n    <zip>123456</zip>\\n  </card-holder-info>\\n  <vaulted-shopper-id>22327411</vaulted-shopper-id>\\n  <credit-card>\\n    <card-last-four-digits>9299</card-last-four-digits>\\n    <card-type>VISA</card-type>\\n    <card-sub-type>CREDIT</card-sub-type>\\n    <card-category>GOLD</card-category>\\n  </credit-card>\\n  <processing-info>\\n    <processing-status>success</processing-status>\\n    <cvv-response-code>MA</cvv-response-code>\\n    <avs-response-code-zip>U</avs-response-code-zip>\\n    <avs-response-code-address>U</avs-response-code-address>\\n    <avs-response-code-name>U</avs-response-code-name>\\n  </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with basic with vendors info\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n<card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n<transaction-id>1016888489</transaction-id>\\n<soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n<amount>11.00</amount>\\n<currency>USD</currency>\\n<card-holder-info>\\n<first-name>test first name</first-name>\\n<last-name>test last name</last-name>\\n</card-holder-info>\\n<vaulted-shopper-id>22730357</vaulted-shopper-id>\\n<credit-card>\\n<card-last-four-digits>9424</card-last-four-digits>\\n<card-type>DISCOVER</card-type>\\n<card-sub-type>CREDIT</card-sub-type>\\n<card-category>PLATINUM</card-category>\\n</credit-card>\\n<processing-info>\\n<processing-status>success</processing-status>\\n<cvv-response-code>ND</cvv-response-code>\\n<avs-response-code-zip>U</avs-response-code-zip>\\n<avs-response-code-address>U</avs-response-code-address>\\n<avs-response-code-name>U</avs-response-code-name>\\n</processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with store card approval\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38486450</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Embedded Checkout\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### Fraud response examples\n(See [corresponding request examples](#section-fraud-request-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38488222</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>1234</vaulted-shopper-id>\\n   <card-holder-info>\\n     <first-name>test first name</first-name>\\n     <last-name>test last name</last-name>\\n     <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n   <fraud-result-info>\\n      <device-data-collector>Y</device-data-collector>\\n   </fraud-result-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with fraud info / enterprise fraud info\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n\n### Vaulted Shopper response examples\n(See [corresponding request examples](#section-vaulted-shopper-request-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38488224</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>19549066</vaulted-shopper-id>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with vaulted shopper (whether credit card was specified or not)\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <transaction-id>38486450</transaction-id>\\n   <soft-descriptor>BLS*DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n   <credit-card>\\n      <card-last-four-digits>9299</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   <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>MA</cvv-response-code>\\n      <avs-response-code-zip>M</avs-response-code-zip>\\n      <avs-response-code-address>M</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n   </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with vaulted shopper & CVV\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <transaction-id>1014303131</transaction-id>\\n  <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n  <credit-card>\\n      <card-last-four-digits>0026</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  <processing-info>\\n      <processing-status>success</processing-status>\\n      <cvv-response-code>ND</cvv-response-code>\\n      <avs-response-code-zip>U</avs-response-code-zip>\\n      <avs-response-code-address>U</avs-response-code-address>\\n      <avs-response-code-name>U</avs-response-code-name>\\n  </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with vaulted shopper & new card \"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### Wallet response examples\n(See [corresponding request examples](#section-wallet-request-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <transaction-id>1011702615</transaction-id>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <vaulted-shopper-id>123</vaulted-shopper-id>\\n  <card-holder-info>\\n\\t  <first-name>test first name</first-name>\\n\\t  <last-name>test last name</last-name>\\n  </card-holder-info>\\n  <credit-card>\\n\\t  <card-last-four-digits>9299</card-last-four-digits>\\n\\t  <card-type>VISA</card-type>\\n\\t  <card-sub-type>CREDIT</card-sub-type>\\n    <card-category>CLASSIC</card-category>\\n  </credit-card>\\n  <processing-info>\\n\\t  <processing-status>success</processing-status>\\n\\t  <cvv-response-code>NC</cvv-response-code>\\n  </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with wallet ID\"\n    },\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n  <transaction-id>38486450</transaction-id>\\n  <soft-descriptor>BLS*DescTest</soft-descriptor>\\n  <amount>11.00</amount>\\n  <currency>USD</currency>\\n  <vaulted-shopper-id>1234</vaulted-shopper-id>\\n  <Wallet>\\n    <billing-contact-info>\\n      <first-name>John</first-name>\\n      <last-name>Doe</last-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>\\t\\n  </Wallet>\\n  <processing-info>\\n    <processing-status>success</processing-status>\\n    <cvv-response-code>MA</cvv-response-code>\\n    <avs-response-code-zip>M</avs-response-code-zip>\\n    <avs-response-code-address>M</avs-response-code-address>\\n    <avs-response-code-name>U</avs-response-code-name>\\n  </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \"<card-transaction>\\n   <amount>11</amount>\\n   <cardHolderInfo>\\n      <firstName>test first name</firstName>\\n      <lastName>test last name</lastName>\\n      <zip>12345</zip>\\n   </cardHolderInfo>\\n   <cardTransactionType>AUTH_CAPTURE</cardTransactionType>\\n   <creditCard>\\n      <cardCategory>CLASSIC</cardCategory>\\n      <cardLastFourDigits>9299</cardLastFourDigits>\\n      <cardSubType>CREDIT</cardSubType>\\n      <cardType>VISA</cardType>\\n   </creditCard>\\n   <currency>USD</currency>\\n   <processingInfo>\\n      <processingStatus>success</processingStatus>\\n   </processingInfo>\\n   <softDescriptor>BLS&amp;#x2a;DescTest</softDescriptor>\\n   <transactionId>1012751937</transactionId>\\n   <vaultedShopperId>21289371</vaultedShopperId>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Google Pay\"\n    },\n    {\n      \"code\": \"<card-transaction>\\n   <amount>11</amount>\\n   <cardHolderInfo>\\n      <country>us</country>\\n      <firstName>test first name</firstName>\\n      <lastName>test last name</lastName>\\n      <zip>12345</zip>\\n   </cardHolderInfo>\\n   <cardTransactionType>AUTH_CAPTURE</cardTransactionType>\\n   <currency>USD</currency>\\n   <processingInfo>\\n      <processingStatus>success</processingStatus>\\n   </processingInfo>\\n   <softDescriptor>BLS&amp;#x2a;DescTest</softDescriptor>\\n   <transactionId>1012751937</transactionId>\\n   <vaultedShopperId>21289371</vaultedShopperId>\\n   <wallet>\\n      <billingContactInfo>\\n         <country>us</country>\\n         <firstName>test first name</firstName>\\n         <lastName>test last name</lastName>\\n         <zip>123456</zip>\\n      </billingContactInfo>\\n      <tokenizedCard>\\n         <cardLastFourDigits>1111</cardLastFourDigits>\\n         <cardSubType>CREDIT</cardSubType>\\n         <cardType>VISA</cardType>\\n         <dpanExpirationMonth>9</dpanExpirationMonth>\\n         <dpanExpirationYear>2025</dpanExpirationYear>\\n         <dpanLastFourDigits>2222</dpanLastFourDigits>\\n      </tokenizedCard>\\n      <walletType>GOOGLE_PAY</walletType>\\n   </wallet>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"with Google Pay with tokenized card\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n### 3-D Secure response examples \n(See [corresponding request examples](#section-3-d-secure-request-examples).)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <transaction-id>38510986</transaction-id>\\n    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n    <amount>10.00</amount>\\n    <usd-amount>10.00</usd-amount>\\n    <currency>USD</currency>\\n    <avs-response-code>G</avs-response-code>\\n    <card-holder-info>\\n        <first-name>John</first-name>\\n        <last-name>Blue</last-name>\\n    </card-holder-info>\\n    <vaulted-shopper-id>19574642</vaulted-shopper-id>\\n    <credit-card>\\n        <card-last-four-digits>1000</card-last-four-digits>\\n        <card-type>VISA</card-type>\\n        <card-sub-type>CREDIT</card-sub-type>\\n        <bin-category>CONSUMER</bin-category>\\n        <issuing-country-code>us</issuing-country-code>\\n    </credit-card>\\n    <three-d-secure>\\n        <authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>\\n    </three-d-secure>\\n    <network-transaction-info>\\n        <original-network-transaction-id>019072416233566</original-network-transaction-id>\\n        <network-transaction-id>019072416255266</network-transaction-id>\\n    </network-transaction-info>\\n    <processing-info>\\n        <processing-status>success</processing-status>\\n        <cvv-response-code>NR</cvv-response-code>\\n        <avs-response-code-zip>U</avs-response-code-zip>\\n        <avs-response-code-address>U</avs-response-code-address>\\n        <avs-response-code-name>U</avs-response-code-name>\\n        <network-transaction-id>019072416233566</network-transaction-id>\\n    </processing-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"3DS with shopper-initiated transaction\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <transaction-id>38510988</transaction-id>\\n    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n    <amount>10.00</amount>\\n    <usd-amount>10.00</usd-amount>\\n    <currency>USD</currency>\\n    <avs-response-code>G</avs-response-code>\\n    <vaulted-shopper-id>19574642</vaulted-shopper-id>\\n    <credit-card>\\n        <card-last-four-digits>1000</card-last-four-digits>\\n        <card-type>VISA</card-type>\\n        <card-sub-type>CREDIT</card-sub-type>\\n        <bin-category>CONSUMER</bin-category>\\n        <issuing-country-code>us</issuing-country-code>\\n    </credit-card>\\n    <network-transaction-info>\\n        <original-network-transaction-id>019072416233566</original-network-transaction-id>\\n        <network-transaction-id>019072416255266</network-transaction-id>\\n    </network-transaction-info>\\n    <processing-info>\\n        <processing-status>success</processing-status>\\n        <cvv-response-code>ND</cvv-response-code>\\n        <avs-response-code-zip>U</avs-response-code-zip>\\n        <avs-response-code-address>U</avs-response-code-address>\\n        <avs-response-code-name>U</avs-response-code-name>\\n        <network-transaction-id>019072416255266</network-transaction-id>\\n    </processing-info>\\n    <fraud-result-info>\\n        <device-data-collector>N</device-data-collector>\\n    </fraud-result-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"MIT response with new and original NTI\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <transaction-id>38511272</transaction-id>\\n    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n    <amount>22.50</amount>\\n    <usd-amount>22.50</usd-amount>\\n    <currency>USD</currency>\\n    <avs-response-code>G</avs-response-code>\\n    <card-holder-info>\\n        <first-name>John</first-name>\\n        <last-name>Blue</last-name>\\n    </card-holder-info>\\n    <vaulted-shopper-id>19574798</vaulted-shopper-id>\\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        <bin-category>CONSUMER</bin-category>\\n        <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n        <issuing-country-code>us</issuing-country-code>\\n    </credit-card>\\n    <network-transaction-info>\\n        <original-network-transaction-id>019072416233566</original-network-transaction-id>\\n        <network-transaction-id>019072416255266</network-transaction-id>\\n    </network-transaction-info>\\n    <transaction-order-source>MOTO</transaction-order-source>\\n    <processing-info>\\n        <processing-status>success</processing-status>\\n        <cvv-response-code>MA</cvv-response-code>\\n        <avs-response-code-zip>U</avs-response-code-zip>\\n        <avs-response-code-address>U</avs-response-code-address>\\n        <avs-response-code-name>U</avs-response-code-name>\\n        <network-transaction-id>759211611101833</network-transaction-id>\\n    </processing-info>\\n    <fraud-result-info>\\n        <device-data-collector>N</device-data-collector>\\n    </fraud-result-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"MOTO response with NTI\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n    <transaction-id>38510952</transaction-id>\\n    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>\\n    <amount>10.00</amount>\\n    <usd-amount>10.00</usd-amount>\\n    <currency>USD</currency>\\n    <avs-response-code>G</avs-response-code>\\n    <card-holder-info>\\n        <first-name>John</first-name>\\n        <last-name>Blue</last-name>\\n    </card-holder-info>\\n    <vaulted-shopper-id>19574618</vaulted-shopper-id>\\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        <bin-category>CONSUMER</bin-category>\\n        <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n        <issuing-country-code>us</issuing-country-code>\\n    </credit-card>\\n    <three-d-secure>\\n        <authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>\\n    </three-d-secure>\\n    <network-transaction-info>\\n        <original-network-transaction-id>019072416233566</original-network-transaction-id>\\n        <network-transaction-id>019072416255266</network-transaction-id>\\n    </network-transaction-info>\\n    <processing-info>\\n        <processing-status>success</processing-status>\\n        <cvv-response-code>MA</cvv-response-code>\\n        <avs-response-code-zip>U</avs-response-code-zip>\\n        <avs-response-code-address>U</avs-response-code-address>\\n        <avs-response-code-name>U</avs-response-code-name>\\n        <network-transaction-id>759205706264329</network-transaction-id>\\n    </processing-info>\\n    <fraud-result-info>\\n        <device-data-collector>N</device-data-collector>\\n    </fraud-result-info>\\n</card-transaction>\",\n      \"language\": \"xml\",\n      \"name\": \"Full card details with 3DS ID\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##Example Descriptions\n\n###**Basic**\n####*Auth Capture with metadata*\nTo send metadata for the transaction, you'll need to include the `transaction-meta-data` property within the [card-transaction](doc:card-transaction) resource in your request. You can include up to 20 metadata key-value pairs in each [transaction-meta-data](doc:transaction-meta-data) property. \n\nAbove is an example of a request with metadata, including state tax, city tax, and the shipping amount.\n\n####*Auth Capture with Merchant Transaction ID*\nYou may wish to assign your own ID to each transaction, for example in order to track the transactions in your own internal systems. To do this, you'll need to include the `merchant-transaction-id` property within the [card-transaction](doc:card-transaction) resource in your request.\n\nAbove is an example of a request that includes a Merchant Transaction ID (MTI), along with the minimum required fields for a one-time payment using a credit card.\n\n####*Auth Capture with encrypted credit card*\nYour [PCI compliance](/docs/pci-compliance) requirements and API permission level may require that you send credit card data in encrypted format only. To do this, you'll need to include the`encrypted-card-number` and `encrypted-security-code` properties within the [card-transaction](doc:card-transaction) resource in your request.\n\nAbove is an example of a request with an encrypted credit card number.\n\n####*Auth Capture with Hosted Payment Fields token*\nIf you are using BlueSnap's [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields), you can process the shopper's payment using the information from the Hosted Payment Fields by including the token within the `pf-token` property in your request.\n\nAbove is an example of a request with the Hosted Payment Fields token.\n\nNote that the response will look like a regular response for a credit card, with the card's last four digits and card type.\n\n####*Auth Capture with Merchant Shopper ID*\nYou may wish to assign your own Shopper ID to each transaction, for example in order to track the transactions in your own internal systems. To do this, you'll need to include the `merchant-shopper-id` property within the [cardTransaction](doc:card-transaction) resource.\n\nAbove is an example of a request that includes a Merchant Shopper ID, along with the minimum required fields for a one-time payment using a credit card.\n\n####*Auth Capture with Vendors Info*\nThis example shows an Auth Capture request within a marketplace. If you are a Marketplace Merchant, you will include `vendors-info` in the request to process a transaction involving one or more vendors. For more details, see the [Marketplace Guide](/docs/processing-transactions).\n\n####*Auth Capture with store card approval*\nThis example shows an Auth Capture 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####*Auth Capture with Embedded Checkout token*\nIf you are using BlueSnap's [Embedded Checkout](/v8976-Tools/docs/embedded-checkout), you can process the shopper's payment using the information from the Embedded Payment Form by including the token within the `pf-token` property in your request.\n\nAbove is an example of a request with the Embedded Checkout token.\n\nNote that the response will look like a regular response for a credit card, with the card's last four digits and card type.\n\n### **Fraud Examples**\n####*Auth Capture with fraud info*\nThis example shows a basic Auth Capture request, containing the minimum required fields for a one-time payment using a credit card. It includes the required fraud info in the `transaction-fraud-info` property within the [card-transaction](doc:card-transaction) resource in your request. See [transaction-fraud-info](doc:transaction-fraud-info).\n\nAn additional example with enterprise fraud info is above. Enterprise fraud info is supported only for merchants who have signed up for the Enterprise-level fraud service from BlueSnap. See [Fraud prevention](/docs/fraud-prevention).\n\n###**Vaulted Shopper Examples**\n####*Auth Capture with vaulted shopper*\nTo perform an Auth Capture request with an existing vaulted shopper, you'll need to include the `vaulted-shopper-id` property within the [card-transaction](doc:card-transaction) resource in your request. When specifying a credit card for a vaulted shopper, you must include the `card-last-four-digits` and `card-type` properties within the [credit-card](doc:credit-card) resource. \n\nAbove are two vaulted shopper examples. The first is with a vaulted shopper who only has one credit card, so there is no need to specify which credit card to charge. The second is with a vaulted shopper who has multiple cards, so the request must indicate which card to charge. \n\n\n####*Auth Capture with vaulted shopper & CVV*\nYou may wish to collect CVV on your checkout form from all your shoppers – even from returning shoppers. One reason you might choose to do this is that transactions with CVV generally result in higher success rates. \n\nAbove is an example of sending CVV in a transaction request involving a returning shopper. \nInclude `vaulted-shopper-id` and CVV in the request as in the example. \n\n####*Auth Capture with vaulted shopper & new card *\nThis example shows an Auth Only request with a vaulted shopper and a new card. If you include `vaulted-shopper-id` and a new card in the request, the shopper's card will be charged and the card details will be added to the shopper. \n\n###**Wallet Examples**\n####*Auth Capture with wallet ID*\nIf the shopper is paying via Masterpass or Visa Checkout, you can include the `wallet-id`in the request. For details, see:\n  * [Masterpass Guide](/docs/masterpass)\n  * [Visa Checkout Guide](/docs/visa-checkout)\n\nAbove is an example of a request with a Masterpass wallet.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"When you include the wallet ID in the request, a vaulted shopper will be automatically created and the vaulted shopper ID will be returned to you in the response.\\n\\nIf you prefer to save the wallet information in an existing shopper, it is recommended to instead send a [Create Vaulted Shopper](doc:create-vaulted-shopper) request with the wallet ID and then use that vaulted shopper in your Auth Capture request.\",\n  \"title\": \"Note:\"\n}\n[/block]\n####*Auth Capture with Apple Pay *\nThis example shows an Auth Capture request with Apple Pay. In the request, include `encoded-payment-token` inside `wallet` > `apple-pay`. Instructions on how to extract the `encoded-payment-token` can be found in the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app). \n\n**Note**: 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####*Auth Capture with Google Pay *\nThis example shows an Auth Capture request with Google Pay. In the request, include `wallet-type` = GOOGLE_PAY and `encoded-payment-token` inside `wallet`. Instructions on how to extract the `encoded-payment-token` can be found in the [Google Pay Guide](/docs/google-pay).\n\n###**3-D Secure Examples**\n####*3DS with shopper-initiated transaction*\nThe request includes `\"transaction-initiator\":\"SHOPPER\"` to indicate that this is a Customer-Initiated Transaction.  The response includes the same `network-transaction-id` in both the `network-transaction-info` and the `processing-info` sections.  The merchant keeps this `network-transaction-id` for future transactions.\n\n####*3DS with MIT*\nThe request includes `\"transaction-initiator\":\"MERCHANT\"` to indicate that this is a Merchant-Initiated Transaction.  The merchant also includes the `original-network-transaction-id` to link the transaction to an existing transaction on which SCA was performed so SCA does not need to be performed again. In the `network-transaction-info` section, the response includes both the `original-network-transaction-id` and the new `network-transaction-id`.  The merchant continues using the `original-network-transaction-id` for future transactions.\n\n####*Returning shopper with 3DS*\nThis request specifies the `vaulted-shopper-id`, the card details rather than the token, and includes the `three-d-secure-reference-id` to link everything together.  The `three-d-secure-reference-id` comes from `sdkResponse.threeDSecure.threeDSecureReferenceId`  in the callback of `bluesnap.threeDsPaymentsSetup`.  For more information, refer to the [3-D Secure for API Guide](https://developers.bluesnap.com/docs/3-d-secure-for-api).\n\n####*With MOTO and NTI*\nThis request specifies the `\"transaction-order-source\":\"MOTO\"` indicating that this is a MOTO transaction. The response includes the same `network-transaction-id` in both the `network-transaction-info` and the `processing-info` sections.  The merchant keeps this `network-transaction-id` for future transactions.  For more information, refer to the [3-D Secure for API Guide](https://developers.bluesnap.com/docs/3-d-secure-for-api).\n\n####*Full card details with 3DS ID*\nThis example is for merchants using our 3DS plain text solution.\n\n####*3DS with External MPI*\nThe request includes the `threeDSecure` object to provide the necessary 3-D Secure data from the external Merchant Plug-In (MPI).  \n\n\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##API Explorer\nTo test out a call, enter the XML portion of the request below and then click **Try it!**\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Tip:\",\n  \"body\": \"Copy the XML portion from one of the example requests above, or use the XML code below as a starting point. You can enter different parameters and test credit card numbers to see how your test scenario would work. *The request headers, including authorization, are already built in for you in this test area, so you should not include them here.*\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<card-transaction xmlns=\\\"http://ws.plimus.com\\\">\\n   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>\\n   <soft-descriptor>DescTest</soft-descriptor>\\n   <amount>11.00</amount>\\n   <currency>USD</currency>\\n   <card-holder-info>\\n       <first-name>test first name</first-name>\\n       <last-name>test last name</last-name>\\n       <zip>123456</zip>\\n   </card-holder-info>\\n   <credit-card>\\n      <card-number>4263982640269299</card-number>\\n      <security-code>837</security-code>\\n      <expiration-month>02</expiration-month>\\n      <expiration-year>2023</expiration-year>\\n   </credit-card>\\n</card-transaction>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"auth-capture","type":"endpoint","title":"Auth Capture"}

Definition

{{ api_url }}{{ page_api_url }}

Documentation

Auth Capture performs two actions via a single request:

  • authorize: checks whether a credit card is valid and has the funds to complete a specific transaction (a purchase)
  • capture: submits the authorized transaction for settlement (a payment by the shopper)

Try it in the API Explorer

Request Content

card-transaction container    required, contains the following properties (see card-transaction):
      card-transaction-type string    required, value must be AUTH_CAPTURE
      merchant-transaction-id string    optional
      soft-descriptor string    optional
      descriptor-phone-number string    optional
      vendors-info container    required if using marketplace vendor(s) (see vendors-info)
      amount decimal    required
      currency string    required
      vaulted-shopper-id integer    required if using a vaulted shopper
      card-holder-info container    required if sending card data or pf-token and shopper is new (see card-holder-info)
      wallet-id long    required if using Masterpass or Visa Checkout
      wallet container    required if using Apple Pay or Google Pay™      (see wallet)
      transaction-fraud-info container    optional (see transaction-fraud-info)
      credit-card container    required if sending card or if vaulted shopper has multiple cards; do not include if using Hosted Payment Fields or wallet (see credit-card)
      pf-token string    required if using Hosted Payment Fields or Embedded Checkout
      three-d-secure     container    optional (see three-d-secure)
      transaction-meta-data container    optional (see transaction-meta-data)
      level-3-data container    optional (see level-3-data)
      store-card     boolean    optional (see card-transaction)
      network-transaction-info container    optional
      transaction-order-source     string    optional
      transaction-initiator     string    optional

Response Details

If successful, the response HTTP status code is 200 OK.
The response contains a card-transaction resource (see card-transaction) with the request properties plus these additions:
      transaction-id
      vaulted-shopper-id
      processing-info
      fraud-result-info if fraud prevention is enabled
      three-d-secure if sending 3D Secure authentication data
      vendors-info if using marketplace vendor(s)
      level-3-data if sending Level 2/3 data
      store-card if sending store card data
      network-transaction-info container    optional


Examples

Basic request examples

(See corresponding response examples.)

curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
  </card-holder-info>
  <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
  </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
   <transaction-meta-data>
      <meta-data>
         <meta-key>stateTaxAmount</meta-key>
         <meta-value>20.00</meta-value>
         <meta-description>State Tax Amount</meta-description>
      </meta-data>
      <meta-data>
         <meta-key>cityTaxAmount</meta-key>
         <meta-value>20.00</meta-value>
         <meta-description>City Tax Amount</meta-description>
      </meta-data>
      <meta-data>
         <meta-key>shippingAmount</meta-key>
         <meta-value>10.00</meta-value>
         <meta-description>Shipping Amount</meta-description>
      </meta-data>
   </transaction-meta-data>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <merchant-transaction-id>3</merchant-transaction-id>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <encrypted-card-number>$bsjs_1_0_3$B23uuxq8drUwOYZm3wZi+Qm69V5GPEt8PEio+Edwcm8akczQSK7odgLQH/Au+VqOCsGspW1Q9mPyQIzGLSZLVToAQVfq5C1ld+2ogIIsDL32Hd6IojboLyVlYT1FvPQoDyz19K6N0CUHh5uk0kCLuHSUyjvoJH38ojHZifbJSm/7S5vAtiuC3BJt2z8k9nauQaAXkbyoAYwrS1yDpqOt2k2lGhKcmdQ4ImDR0RL8m8xig6sFrki9oqo3Mju/M5r7wXXVTf7TMtWiQbzdfREOxKUnviXJZpncdHqVjj5GvPYun2qgopKVKr8F5+yd19TVW2gvA1kXBkXonFL9159Gxg==$zckJgo2i8jXDiAHwVVHBKypXFnWqF2e+6luBkmtQQRKniDXyXaalRVKLtYscBaGd$W7Ojqk1Q2iOJVeGL39RAsZTtfup3f1deSzvxrvC9rXA=</encrypted-card-number>
      <encrypted-security-code>$bsjs_1_0_3$MB1nBpok/YkuWPG1/7e6dyFFhDPHB8p8E9Yo+0YHHV+xkHuzFKr02wAnE8PJ8QCzWH+2ctXy5FN6wLKjwFrfTOgy0BJ9k9+NDEe8mhsu66wMlyc3lnwrbvMRCWN1O+5gUNCFExj7B0mDtf4gtxecXs74KZ5l5dbpGWdKUk5i7OewWyTqsONbn9taLfVBOwuIOy2Jgi4fx+yB8Q05KdZeHSNSBJh8H/47AUNAn5dM+d9iO6yGQB3obzEzzR3UtHlkGR52ZsgbbFh0JMm9lBM2ClgYM8jvmQjS9HX2ojt1fkbhuPEb1IY/M498a+1wDPpI4aMfDxO1lSpJneRSpY5k4g==$XaKq1NbPcS0iHy9N9jHekEIByHYS4G3wJXlC9EQjAGM=$BJn6X6mBYGUo8Eoq4RQz69gsi4Azl8jT973mNpG9Yuo=</encrypted-security-code>
      <expiration-month>07</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <pf-token>abcde12345**********</pf-token>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <merchant-transaction-id>3</merchant-transaction-id>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
     <merchant-shopper-id>a432567</merchant-shopper-id>
   </card-holder-info>
   <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <vendors-info>
      <vendor-info>
        <vendor-id>10398032</vendor-id>
      </vendor-info>
   </vendors-info>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
      <first-name>test first name</first-name>
      <last-name>test last name</last-name>
   </card-holder-info>
   <credit-card>
      <card-number>6011 0009 9013 9424</card-number>
      <security-code>887</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
   <store-card>true</store-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <pf-token>abcde12345**********</pf-token>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <transaction-order-source>MOTO</transaction-order-source>
   <amount>22.50</amount>
   <currency>USD</currency>
   <card-holder-info>
      <first-name>John</first-name>
      <last-name>Blue</last-name>
   </card-holder-info>
   <credit-card>
      <card-number>4111 1111 1111 1111</card-number>
      <security-code>111</security-code>
      <expiration-month>07</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'

Fraud request examples

(See corresponding response examples.)

curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
   </card-holder-info>
   <credit-card>
       <card-number>4263982640269299</card-number>
       <security-code>837</security-code>
       <expiration-month>02</expiration-month>
       <expiration-year>2023</expiration-year>
   </credit-card>
   <transaction-fraud-info>
       <fraud-session-id>1234</fraud-session-id>
       <shopper-ip-address>123.12.134.1</shopper-ip-address>
       <company>BBBBB</company>
       <shipping-contact-info>
           <last-name>LL</last-name>
           <first-name>YY</first-name>
           <country>US</country>
           <state>AL</state>
           <city>Juneau</city>
           <address1>Address1</address1>
           <address2>Address2</address2>
           <zip>12345</zip>
       </shipping-contact-info>
   </transaction-fraud-info>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <soft-descriptor>DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <card-holder-info>
      <first-name>test first name</first-name>
      <last-name>test last name</last-name>
      <zip>123456</zip>
  </card-holder-info>
  <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
  </credit-card>
  <transaction-fraud-info>
      <fraud-session-id>1234</fraud-session-id>
      <shopper-ip-address>123.12.134.1</shopper-ip-address>
      <company>BBBBB</company>
      <shipping-contact-info>
          <last-name>LL</last-name>
          <first-name>YY</first-name>
          <country>US</country>
          <state>AL</state>
          <city>Juneau</city>
          <address1>Address1</address1>
          <address2>Address2</address2>
          <zip>12345</zip>
      </shipping-contact-info>
      <enterprise-site-id>DEFAULT</enterprise-site-id>
      <enterprise-udfs>
        <udf>
          <udf-name>ENT_UDF1</udf-name>
          <udf-value>aaa</udf-value>
        </udf>
        <udf>
          <udf-name>ENT_UDF2</udf-name>
          <udf-value>bbb</udf-value>
        </udf>
      </enterprise-udfs>
  </transaction-fraud-info>
</card-transaction>'

Vaulted Shopper request examples

(See corresponding response examples.)

curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>20781033</vaulted-shopper-id>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>20769005</vaulted-shopper-id>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>20769005</vaulted-shopper-id>
   <credit-card>
      <card-number>4012000033330026</card-number>
      <security-code>111</security-code>
      <expiration-month>07</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <soft-descriptor>DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <vaulted-shopper-id>20769005</vaulted-shopper-id>
  <credit-card>
    <card-last-four-digits>9299</card-last-four-digits>
    <card-type>VISA</card-type>
    <security-code>837</security-code>
  </credit-card>
</card-transaction>'

Wallet request examples

(See corresponding response examples.)

curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<?xml version="1.0" encoding="UTF-8"?>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <amount>11.00</amount>
   <currency>USD</currency>
   <wallet-id>21</wallet-id>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <soft-descriptor>DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <wallet>
    <apple-pay>
      <encoded-payment-token>ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd</encoded-payment-token>
    </apple-pay>	
  </wallet>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <soft-descriptor>DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <wallet>
    <wallet-type>GOOGLE_PAY</wallet-type>
    <encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>
  </wallet>
</card-transaction>'

3-D Secure request examples

(See corresponding response examples.)

curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>10.00</amount>
   <currency>USD</currency>
   <transaction-initiator>SHOPPER</transaction-initiator>
   <card-holder-info>
      <first-name>John</first-name>
      <last-name>Blue</last-name>
   </card-holder-info>
   <pf-token>543dfc6143d0fdaf7a2c9ddb8f2e8bb13902e1aad6fe36f7fd2ea9654655ca09_</pf-token>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>10.00</amount>
   <currency>USD</currency>
   <transaction-initiator>MERCHANT</transaction-initiator>
   <vaulted-shopper-id>19574642</vaulted-shopper-id>
   <network-transaction-info>
        <original-network-transaction-id>019072416233566</original-network-transaction-id>
    </network-transaction-info>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <soft-descriptor>DescTest</soft-descriptor>
    <amount>10.00</amount>
    <currency>USD</currency>
    <transaction-initiator>MERCHANT</transaction-initiator>
    <card-holder-info>
    		<first-name>John</first-name>
   		 	<last-name>Blue</last-name>
    </card-holder-info>
    <credit-card>
    		<card-number>4111 1111 1111 1111</card-number>
    		<security-code>111</security-code>
    		<expiration-month>07</expiration-month>
    		<expiration-year>2023</expiration-year>
    </credit-card>
    <network-transaction-info>
    		<original-network-transaction-id>019072416233566</original-network-transaction-id>
    </network-transaction-info>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>10.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>19574268</vaulted-shopper-id>
   <credit-card>
    	<card-last-four-digits>1111</card-last-four-digits>
    	<card-type>VISA</card-type>
   </credit-card>
   <three-d-secure>
   		<three-d-secure-reference-id>5303</three-d-secure-reference-id>
   </<three-d-secure>>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>10.00</amount>
   <currency>USD</currency>
   <card-holder-info>
      <first-name>John</first-name>
      <last-name>Blue</last-name>
   </card-holder-info>
   <credit-card>
      <card-number>4111 1111 1111 1111</card-number>
      <security-code>111</security-code>
      <expiration-month>07</expiration-month>
      <expiration-year>2022</expiration-year>
   </credit-card>
       <three-d-secure>
        <three-d-secure-reference-id>4813</three-d-secure-reference-id>
    </three-d-secure>
</card-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-number>4111 1111 1111 1111</card-number>
      <security-code>111</security-code>
      <expiration-month>07</expiration-month>
      <expiration-year>2022</expiration-year>
   </credit-card>
   <three-d-secure>
       <eci>05</eci>
       <cavv>AAABAWFlmQAAAABjRWWZEEFgFz+A</cavv>
       <xid>MGpHWm5ZWVpKclo0aUk0VmltVDA=</xid>
       <ds-transaction-id>e08da266-b58d-45c9-a1f8-570b7fb80e30</ds-transaction-id>
       <three-d-secure-version>2.1.0</three-d-secure-version>
    </three-d-secure>
</card-transaction>'

Response Examples

Basic response examples

(See corresponding request examples.)

<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38486450</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <transaction-id>38497126</transaction-id>
    <soft-descriptor>BLS*DescTest</soft-descriptor>
    <amount>11.00</amount>
    <currency>USD</currency>
    <vaulted-shopper-id>1234</vaulted-shopper-id>
    <avs-response-code>G</avs-response-code>
    <card-holder-info>
        <first-name>test first name</first-name>
        <last-name>test last name</last-name>
        <zip>123456</zip>
    </card-holder-info>
    <credit-card>
        <card-last-four-digits>9299</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <card-category>CLASSIC</card-category>
    </credit-card>
    <transaction-meta-data>
        <meta-data>
            <meta-key>stateTaxAmount</meta-key>
            <meta-value>20.00</meta-value>
            <meta-description>State Tax Amount</meta-description>
        </meta-data>
        <meta-data>
            <meta-key>cityTaxAmount</meta-key>
            <meta-value>20.00</meta-value>
            <meta-description>City Tax Amount</meta-description>
        </meta-data>
        <meta-data>
            <meta-key>shippingAmount</meta-key>
            <meta-value>10.00</meta-value>
            <meta-description>Shipping Amount</meta-description>
        </meta-data>
    </transaction-meta-data>
    <processing-info>
        <processing-status>success</processing-status>
        <cvv-response-code>MA</cvv-response-code>
        <avs-response-code-zip>U</avs-response-code-zip>
        <avs-response-code-address>U</avs-response-code-address>
        <avs-response-code-name>U</avs-response-code-name>
    </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <merchant-transaction-id>3</merchant-transaction-id>
   <transaction-id>38488150</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38504166</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-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>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>ND</cvv-response-code>
      <avs-response-code-zip>U</avs-response-code-zip>
      <avs-response-code-address>U</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38486450</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <merchant-transaction-id>3</merchant-transaction-id>
   <transaction-id>38488150</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
     <merchant-shopper-id>a432567</merchant-shopper-id>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <vendor-info>
    <vendor-id>10398032</vendor-id>
    <commission-percent>20</commission-percent>
  </vendor-info>
  <vendors-info>
    <vendor-info>
      <vendor-id>10398032</vendor-id>
      <commission-percent>20</commission-percent>
    </vendor-info>
  </vendors-info>
  <transaction-id>1015600975</transaction-id>
  <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <card-holder-info>
    <first-name>test first name</first-name>
    <last-name>test last name</last-name>
    <zip>123456</zip>
  </card-holder-info>
  <vaulted-shopper-id>22327411</vaulted-shopper-id>
  <credit-card>
    <card-last-four-digits>9299</card-last-four-digits>
    <card-type>VISA</card-type>
    <card-sub-type>CREDIT</card-sub-type>
    <card-category>GOLD</card-category>
  </credit-card>
  <processing-info>
    <processing-status>success</processing-status>
    <cvv-response-code>MA</cvv-response-code>
    <avs-response-code-zip>U</avs-response-code-zip>
    <avs-response-code-address>U</avs-response-code-address>
    <avs-response-code-name>U</avs-response-code-name>
  </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
<card-transaction-type>AUTH_CAPTURE</card-transaction-type>
<transaction-id>1016888489</transaction-id>
<soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
<amount>11.00</amount>
<currency>USD</currency>
<card-holder-info>
<first-name>test first name</first-name>
<last-name>test last name</last-name>
</card-holder-info>
<vaulted-shopper-id>22730357</vaulted-shopper-id>
<credit-card>
<card-last-four-digits>9424</card-last-four-digits>
<card-type>DISCOVER</card-type>
<card-sub-type>CREDIT</card-sub-type>
<card-category>PLATINUM</card-category>
</credit-card>
<processing-info>
<processing-status>success</processing-status>
<cvv-response-code>ND</cvv-response-code>
<avs-response-code-zip>U</avs-response-code-zip>
<avs-response-code-address>U</avs-response-code-address>
<avs-response-code-name>U</avs-response-code-name>
</processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38486450</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>

Fraud response examples

(See corresponding request examples.)

<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38488222</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>1234</vaulted-shopper-id>
   <card-holder-info>
     <first-name>test first name</first-name>
     <last-name>test last name</last-name>
     <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
   <fraud-result-info>
      <device-data-collector>Y</device-data-collector>
   </fraud-result-info>
</card-transaction>

Vaulted Shopper response examples

(See corresponding request examples.)

<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38488224</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>19549066</vaulted-shopper-id>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <transaction-id>38486450</transaction-id>
   <soft-descriptor>BLS*DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <vaulted-shopper-id>20769005</vaulted-shopper-id>
   <credit-card>
      <card-last-four-digits>9299</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
   </credit-card>
   <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>MA</cvv-response-code>
      <avs-response-code-zip>M</avs-response-code-zip>
      <avs-response-code-address>M</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
   </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <transaction-id>1014303131</transaction-id>
  <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <vaulted-shopper-id>20769005</vaulted-shopper-id>
  <credit-card>
      <card-last-four-digits>0026</card-last-four-digits>
      <card-type>VISA</card-type>
      <card-sub-type>CREDIT</card-sub-type>
      <card-category>CLASSIC</card-category>
  </credit-card>
  <processing-info>
      <processing-status>success</processing-status>
      <cvv-response-code>ND</cvv-response-code>
      <avs-response-code-zip>U</avs-response-code-zip>
      <avs-response-code-address>U</avs-response-code-address>
      <avs-response-code-name>U</avs-response-code-name>
  </processing-info>
</card-transaction>

Wallet response examples

(See corresponding request examples.)

<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <transaction-id>1011702615</transaction-id>
  <amount>11.00</amount>
  <currency>USD</currency>
  <vaulted-shopper-id>123</vaulted-shopper-id>
  <card-holder-info>
	  <first-name>test first name</first-name>
	  <last-name>test last name</last-name>
  </card-holder-info>
  <credit-card>
	  <card-last-four-digits>9299</card-last-four-digits>
	  <card-type>VISA</card-type>
	  <card-sub-type>CREDIT</card-sub-type>
    <card-category>CLASSIC</card-category>
  </credit-card>
  <processing-info>
	  <processing-status>success</processing-status>
	  <cvv-response-code>NC</cvv-response-code>
  </processing-info>
</card-transaction>
<card-transaction xmlns="http://ws.plimus.com">
  <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
  <transaction-id>38486450</transaction-id>
  <soft-descriptor>BLS*DescTest</soft-descriptor>
  <amount>11.00</amount>
  <currency>USD</currency>
  <vaulted-shopper-id>1234</vaulted-shopper-id>
  <Wallet>
    <billing-contact-info>
      <first-name>John</first-name>
      <last-name>Doe</last-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>
  <processing-info>
    <processing-status>success</processing-status>
    <cvv-response-code>MA</cvv-response-code>
    <avs-response-code-zip>M</avs-response-code-zip>
    <avs-response-code-address>M</avs-response-code-address>
    <avs-response-code-name>U</avs-response-code-name>
  </processing-info>
</card-transaction>
<card-transaction>
   <amount>11</amount>
   <cardHolderInfo>
      <firstName>test first name</firstName>
      <lastName>test last name</lastName>
      <zip>12345</zip>
   </cardHolderInfo>
   <cardTransactionType>AUTH_CAPTURE</cardTransactionType>
   <creditCard>
      <cardCategory>CLASSIC</cardCategory>
      <cardLastFourDigits>9299</cardLastFourDigits>
      <cardSubType>CREDIT</cardSubType>
      <cardType>VISA</cardType>
   </creditCard>
   <currency>USD</currency>
   <processingInfo>
      <processingStatus>success</processingStatus>
   </processingInfo>
   <softDescriptor>BLS&amp;#x2a;DescTest</softDescriptor>
   <transactionId>1012751937</transactionId>
   <vaultedShopperId>21289371</vaultedShopperId>
</card-transaction>
<card-transaction>
   <amount>11</amount>
   <cardHolderInfo>
      <country>us</country>
      <firstName>test first name</firstName>
      <lastName>test last name</lastName>
      <zip>12345</zip>
   </cardHolderInfo>
   <cardTransactionType>AUTH_CAPTURE</cardTransactionType>
   <currency>USD</currency>
   <processingInfo>
      <processingStatus>success</processingStatus>
   </processingInfo>
   <softDescriptor>BLS&amp;#x2a;DescTest</softDescriptor>
   <transactionId>1012751937</transactionId>
   <vaultedShopperId>21289371</vaultedShopperId>
   <wallet>
      <billingContactInfo>
         <country>us</country>
         <firstName>test first name</firstName>
         <lastName>test last name</lastName>
         <zip>123456</zip>
      </billingContactInfo>
      <tokenizedCard>
         <cardLastFourDigits>1111</cardLastFourDigits>
         <cardSubType>CREDIT</cardSubType>
         <cardType>VISA</cardType>
         <dpanExpirationMonth>9</dpanExpirationMonth>
         <dpanExpirationYear>2025</dpanExpirationYear>
         <dpanLastFourDigits>2222</dpanLastFourDigits>
      </tokenizedCard>
      <walletType>GOOGLE_PAY</walletType>
   </wallet>
</card-transaction>

3-D Secure response examples

(See corresponding request examples.)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <transaction-id>38510986</transaction-id>
    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
    <amount>10.00</amount>
    <usd-amount>10.00</usd-amount>
    <currency>USD</currency>
    <avs-response-code>G</avs-response-code>
    <card-holder-info>
        <first-name>John</first-name>
        <last-name>Blue</last-name>
    </card-holder-info>
    <vaulted-shopper-id>19574642</vaulted-shopper-id>
    <credit-card>
        <card-last-four-digits>1000</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <bin-category>CONSUMER</bin-category>
        <issuing-country-code>us</issuing-country-code>
    </credit-card>
    <three-d-secure>
        <authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>
    </three-d-secure>
    <network-transaction-info>
        <original-network-transaction-id>019072416233566</original-network-transaction-id>
        <network-transaction-id>019072416255266</network-transaction-id>
    </network-transaction-info>
    <processing-info>
        <processing-status>success</processing-status>
        <cvv-response-code>NR</cvv-response-code>
        <avs-response-code-zip>U</avs-response-code-zip>
        <avs-response-code-address>U</avs-response-code-address>
        <avs-response-code-name>U</avs-response-code-name>
        <network-transaction-id>019072416233566</network-transaction-id>
    </processing-info>
</card-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <transaction-id>38510988</transaction-id>
    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
    <amount>10.00</amount>
    <usd-amount>10.00</usd-amount>
    <currency>USD</currency>
    <avs-response-code>G</avs-response-code>
    <vaulted-shopper-id>19574642</vaulted-shopper-id>
    <credit-card>
        <card-last-four-digits>1000</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <bin-category>CONSUMER</bin-category>
        <issuing-country-code>us</issuing-country-code>
    </credit-card>
    <network-transaction-info>
        <original-network-transaction-id>019072416233566</original-network-transaction-id>
        <network-transaction-id>019072416255266</network-transaction-id>
    </network-transaction-info>
    <processing-info>
        <processing-status>success</processing-status>
        <cvv-response-code>ND</cvv-response-code>
        <avs-response-code-zip>U</avs-response-code-zip>
        <avs-response-code-address>U</avs-response-code-address>
        <avs-response-code-name>U</avs-response-code-name>
        <network-transaction-id>019072416255266</network-transaction-id>
    </processing-info>
    <fraud-result-info>
        <device-data-collector>N</device-data-collector>
    </fraud-result-info>
</card-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <transaction-id>38511272</transaction-id>
    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
    <amount>22.50</amount>
    <usd-amount>22.50</usd-amount>
    <currency>USD</currency>
    <avs-response-code>G</avs-response-code>
    <card-holder-info>
        <first-name>John</first-name>
        <last-name>Blue</last-name>
    </card-holder-info>
    <vaulted-shopper-id>19574798</vaulted-shopper-id>
    <credit-card>
        <card-last-four-digits>1111</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <bin-category>CONSUMER</bin-category>
        <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
        <issuing-country-code>us</issuing-country-code>
    </credit-card>
    <network-transaction-info>
        <original-network-transaction-id>019072416233566</original-network-transaction-id>
        <network-transaction-id>019072416255266</network-transaction-id>
    </network-transaction-info>
    <transaction-order-source>MOTO</transaction-order-source>
    <processing-info>
        <processing-status>success</processing-status>
        <cvv-response-code>MA</cvv-response-code>
        <avs-response-code-zip>U</avs-response-code-zip>
        <avs-response-code-address>U</avs-response-code-address>
        <avs-response-code-name>U</avs-response-code-name>
        <network-transaction-id>759211611101833</network-transaction-id>
    </processing-info>
    <fraud-result-info>
        <device-data-collector>N</device-data-collector>
    </fraud-result-info>
</card-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<card-transaction xmlns="http://ws.plimus.com">
    <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
    <transaction-id>38510952</transaction-id>
    <soft-descriptor>BLS&#x2a;DescTest</soft-descriptor>
    <amount>10.00</amount>
    <usd-amount>10.00</usd-amount>
    <currency>USD</currency>
    <avs-response-code>G</avs-response-code>
    <card-holder-info>
        <first-name>John</first-name>
        <last-name>Blue</last-name>
    </card-holder-info>
    <vaulted-shopper-id>19574618</vaulted-shopper-id>
    <credit-card>
        <card-last-four-digits>1111</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <bin-category>CONSUMER</bin-category>
        <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
        <issuing-country-code>us</issuing-country-code>
    </credit-card>
    <three-d-secure>
        <authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>
    </three-d-secure>
    <network-transaction-info>
        <original-network-transaction-id>019072416233566</original-network-transaction-id>
        <network-transaction-id>019072416255266</network-transaction-id>
    </network-transaction-info>
    <processing-info>
        <processing-status>success</processing-status>
        <cvv-response-code>MA</cvv-response-code>
        <avs-response-code-zip>U</avs-response-code-zip>
        <avs-response-code-address>U</avs-response-code-address>
        <avs-response-code-name>U</avs-response-code-name>
        <network-transaction-id>759205706264329</network-transaction-id>
    </processing-info>
    <fraud-result-info>
        <device-data-collector>N</device-data-collector>
    </fraud-result-info>
</card-transaction>

Back to Top


Example Descriptions

Basic

Auth Capture with metadata

To send metadata for the transaction, you'll need to include the transaction-meta-data property within the card-transaction resource in your request. You can include up to 20 metadata key-value pairs in each transaction-meta-data property.

Above is an example of a request with metadata, including state tax, city tax, and the shipping amount.

Auth Capture with Merchant Transaction ID

You may wish to assign your own ID to each transaction, for example in order to track the transactions in your own internal systems. To do this, you'll need to include the merchant-transaction-id property within the card-transaction resource in your request.

Above is an example of a request that includes a Merchant Transaction ID (MTI), along with the minimum required fields for a one-time payment using a credit card.

Auth Capture with encrypted credit card

Your PCI compliance requirements and API permission level may require that you send credit card data in encrypted format only. To do this, you'll need to include theencrypted-card-number and encrypted-security-code properties within the card-transaction resource in your request.

Above is an example of a request with an encrypted credit card number.

Auth Capture with Hosted Payment Fields token

If you are using BlueSnap's Hosted Payment Fields, you can process the shopper's payment using the 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.

Note that the response will look like a regular response for a credit card, with the card's last four digits and card type.

Auth Capture with Merchant Shopper ID

You may wish to assign your own Shopper ID to each transaction, for example in order to track the transactions in your own internal systems. To do this, you'll need to include the merchant-shopper-id property within the cardTransaction resource.

Above is an example of a request that includes a Merchant Shopper ID, along with the minimum required fields for a one-time payment using a credit card.

Auth Capture with Vendors Info

This example shows an Auth Capture request within a marketplace. If you are a Marketplace Merchant, you will include vendors-info in the request to process a transaction involving one or more vendors. For more details, see the Marketplace Guide.

Auth Capture with store card approval

This example shows an Auth Capture 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.

Auth Capture with Embedded Checkout token

If you are using BlueSnap's Embedded Checkout, you can process the shopper's payment using the information from the Embedded Payment Form by including the token within the pf-token property in your request.

Above is an example of a request with the Embedded Checkout token.

Note that the response will look like a regular response for a credit card, with the card's last four digits and card type.

Fraud Examples

Auth Capture with fraud info

This example shows a basic Auth Capture request, containing the minimum required fields for a one-time payment using a credit card. It includes the required fraud info in the transaction-fraud-info property within the card-transaction resource in your request. See transaction-fraud-info.

An additional example with enterprise fraud info is above. Enterprise fraud info is supported only for merchants who have signed up for the Enterprise-level fraud service from BlueSnap. See Fraud prevention.

Vaulted Shopper Examples

Auth Capture with vaulted shopper

To perform an Auth Capture request with an existing vaulted shopper, you'll need to include the vaulted-shopper-id property within the card-transaction resource in your request. When specifying a credit card for a vaulted shopper, you must include the card-last-four-digits and card-type properties within the credit-card resource.

Above are two vaulted shopper examples. The first is with a vaulted shopper who only has one credit card, so there is no need to specify which credit card to charge. The second is with a vaulted shopper who has multiple cards, so the request must indicate which card to charge.

Auth Capture with vaulted shopper & CVV

You may wish to collect CVV on your checkout form from all your shoppers – even from returning shoppers. One reason you might choose to do this is that transactions with CVV generally result in higher success rates.

Above is an example of sending CVV in a transaction request involving a returning shopper.
Include vaulted-shopper-id and CVV in the request as in the example.

Auth Capture with vaulted shopper & new card

This example shows an Auth Only request with a vaulted shopper and a new card. If you include vaulted-shopper-id and a new card in the request, the shopper's card will be charged and the card details will be added to the shopper.

Wallet Examples

Auth Capture with wallet ID

If the shopper is paying via Masterpass or Visa Checkout, you can include the wallet-idin the request. For details, see:

Above is an example of a request with a Masterpass wallet.

Note:

When you include the wallet ID in the request, a vaulted shopper will be automatically created and the vaulted shopper ID will be returned to you in the response.

If you prefer to save the wallet information in an existing shopper, it is recommended to instead send a Create Vaulted Shopper request with the wallet ID and then use that vaulted shopper in your Auth Capture request.

Auth Capture with Apple Pay

This example shows an Auth Capture request with Apple Pay. In the request, include encoded-payment-token inside wallet > apple-pay. Instructions on how to extract the encoded-payment-token can be found in the 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.

Auth Capture with Google Pay

This example shows an Auth Capture request with Google Pay. In the request, include wallet-type = GOOGLE_PAY and encoded-payment-token inside wallet. Instructions on how to extract the encoded-payment-token can be found in the Google Pay Guide.

3-D Secure Examples

3DS with shopper-initiated transaction

The request includes "transaction-initiator":"SHOPPER" to indicate that this is a Customer-Initiated Transaction. The response includes the same network-transaction-id in both the network-transaction-info and the processing-info sections. The merchant keeps this network-transaction-id for future transactions.

3DS with MIT

The request includes "transaction-initiator":"MERCHANT" to indicate that this is a Merchant-Initiated Transaction. The merchant also includes the original-network-transaction-id to link the transaction to an existing transaction on which SCA was performed so SCA does not need to be performed again. In the network-transaction-info section, the response includes both the original-network-transaction-id and the new network-transaction-id. The merchant continues using the original-network-transaction-id for future transactions.

Returning shopper with 3DS

This request specifies the vaulted-shopper-id, the card details rather than the token, and includes the three-d-secure-reference-id to link everything together. The three-d-secure-reference-id comes from sdkResponse.threeDSecure.threeDSecureReferenceId in the callback of bluesnap.threeDsPaymentsSetup. For more information, refer to the 3-D Secure for API Guide.

With MOTO and NTI

This request specifies the "transaction-order-source":"MOTO" indicating that this is a MOTO transaction. The response includes the same network-transaction-id in both the network-transaction-info and the processing-info sections. The merchant keeps this network-transaction-id for future transactions. For more information, refer to the 3-D Secure for API Guide.

Full card details with 3DS ID

This example is for merchants using our 3DS plain text solution.

3DS with External MPI

The request includes the threeDSecure object to provide the necessary 3-D Secure data from the external Merchant Plug-In (MPI).



Back to Top


API Explorer

To test out a call, enter the XML portion of the request below and then click Try it!

Tip:

Copy the XML portion from one of the example requests above, or use the XML code below as a starting point. You can enter different parameters and test credit card numbers to see how your test scenario would work. The request headers, including authorization, are already built in for you in this test area, so you should not include them here.

<card-transaction xmlns="http://ws.plimus.com">
   <card-transaction-type>AUTH_CAPTURE</card-transaction-type>
   <soft-descriptor>DescTest</soft-descriptor>
   <amount>11.00</amount>
   <currency>USD</currency>
   <card-holder-info>
       <first-name>test first name</first-name>
       <last-name>test last name</last-name>
       <zip>123456</zip>
   </card-holder-info>
   <credit-card>
      <card-number>4263982640269299</card-number>
      <security-code>837</security-code>
      <expiration-month>02</expiration-month>
      <expiration-year>2023</expiration-year>
   </credit-card>
</card-transaction>

User Information

Try It Out


post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}