{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/transactions","auth":"optional","examples":{"codes":[]},"method":"post","results":{"codes":[{"code":"","language":"text"}]},"settings":"57ee593a21ceb20e0061959e","params":[]},"next":{"description":"","pages":[]},"title":"Auth Capture","type":"endpoint","slug":"auth-capture","excerpt":"","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\nSend a **[cardTransaction](doc:card-transaction)** object, with the following:\n `walletId` *long* <span style=\"color:#F37500\">**required** if using Masterpass or Visa Checkout</span>\n `wallet` *object* <span style=\"color:#F37500\">**required** if using Apple Pay or Google Pay™</span> (refer to [wallet](doc:wallet)) \n `amount` *decimal* <span style=\"color:#F37500\">**required**</span>\n `vaultedShopperId` *integer* <span style=\"color:#F37500\">**required** if using a vaulted shopper</span>\n `merchantTransactionId` *string* optional\n `softDescriptor` *string* optional\n `descriptorPhoneNumber` *string* optional\n `vendorsInfo` *object* <span style=\"color:#F37500\">**required** if using marketplace vendor(s)</span> (refer to [vendorsInfo](doc:vendorsinfo))\n `cardHolderInfo` *object* <span style=\"color:#F37500\">**required** for [LatAm local processing](/docs/latam-local-processing)</span> (refer to [cardHolderInfo](doc:card-holder-info))\n `currency` *string* <span style=\"color:#F37500\">**required**</span>\n `transactionFraudInfo` *object* optional (refer to [transactionFraudInfo](doc:transaction-fraud-info))\n `creditCard` *object* <span style=\"color:#F37500\">**required** if sending card data or if vaulted shopper has multiple cards; do **not** include if sending `pfToken` or `wallet`</span> (refer to [creditCard](doc:credit-card))\n `cardTransactionType` *string* <span style=\"color:#F37500\">**required**</span>, value must be **AUTH_CAPTURE**\n `threeDSecure` *object* optional (refer to [threeDSecure](doc:threedsecure))\n `transactionMetaData` *object* optional (refer to [transactionMetaData](doc:transaction-meta-data))\n `pfToken` *string* <span style=\"color:#F37500\">**required** if using [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields), [Embedded Checkout](/v8976-Tools/docs/embedded-checkout), or [Secured Payment Collector](doc:secured-payment-collector)</span>\n `level3Data` *object* optional (refer to [level3Data](doc:level3data))\n `storeCard` *boolean* optional (refer to [cardTransaction](doc:card-transaction)) \n `networkTransactionInfo` *container* optional \n `transactionOrderSource` *string* optional \n `transactionInitiator` *string* optional\n\n##Response Details\n\nIf successful, the response HTTP status code is 200 OK.\nThe response contains the request properties plus these additions:\n\n `vaultedShopperId`\n `processingInfo`\n `fraudResultInfo` if [fraud prevention](/docs/fraud-prevention) is enabled\n `threeDSecure` if sending 3D Secure authentication data\n `networkTransactionInfo`\n `transactionId` \n `vendorsInfo` if using marketplace vendor(s)\n `level3Data` if sending Level 2/3 data\n\n<hr>\n\n## Examples\n\n### Basic request and response examples\n\n**Request**\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": \\\"11.00\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardNumber\\\": \\\"4263982640269299\\\",\\n \\\"securityCode\\\": \\\"837\\\",\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"expirationYear\\\": \\\"2023\\\"\\n }\\n}'\",\n \"language\": \"curl\",\n \"name\": \"Basic\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/json' \\\\ \\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 100,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"01003\\\",\\n \\\"country\\\": \\\"US\\\",\\n \\\"state\\\": \\\"MA\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 111,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": \\\"4263982640269299\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"vendorsInfo\\\": {\\n \\\"vendorInfo\\\": [{ \\\"vendorId\\\": 10398032 }]\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionMetaData\\\": {\\n \\\"metaData\\\": [\\n {\\n \\\"metaValue\\\": 20,\\n \\\"metaKey\\\": \\\"stateTaxAmount\\\",\\n \\\"metaDescription\\\": \\\"State Tax Amount\\\"\\n },\\n {\\n \\\"metaValue\\\": 20,\\n \\\"metaKey\\\": \\\"cityTaxAmount\\\",\\n \\\"metaDescription\\\": \\\"City Tax Amount\\\"\\n },\\n {\\n \\\"metaValue\\\": 10,\\n \\\"metaKey\\\": \\\"shippingAmount\\\",\\n \\\"metaDescription\\\": \\\"Shipping Amount\\\"\\n }\\n ]\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"encryptedCardNumber\\\": \\\"$bsjs_1_0_3$B23uuxq8drUwOYZm3wZi+Qm69V5GPEt8PEio+Edwcm8akczQSK7odgLQH/Au+VqOCsGspW1Q9mPyQIzGLSZLVToAQVfq5C1ld+2ogIIsDL32Hd6IojboLyVlYT1FvPQoDyz19K6N0CUHh5uk0kCLuHSUyjvoJH38ojHZifbJSm/7S5vAtiuC3BJt2z8k9nauQaAXkbyoAYwrS1yDpqOt2k2lGhKcmdQ4ImDR0RL8m8xig6sFrki9oqo3Mju/M5r7wXXVTf7TMtWiQbzdfREOxKUnviXJZpncdHqVjj5GvPYun2qgopKVKr8F5+yd19TVW2gvA1kXBkXonFL9159Gxg==$zckJgo2i8jXDiAHwVVHBKypXFnWqF2e+6luBkmtQQRKniDXyXaalRVKLtYscBaGd$W7Ojqk1Q2iOJVeGL39RAsZTtfup3f1deSzvxrvC9rXA=\\\",\\n \\\"encryptedSecurityCode\\\": \\\"$bsjs_1_0_3$MB1nBpok/YkuWPG1/7e6dyFFhDPHB8p8E9Yo+0YHHV+xkHuzFKr02wAnE8PJ8QCzWH+2ctXy5FN6wLKjwFrfTOgy0BJ9k9+NDEe8mhsu66wMlyc3lnwrbvMRCWN1O+5gUNCFExj7B0mDtf4gtxecXs74KZ5l5dbpGWdKUk5i7OewWyTqsONbn9taLfVBOwuIOy2Jgi4fx+yB8Q05KdZeHSNSBJh8H/47AUNAn5dM+d9iO6yGQB3obzEzzR3UtHlkGR52ZsgbbFh0JMm9lBM2ClgYM8jvmQjS9HX2ojt1fkbhuPEb1IY/M498a+1wDPpI4aMfDxO1lSpJneRSpY5k4g==$XaKq1NbPcS0iHy9N9jHekEIByHYS4G3wJXlC9EQjAGM=$BJn6X6mBYGUo8Eoq4RQz69gsi4Azl8jT973mNpG9Yuo=\\\",\\n \\\"expirationMonth\\\": \\\"07\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"merchantTransactionId\\\": \\\"31233\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\",\\n \\\"merchantShopperId\\\": \\\"a432512\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"pfToken\\\": \\\"abcde12345**********\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"merchantTransactionId\\\": 3,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardTransactionType\\\": \\\"AUTH_ONLY\\\",\\n \\\"pfToken\\\": \\\"abcde12345**********\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionFraudInfo\\\": {\\n \\\"shopperIpAddress\\\": \\\"123.12.134.1\\\",\\n \\\"fraudSessionId\\\": 1234,\\n \\\"company\\\": \\\"BBBBB\\\",\\n \\\"shippingContactInfo\\\": {\\n \\\"zip\\\": 12345,\\n \\\"country\\\": \\\"US\\\",\\n \\\"firstName\\\": \\\"YY\\\",\\n \\\"lastName\\\": \\\"LL\\\",\\n \\\"city\\\": \\\"Juneau\\\",\\n \\\"address2\\\": \\\"Address2\\\",\\n \\\"address1\\\": \\\"Address1\\\",\\n \\\"state\\\": \\\"AL\\\"\\n }\\n },\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"storeCard\\\": true\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"transactionOrderSource\\\": \\\"MOTO\\\",\\n \\\"amount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardNumber\\\": \\\"4012000033330026\\\",\\n \\\"securityCode\\\": \\\"123\\\",\\n \\\"expirationMonth\\\": \\\"07\\\",\\n \\\"expirationYear\\\": \\\"2023\\\"\\n }\\n}'\",\n \"language\": \"curl\",\n \"name\": \"with MOTO\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n**Response**\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035511869\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855193,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with Basic\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"vendorInfo\\\": {\\n \\\"vendorId\\\": 10398032,\\n \\\"commissionPercent\\\": 90.2\\n },\\n \\\"vendorsInfo\\\": {\\n \\\"vendorInfo\\\": [\\n {\\n \\\"vendorId\\\": 10398032,\\n \\\"commissionPercent\\\": 90.2\\n }\\n ]\\n },\\n \\\"transactionId\\\": \\\"1035511531\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 100,\\n \\\"usdAmount\\\": 100,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:11:56\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"country\\\": \\\"US\\\",\\n \\\"state\\\": \\\"MA\\\",\\n \\\"zip\\\": \\\"01003\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855203,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"ND\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with basic with vendors info\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035511881\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:14:14\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855211,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"transactionMetaData\\\": {\\n \\\"metaData\\\": [\\n {\\n \\\"metaKey\\\": \\\"stateTaxAmount\\\",\\n \\\"metaValue\\\": \\\"20\\\",\\n \\\"metaDescription\\\": \\\"State Tax Amount\\\"\\n },\\n {\\n \\\"metaKey\\\": \\\"cityTaxAmount\\\",\\n \\\"metaValue\\\": \\\"20\\\",\\n \\\"metaDescription\\\": \\\"City Tax Amount\\\"\\n },\\n {\\n \\\"metaKey\\\": \\\"shippingAmount\\\",\\n \\\"metaValue\\\": \\\"10\\\",\\n \\\"metaDescription\\\": \\\"Shipping Amount\\\"\\n }\\n ]\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with metadata\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"merchantTransactionId\\\": \\\"3\\\",\\n \\\"transactionId\\\": \\\"1035511807\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:23:19\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855261,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with Merchant Transaction ID\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035511971\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:16:27\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855215,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1111\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"Y\\\",\\n \\\"issuingBank\\\": \\\"JPMORGAN CHASE BANK, N.A.\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"ND\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with encrypted credit card\"\n },\n {\n \"code\": \"{\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:16:27\\\",\\n \\\"vaultedShopperId\\\": 1234,\\n \\\"processingInfo\\\": {\\n \\\"avsResponseCodeAddress\\\": \\\"M\\\",\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"avsResponseCodeZip\\\": \\\"M\\\"\\n },\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": 9299,\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": 38486450\\n}\",\n \"language\": \"json\",\n \"name\": \"with Hosted Payment Fields\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"merchantTransactionId\\\": \\\"31233\\\",\\n \\\"transactionId\\\": \\\"1035511537\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:17:56\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"merchantShopperId\\\": \\\"a432512\\\",\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855219,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with Merchant Shopper ID\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035511921\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:27:14\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 28855295,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with store card approval\"\n },\n {\n \"code\": \"{\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:11:56\\\",\\n \\\"vaultedShopperId\\\": 1234,\\n \\\"processingInfo\\\": {\\n \\\"avsResponseCodeAddress\\\": \\\"M\\\",\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"avsResponseCodeZip\\\": \\\"M\\\"\\n },\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": 9299,\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": 38486450\\n}\",\n \"language\": \"json\",\n \"name\": \"with Embedded Checkout\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"38486450\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"usdAmount\\\": 11,\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:11:56\\\",\\n \\\"vaultedShopperId\\\": \\\"1234\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"M\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"M\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"with Authorization Code\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n### Fraud request and response examples\n\n**Request**\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionFraudInfo\\\": {\\n \\\"shopperIpAddress\\\": \\\"123.12.134.1\\\",\\n \\\"fraudSessionId\\\": 1234,\\n \\\"company\\\": \\\"BBBBB\\\",\\n \\\"fraudProducts\\\": [\\n {\\n \\\"fraudProductName\\\": \\\"123RRC\\\",\\n \\\"fraudProductDesc\\\": \\\"my product\\\",\\n \\\"fraudProductType\\\": \\\"Online game\\\",\\n \\\"fraudProductQuantity\\\": 1,\\n \\\"fraudProductPrice\\\": 14.5\\n },\\n {\\n \\\"fraudProductName\\\": \\\"345RRC\\\",\\n \\\"fraudProductDesc\\\": \\\"my product2\\\",\\n \\\"fraudProductType\\\": \\\"Video game\\\",\\n \\\"fraudProductQuantity\\\": 2,\\n \\\"fraudProductPrice\\\": 18\\n }\\n ],\\n \\\"shippingContactInfo\\\": {\\n \\\"zip\\\": 12345,\\n \\\"country\\\": \\\"US\\\",\\n \\\"firstName\\\": \\\"YY\\\",\\n \\\"lastName\\\": \\\"LL\\\",\\n \\\"city\\\": \\\"Juneau\\\",\\n \\\"address2\\\": \\\"Address2\\\",\\n \\\"address1\\\": \\\"Address1\\\",\\n \\\"state\\\": \\\"AL\\\"\\n }\\n },\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\n \"language\": \"curl\",\n \"name\": \"basic with fraud info\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionFraudInfo\\\": {\\n \\\"enterpriseSiteId\\\": \\\"DEFAULT\\\",\\n \\\"shopperIpAddress\\\": \\\"123.12.134.1\\\",\\n \\\"fraudSessionId\\\": 1234,\\n \\\"enterpriseUdfs\\\": {\\n \\\"udf\\\": [\\n {\\n \\\"udfValue\\\": \\\"aaa\\\",\\n \\\"udfName\\\": \\\"ENT_UDF1\\\"\\n },\\n {\\n \\\"udfValue\\\": \\\"bbb\\\",\\n \\\"udfName\\\": \\\"ENT_UDF2\\\"\\n }\\n ]\\n },\\n \\\"company\\\": \\\"BBBBB\\\",\\n \\\"shippingContactInfo\\\": {\\n \\\"zip\\\": 12345,\\n \\\"country\\\": \\\"US\\\",\\n \\\"firstName\\\": \\\"YY\\\",\\n \\\"lastName\\\": \\\"LL\\\",\\n \\\"city\\\": \\\"Juneau\\\",\\n \\\"address2\\\": \\\"Address2\\\",\\n \\\"address1\\\": \\\"Address1\\\",\\n \\\"state\\\": \\\"AL\\\"\\n }\\n },\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": 4263982640269299\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\n \"language\": \"curl\",\n \"name\": \"with Complete-level (formerly Enterprise) fraud info\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n**Response**\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1039090313\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11.0,\\n \\\"usdAmount\\\": 11.0,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"12/28/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"15:04:33\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"vaultedShopperId\\\": 29969891,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"PLATINUM\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"binNumber\\\": \\\"426398\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingBank\\\": \\\"ALLIED IRISH BANKS PLC\\\",\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"expirationYear\\\": \\\"2023\\\",\\n \\\"issuingCountryCode\\\": \\\"ie\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"authorizationCode\\\": \\\"123456\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with fraud info / Complete-level (formerly Enterprise) fraud info\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n### Vaulted Shopper request and response examples\n\n**Request**\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"vaultedShopperId\\\": 20769005,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": 1111,\\n \\\"cardType\\\": \\\"VISA\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"vaultedShopperId\\\": 20781033,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"vaultedShopperId\\\": 20769005,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1111\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"securityCode\\\": \\\"837\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\n \"language\": \"curl\",\n \"name\": \"with vaulted shopper & CVV\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": \\\"11.00\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"vaultedShopperId\\\": \\\"20769005\\\",\\n \\\"creditCard\\\": {\\n \\\"cardNumber\\\": \\\"4012000033330026\\\",\\n \\\"securityCode\\\": \\\"111\\\",\\n \\\"expirationMonth\\\": \\\"07\\\",\\n \\\"expirationYear\\\": \\\"2023\\\"\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": 10,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"vaultedShopperId\\\": \\\"29034019\\\",\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1000\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"securityCodePfToken\\\": \\\"0183117d722d8cc9921b4d5710d3394162c6d54d2b2cc1ed1f682e6c0618b7c5\\\"\\n }\\n}'\",\n \"language\": \"curl\",\n \"name\": \"with vaulted shopper & tokenized CVV\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n**Response**\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035512125\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:34:16\\\",\\n \\\"vaultedShopperId\\\": 20769005,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1111\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"Y\\\",\\n \\\"issuingBank\\\": \\\"JPMORGAN CHASE BANK, N.A.\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"vaulted shopper (with or without specified credit card)\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035512361\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:37:15\\\",\\n \\\"vaultedShopperId\\\": 20769005,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1111\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"Y\\\",\\n \\\"issuingBank\\\": \\\"JPMORGAN CHASE BANK, N.A.\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"ND\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with vaulted shopper & CVV\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1035512275\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:38:45\\\",\\n \\\"vaultedShopperId\\\": 20769005,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"0026\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingCountryCode\\\": \\\"ru\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"ND\\\",\\n \\\"authorizationCode\\\": \\\"654321\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\"\\n },\\n \\\"fraudResultInfo\\\": {}\\n}\",\n \"language\": \"json\",\n \"name\": \"with vaulted shopper & new card \"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n### Wallet request and response examples\n\n**Request**\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"walletId\\\": 21,\\n \\\"amount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": 11.0,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"wallet\\\": {\\n \\\"walletType\\\": \\\"APPLE_PAY\\\",\\n \\\"encodedPaymentToken\\\": \\\"ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd\\\"\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": 11.0,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"wallet\\\": {\\n \\\"walletType\\\": \\\"GOOGLE_PAY\\\",\\n \\\"encodedPaymentToken\\\": \\\"ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd\\\"\\n }\\n}'\",\n \"language\": \"curl\",\n \"name\": \"with Google Pay™\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n**Response**\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"NC\\\"\\n },\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": 9299,\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": 1011702615\\n}\",\n \"language\": \"json\",\n \"name\": \"with wallet ID\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"merchantTransactionId\\\": \\\"112233\\\",\\n \\\"transactionId\\\": \\\"38602972\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"usdAmount\\\": 11,\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"John\\\",\\n \\\"lastName\\\": \\\"Doe\\\",\\n \\\"email\\\": \\\"john:::at:::bluesnap.com\\\",\\n \\\"country\\\": \\\"us\\\",\\n \\\"state\\\": \\\"NY\\\",\\n \\\"address\\\": \\\"61 Main St.\\\",\\n \\\"city\\\": \\\"New York\\\",\\n \\\"zip\\\": \\\"12345\\\",\\n \\\"phone\\\": \\\"222513654654\\\"\\n },\\n \\\"vaultedShopperId\\\": 19644934,\\n \\\"wallet\\\": {\\n \\\"walletType\\\": \\\"APPLE_PAY\\\",\\n \\\"billingContactInfo\\\": {\\n \\\"firstName\\\": \\\"John\\\",\\n \\\"lastName\\\": \\\"Doe\\\",\\n \\\"address1\\\": \\\"61 Main St.\\\",\\n \\\"city\\\": \\\"New York\\\",\\n \\\"state\\\": \\\"NY\\\",\\n \\\"zip\\\": \\\"12345\\\",\\n \\\"country\\\": \\\"us\\\"\\n },\\n \\\"tokenizedCard\\\": {\\n \\\"dpanExpirationMonth\\\": \\\"7\\\",\\n \\\"dpanExpirationYear\\\": \\\"2019\\\",\\n \\\"dpanLastFourDigits\\\": \\\"0010\\\",\\n \\\"cardLastFourDigits\\\": \\\"1471\\\",\\n \\\"cardType\\\": \\\"MASTERCARD\\\",\\n \\\"cardSubType\\\": \\\"DEBIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"cardRegulated\\\": \\\"N\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n }\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"with Apple Pay\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1012751937\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"12345\\\"\\n },\\n \\\"vaultedShopperId\\\": 21289371,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"9299\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"with Google Pay™\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"1012751937\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"usdAmount\\\": 11,\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"12345\\\",\\n \\\"country\\\": \\\"us\\\"\\n },\\n \\\"vaultedShopperId\\\": 21289371,\\n \\\"wallet\\\": {\\n \\\"walletType\\\": \\\"GOOGLE_PAY\\\",\\n \\\"billingContactInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\",\\n \\\"zip\\\": \\\"123456\\\",\\n \\\"country\\\": \\\"us\\\"\\n },\\n \\\"tokenizedCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1111\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"dpanExpirationMonth\\\": \\\"9\\\",\\n \\\"dpanExpirationYear\\\": \\\"2025\\\",\\n \\\"dpanLastFourDigits\\\": \\\"2222\\\"\\n }\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"with Google Pay™ with tokenized card\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n### 3-D Secure request and response examples\n\n**Request**\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 10.0,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"pfToken\\\": \\\"124ed4af4a7530e1a5f6359c3120cde7b05260d792a3aeed38acd098046846af_\\\",\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionInitiator\\\": \\\"SHOPPER\\\"\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 25.0,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"vaultedShopperId\\\": 19574632,\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionInitiator\\\": \\\"MERCHANT\\\",\\n \\\"networkTransactionInfo\\\": {\\n \\\"originalNetworkTransactionId\\\": \\\"019072416113666\\\"\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n\\t\\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n\\t\\\"softDescriptor\\\": \\\"DescTest\\\",\\n\\t\\\"amount\\\": 10,\\n\\t\\\"currency\\\": \\\"USD\\\",\\n\\t\\\"vaultedShopperId\\\":\\\"19574268\\\",\\n\\t\\\"creditCard\\\": {\\n\\t\\t\\\"cardLastFourDigits\\\": \\\"1111\\\",\\n\\t\\t\\\"cardType\\\": \\\"VISA\\\"\\n\\t\\t},\\n\\t\\\"threeDSecure\\\": {\\n\\t\\t\\\"threeDSecureReferenceId\\\":\\\"5303\\\"\\n\\t}\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"recurringTransaction\\\": \\\"ECOMMERCE\\\",\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"amount\\\": 10,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"creditCard\\\": {\\n \\\"cardNumber\\\": \\\"4012000033330026\\\",\\n \\\"securityCode\\\": \\\"123\\\",\\n \\\"expirationMonth\\\": \\\"07\\\",\\n \\\"expirationYear\\\":\\\"2023\\\"\\n },\\n \\\"threeDSecure\\\": {\\n \\t\\\"threeDSecureReferenceId\\\":\\\"4759\\\"\\n }\\n}'\",\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/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\", \\n \\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2019,\\n \\\"securityCode\\\": 111,\\n \\\"expirationMonth\\\": \\\"07\\\",\\n \\\"cardNumber\\\": 4012000033330026\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"threeDSecure\\\": {\\n \\\"eci\\\": \\\"05\\\",\\n \\\"cavv\\\": \\\"AAABAWFlmQAAAABjRWWZEEFgFz+A\\\",\\n \\\"xid\\\": \\\"MGpHWm5ZWVpKclo0aUk0VmltVDA=\\\",\\n \\\"dsTransactionId\\\" : \\\"e08da266-b58d-45c9-a1f8-570b7fb80e30\\\",\\n \\\"threeDSecureVersion\\\" : \\\"2.1.0\\\"\\n }\\n}\",\n \"language\": \"curl\",\n \"name\": \"3DS with External MPI\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n**Response**\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"38510976\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 10,\\n \\\"usdAmount\\\": 10,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"avsResponseCode\\\": \\\"G\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"vaultedShopperId\\\": 19574632,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1000\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"threeDSecure\\\": {\\n \\\"authenticationResult\\\": \\\"AUTHENTICATION_SUCCEEDED\\\"\\n },\\n \\\"networkTransactionInfo\\\": {\\n \\\"originalNetworkTransactionId\\\": \\\"019072416113666\\\",\\n \\\"networkTransactionId\\\": \\\"019072416144666\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"NR\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"networkTransactionId\\\": \\\"019072416113666\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"3DS with shopper-initiated transaction\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"38510978\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 25,\\n \\\"usdAmount\\\": 25,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"avsResponseCode\\\": \\\"G\\\",\\n \\\"vaultedShopperId\\\": 19574632,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"1000\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"networkTransactionInfo\\\": {\\n \\\"originalNetworkTransactionId\\\": \\\"019072416113666\\\",\\n \\\"networkTransactionId\\\": \\\"019072416144666\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"ND\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"networkTransactionId\\\": \\\"019072416144666\\\"\\n },\\n \\\"fraudResultInfo\\\": {\\n \\\"deviceDataCollector\\\": \\\"N\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"MIT response with new and original NTI\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"38511274\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 11,\\n \\\"usdAmount\\\": 11,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"avsResponseCode\\\": \\\"G\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"vaultedShopperId\\\": 19574800,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"0026\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"issuingBank\\\": \\\"EXTRAS TEST - VISA\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"networkTransactionInfo\\\": {\\n \\\"originalNetworkTransactionId\\\": \\\"019072416113666\\\",\\n \\\"networkTransactionId\\\": \\\"019072416144666\\\"\\n },\\n \\\"transactionOrderSource\\\": \\\"MOTO\\\",\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"NR\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"networkTransactionId\\\": \\\"759211612041880\\\"\\n },\\n \\\"fraudResultInfo\\\": {\\n \\\"deviceDataCollector\\\": \\\"N\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"MOTO response with NTI\"\n },\n {\n \"code\": \"{\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\",\\n \\\"transactionId\\\": \\\"38510954\\\",\\n \\\"recurringTransaction\\\": \\\"ECOMMERCE\\\",\\n \\\"softDescriptor\\\": \\\"BLS*DescTest\\\",\\n \\\"amount\\\": 10,\\n \\\"usdAmount\\\": 10,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionApprovalDate\\\": \\\"09/29/2020\\\",\\n \\\"transactionApprovalTime\\\": \\\"13:08:47\\\",\\n \\\"avsResponseCode\\\": \\\"G\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"Will\\\",\\n \\\"lastName\\\": \\\"Smith\\\"\\n },\\n \\\"vaultedShopperId\\\": 19574620,\\n \\\"creditCard\\\": {\\n \\\"cardLastFourDigits\\\": \\\"0026\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\",\\n \\\"binCategory\\\": \\\"CONSUMER\\\",\\n \\\"issuingBank\\\": \\\"EXTRAS TEST - VISA\\\",\\n \\\"issuingCountryCode\\\": \\\"us\\\"\\n },\\n \\\"threeDSecure\\\": {\\n \\\"authenticationResult\\\": \\\"AUTHENTICATION_SUCCEEDED\\\"\\n },\\n \\\"networkTransactionInfo\\\": {\\n \\\"originalNetworkTransactionId\\\": \\\"019072416113666\\\",\\n \\\"networkTransactionId\\\": \\\"019072416144666\\\"\\n },\\n \\\"processingInfo\\\": {\\n \\\"processingStatus\\\": \\\"success\\\",\\n \\\"cvvResponseCode\\\": \\\"MA\\\",\\n \\\"avsResponseCodeZip\\\": \\\"U\\\",\\n \\\"avsResponseCodeAddress\\\": \\\"U\\\",\\n \\\"avsResponseCodeName\\\": \\\"U\\\",\\n \\\"networkTransactionId\\\": \\\"759205708034420\\\"\\n },\\n \\\"fraudResultInfo\\\": {\\n \\\"deviceDataCollector\\\": \\\"N\\\"\\n }\\n}\",\n \"language\": \"json\",\n \"name\": \"Full card details with 3DS ID\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##Example Descriptions\n\n###**Basic**\n####*Auth Capture with metadata*\nTo send metadata for the transaction, you'll need to include the `transactionMetaData` property within the [cardTransaction](doc:card-transaction) object. You can include up to 20 metadata key-value pairs in each [transactionMetaData](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 `merchantTransactionId` property within the [cardTransaction](doc:card-transaction) object.\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`encryptedCardNumber` and `encryptedSecurityCode` properties within the [cardTransaction](doc:card-transaction) object.\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 `pfToken` property in your request.\n\nAbove is an example of a request with the Hosted Payment Fields token.\n\nNote that the response looks 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 `merchantShopperId` property within the [cardTransaction](doc:card-transaction) object.\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, include `vendorsInfo` in the request to process a transaction involving one or more vendors. For more details, refer to the [Marketplace Guide](/docs/processing-transactions).\n\n####*Auth Capture with store card approval*\nThis example shows an Auth Capture request with the `storeCard` value set. You 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 is not 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 `pfToken` property in your request.\n\nAbove is an example of a request with the Embedded Checkout token.\n\n**Note**: The response looks 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 `transactionFraudInfo` property within the [cardTransaction](doc:card-transaction) object. Refer to [transactionFraudInfo](doc:transaction-fraud-info).\n\nAn additional example with Complete-level (formerly Enterprise) fraud info is above. Complete-level fraud info is supported only for merchants who have signed up for the Complete-level fraud service from BlueSnap. Refer to [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 `vaultedShopperId` property within the [cardTransaction](doc:card-transaction) object. When specifying a credit card for a vaulted shopper, you must include the `cardLastFourDigits` and `cardType` properties within the [creditCard](doc:credit-card) object. \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####*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 `vaultedShopperId` and CVV in the request as in the example. \n\n####*Auth Capture with vaulted shopper & new card*\nThis example shows an Auth Capture request with a vaulted shopper and a new card. If you include `vaultedShopperId` 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#### *Auth Capture with vaulted shopper & tokenized CVV*\nThis example shows an Auth Capture request with a vaulted shopper and a tokenized CVV. You may wish to collect CVV on your checkout form for returning shoppers since transactions with CVV generally result in higher success rates. See the [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields) guide for details on how to tokenize card data. \n\n###**Wallet Examples**\n####*Auth Capture with wallet ID*\nIf the shopper is paying via Masterpass or Visa Checkout, you can include the `walletId` in the request. For details, refer to:\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 is automatically created and the vaulted shopper ID is returned 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 `walletType` = APPLE_PAY and `encodedPaymentToken` inside `wallet`. Instructions on how to extract the `encodedPaymentToken` can be found in the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app). \n[block:callout]\n{\n \"type\": \"info\",\n \"title\": \"Note\",\n \"body\": \"To test Apple Pay, follow the steps in the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app). The API Explorer does not support Apple Pay testing.\"\n}\n[/block]\n####*Auth Capture with Google Pay*\nThis example shows an Auth Capture request with Google Pay™. In the request, include `walletType` = GOOGLE_PAY and `encodedPaymentToken` inside `wallet`. Instructions on how to extract the `encodedPaymentToken` can be found in the [Google Pay Guide](/docs/google-pay). \n\n###**3-D Secure Examples**\n\n####*3DS with shopper-initiated transaction*\nThe request includes `\"transactionInitiator\":\"SHOPPER\"` to indicate that this is a Customer-Initiated Transaction. The response includes the same `networkTransactionId` in both the `networkTransactionInfo` and the `processingInfo` sections. The merchant keeps this `networkTransactionId` for future transactions.\n\n####*3DS with MIT*\nThe request includes `\"transactionInitiator\":\"MERCHANT\"` to indicate that this is a Merchant-Initiated Transaction. The merchant also includes the `originalNetworkTransactionId` to link the transaction to an existing transaction on which SCA was performed so SCA does not need to be performed again. In the `networkTransactionInfo` section, the response includes both the `originalNetworkTransactionId` and the new `networkTransactionId`. The merchant continues using the `originalNetworkTransactionId` for future transactions.\n\n####*Returning shopper with 3DS*\nThis request specifies the `vaultedShopperId`, the card details rather than the token, and includes the `threeDSecureReferenceId` to link everything together. The `threeDSecureReferenceId` 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 `\"transactionOrderSource\":\"MOTO\"` indicating that this is a MOTO transaction. The response includes the same `networkTransactionId` in both the `networkTransactionInfo` and the `processingInfo` sections. The merchant keeps this `networkTransactionId` 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####*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<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 request content below and then click **Try it!**\n[block:callout]\n{\n \"type\": \"info\",\n \"title\": \"Tip\",\n \"body\": \"Use the JSON 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\": \"{\\n \\\"amount\\\": 11,\\n \\\"softDescriptor\\\": \\\"DescTest\\\",\\n \\\"cardHolderInfo\\\": {\\n \\\"firstName\\\": \\\"test first name\\\",\\n \\\"lastName\\\": \\\"test last name\\\", \\n \\t\\\"zip\\\": \\\"123456\\\"\\n },\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"securityCode\\\": 837,\\n \\\"expirationMonth\\\": \\\"02\\\",\\n \\\"cardNumber\\\": \\\"4263982640269299\\\"\\n },\\n \\\"cardTransactionType\\\": \\\"AUTH_CAPTURE\\\"\\n}\",\n \"language\": \"json\"\n }\n ]\n}\n[/block]\n<span id=\"api-explorer\"></span>","updates":[],"order":0,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ff39c12e2e8fa00503ad5cf","project":"57336fd5a6a9c40e00e13a0b","version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.36.1 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ff39c12e2e8fa00503ad52d","5ff39c12e2e8fa00503ad52e","5ff39c12e2e8fa00503ad52f","5ff39c12e2e8fa00503ad530","5ff39c12e2e8fa00503ad531","5ff39c12e2e8fa00503ad532","5ff39c12e2e8fa00503ad533","5ff39c12e2e8fa00503ad534","5ff39c12e2e8fa00503ad535","5ff39c12e2e8fa00503ad536","5ff39c12e2e8fa00503ad537","5ff39c12e2e8fa00503ad538","5ff39c12e2e8fa00503ad539","5ff39c12e2e8fa00503ad53a","5ff39c12e2e8fa00503ad53b","5ff39c12e2e8fa00503ad53c","5ff39c12e2e8fa00503ad53d","5ff39c12e2e8fa00503ad53e","5ff39c12e2e8fa00503ad53f"],"_id":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5fc6c6094cb8fa066b0d2ea3","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Card/Wallet Transactions","slug":"payment-transaction-service","order":1,"from_sync":false,"reference":true,"_id":"5ff39c12e2e8fa00503ad52e","version":"5ff39c12e2e8fa00503ad5e4","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T15:28:41.796Z","__v":0},"user":"5beb1b96bc2003003ecd645e","createdAt":"2019-09-04T16:21:51.809Z","__v":0,"parentDoc":null}
postAuth Capture
Definition
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)
Request Content
Send a cardTransaction object, with the following:
walletId
long required if using Masterpass or Visa Checkout
wallet
object required if using Apple Pay or Google Pay™ (refer to wallet)
amount
decimal required
vaultedShopperId
integer required if using a vaulted shopper
merchantTransactionId
string optional
softDescriptor
string optional
descriptorPhoneNumber
string optional
vendorsInfo
object required if using marketplace vendor(s) (refer to vendorsInfo)
cardHolderInfo
object required for LatAm local processing (refer to cardHolderInfo)
currency
string required
transactionFraudInfo
object optional (refer to transactionFraudInfo)
creditCard
object required if sending card data or if vaulted shopper has multiple cards; do not include if sending pfToken
or wallet
(refer to creditCard)
cardTransactionType
string required, value must be AUTH_CAPTURE
threeDSecure
object optional (refer to threeDSecure)
transactionMetaData
object optional (refer to transactionMetaData)
pfToken
string required if using Hosted Payment Fields, Embedded Checkout, or Secured Payment Collector
level3Data
object optional (refer to level3Data)
storeCard
boolean optional (refer to cardTransaction)
networkTransactionInfo
container optional
transactionOrderSource
string optional
transactionInitiator
string optional
Response Details
If successful, the response HTTP status code is 200 OK.
The response contains the request properties plus these additions:
vaultedShopperId
processingInfo
fraudResultInfo
if fraud prevention is enabled
threeDSecure
if sending 3D Secure authentication data
networkTransactionInfo
transactionId
vendorsInfo
if using marketplace vendor(s)
level3Data
if sending Level 2/3 data
Examples
Basic request and response examples
Request
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": "11.00",
"currency": "USD",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"creditCard": {
"cardNumber": "4263982640269299",
"securityCode": "837",
"expirationMonth": "02",
"expirationYear": "2023"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 100,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "01003",
"country": "US",
"state": "MA"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"securityCode": 111,
"expirationMonth": "02",
"cardNumber": "4263982640269299"
},
"cardTransactionType": "AUTH_CAPTURE",
"vendorsInfo": {
"vendorInfo": [{ "vendorId": 10398032 }]
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE",
"transactionMetaData": {
"metaData": [
{
"metaValue": 20,
"metaKey": "stateTaxAmount",
"metaDescription": "State Tax Amount"
},
{
"metaValue": 20,
"metaKey": "cityTaxAmount",
"metaDescription": "City Tax Amount"
},
{
"metaValue": 10,
"metaKey": "shippingAmount",
"metaDescription": "Shipping Amount"
}
]
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"encryptedCardNumber": "$bsjs_1_0_3$B23uuxq8drUwOYZm3wZi+Qm69V5GPEt8PEio+Edwcm8akczQSK7odgLQH/Au+VqOCsGspW1Q9mPyQIzGLSZLVToAQVfq5C1ld+2ogIIsDL32Hd6IojboLyVlYT1FvPQoDyz19K6N0CUHh5uk0kCLuHSUyjvoJH38ojHZifbJSm/7S5vAtiuC3BJt2z8k9nauQaAXkbyoAYwrS1yDpqOt2k2lGhKcmdQ4ImDR0RL8m8xig6sFrki9oqo3Mju/M5r7wXXVTf7TMtWiQbzdfREOxKUnviXJZpncdHqVjj5GvPYun2qgopKVKr8F5+yd19TVW2gvA1kXBkXonFL9159Gxg==$zckJgo2i8jXDiAHwVVHBKypXFnWqF2e+6luBkmtQQRKniDXyXaalRVKLtYscBaGd$W7Ojqk1Q2iOJVeGL39RAsZTtfup3f1deSzvxrvC9rXA=",
"encryptedSecurityCode": "$bsjs_1_0_3$MB1nBpok/YkuWPG1/7e6dyFFhDPHB8p8E9Yo+0YHHV+xkHuzFKr02wAnE8PJ8QCzWH+2ctXy5FN6wLKjwFrfTOgy0BJ9k9+NDEe8mhsu66wMlyc3lnwrbvMRCWN1O+5gUNCFExj7B0mDtf4gtxecXs74KZ5l5dbpGWdKUk5i7OewWyTqsONbn9taLfVBOwuIOy2Jgi4fx+yB8Q05KdZeHSNSBJh8H/47AUNAn5dM+d9iO6yGQB3obzEzzR3UtHlkGR52ZsgbbFh0JMm9lBM2ClgYM8jvmQjS9HX2ojt1fkbhuPEb1IY/M498a+1wDPpI4aMfDxO1lSpJneRSpY5k4g==$XaKq1NbPcS0iHy9N9jHekEIByHYS4G3wJXlC9EQjAGM=$BJn6X6mBYGUo8Eoq4RQz69gsi4Azl8jT973mNpG9Yuo=",
"expirationMonth": "07"
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"merchantTransactionId": "31233",
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456",
"merchantShopperId": "a432512"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"cardTransactionType": "AUTH_CAPTURE",
"pfToken": "abcde12345**********"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"merchantTransactionId": 3,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"currency": "USD",
"cardTransactionType": "AUTH_ONLY",
"pfToken": "abcde12345**********"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"transactionFraudInfo": {
"shopperIpAddress": "123.12.134.1",
"fraudSessionId": 1234,
"company": "BBBBB",
"shippingContactInfo": {
"zip": 12345,
"country": "US",
"firstName": "YY",
"lastName": "LL",
"city": "Juneau",
"address2": "Address2",
"address1": "Address1",
"state": "AL"
}
},
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE",
"storeCard": true
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"transactionOrderSource": "MOTO",
"amount": 11,
"currency": "USD",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"creditCard": {
"cardNumber": "4012000033330026",
"securityCode": "123",
"expirationMonth": "07",
"expirationYear": "2023"
}
}'
Response
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035511869",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855193,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"vendorInfo": {
"vendorId": 10398032,
"commissionPercent": 90.2
},
"vendorsInfo": {
"vendorInfo": [
{
"vendorId": 10398032,
"commissionPercent": 90.2
}
]
},
"transactionId": "1035511531",
"softDescriptor": "BLS*DescTest",
"amount": 100,
"usdAmount": 100,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:11:56",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"country": "US",
"state": "MA",
"zip": "01003"
},
"vaultedShopperId": 28855203,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "ND",
"authorizationCode": "654321",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035511881",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:14:14",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855211,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"transactionMetaData": {
"metaData": [
{
"metaKey": "stateTaxAmount",
"metaValue": "20",
"metaDescription": "State Tax Amount"
},
{
"metaKey": "cityTaxAmount",
"metaValue": "20",
"metaDescription": "City Tax Amount"
},
{
"metaKey": "shippingAmount",
"metaValue": "10",
"metaDescription": "Shipping Amount"
}
]
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"merchantTransactionId": "3",
"transactionId": "1035511807",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:23:19",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855261,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035511971",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:16:27",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855215,
"creditCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA",
"cardSubType": "CREDIT",
"binCategory": "CONSUMER",
"cardRegulated": "Y",
"issuingBank": "JPMORGAN CHASE BANK, N.A.",
"issuingCountryCode": "us"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "ND",
"authorizationCode": "654321",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:16:27",
"vaultedShopperId": 1234,
"processingInfo": {
"avsResponseCodeAddress": "M",
"processingStatus": "success",
"cvvResponseCode": "MA",
"avsResponseCodeName": "U",
"avsResponseCodeZip": "M"
},
"softDescriptor": "BLS*DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"creditCard": {
"cardLastFourDigits": 9299,
"cardSubType": "CREDIT",
"cardType": "VISA",
"cardCategory": "CLASSIC"
},
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": 38486450
}
{
"cardTransactionType": "AUTH_CAPTURE",
"merchantTransactionId": "31233",
"transactionId": "1035511537",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:17:56",
"cardHolderInfo": {
"merchantShopperId": "a432512",
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855219,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035511921",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:27:14",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 28855295,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:11:56",
"vaultedShopperId": 1234,
"processingInfo": {
"avsResponseCodeAddress": "M",
"processingStatus": "success",
"cvvResponseCode": "MA",
"avsResponseCodeName": "U",
"avsResponseCodeZip": "M"
},
"softDescriptor": "BLS*DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"creditCard": {
"cardLastFourDigits": 9299,
"cardSubType": "CREDIT",
"cardType": "VISA",
"cardCategory": "CLASSIC"
},
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": 38486450
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "38486450",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"currency": "USD",
"usdAmount": 11,
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:11:56",
"vaultedShopperId": "1234",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "654321",
"avsResponseCodeZip": "M",
"avsResponseCodeAddress": "M",
"avsResponseCodeName": "U"
}
}
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"transactionFraudInfo": {
"shopperIpAddress": "123.12.134.1",
"fraudSessionId": 1234,
"company": "BBBBB",
"fraudProducts": [
{
"fraudProductName": "123RRC",
"fraudProductDesc": "my product",
"fraudProductType": "Online game",
"fraudProductQuantity": 1,
"fraudProductPrice": 14.5
},
{
"fraudProductName": "345RRC",
"fraudProductDesc": "my product2",
"fraudProductType": "Video game",
"fraudProductQuantity": 2,
"fraudProductPrice": 18
}
],
"shippingContactInfo": {
"zip": 12345,
"country": "US",
"firstName": "YY",
"lastName": "LL",
"city": "Juneau",
"address2": "Address2",
"address1": "Address1",
"state": "AL"
}
},
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"transactionFraudInfo": {
"enterpriseSiteId": "DEFAULT",
"shopperIpAddress": "123.12.134.1",
"fraudSessionId": 1234,
"enterpriseUdfs": {
"udf": [
{
"udfValue": "aaa",
"udfName": "ENT_UDF1"
},
{
"udfValue": "bbb",
"udfName": "ENT_UDF2"
}
]
},
"company": "BBBBB",
"shippingContactInfo": {
"zip": 12345,
"country": "US",
"firstName": "YY",
"lastName": "LL",
"city": "Juneau",
"address2": "Address2",
"address1": "Address1",
"state": "AL"
}
},
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": 4263982640269299
},
"cardTransactionType": "AUTH_CAPTURE"
}'
Response
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1039090313",
"softDescriptor": "BLS*DescTest",
"amount": 11.0,
"usdAmount": 11.0,
"currency": "USD",
"transactionApprovalDate": "12/28/2020",
"transactionApprovalTime": "15:04:33",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"vaultedShopperId": 29969891,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "PLATINUM",
"binCategory": "CONSUMER",
"binNumber": "426398",
"cardRegulated": "N",
"issuingBank": "ALLIED IRISH BANKS PLC",
"expirationMonth": "02",
"expirationYear": "2023",
"issuingCountryCode": "ie"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"authorizationCode": "123456",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"vaultedShopperId": 20769005,
"softDescriptor": "DescTest",
"currency": "USD",
"creditCard": {
"cardLastFourDigits": 1111,
"cardType": "VISA"
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"vaultedShopperId": 20781033,
"softDescriptor": "DescTest",
"currency": "USD",
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"vaultedShopperId": 20769005,
"softDescriptor": "DescTest",
"currency": "USD",
"creditCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA",
"securityCode": "837"
},
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": "11.00",
"currency": "USD",
"vaultedShopperId": "20769005",
"creditCard": {
"cardNumber": "4012000033330026",
"securityCode": "111",
"expirationMonth": "07",
"expirationYear": "2023"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": 10,
"currency": "USD",
"vaultedShopperId": "29034019",
"creditCard": {
"cardLastFourDigits": "1000",
"cardType": "VISA",
"securityCodePfToken": "0183117d722d8cc9921b4d5710d3394162c6d54d2b2cc1ed1f682e6c0618b7c5"
}
}'
Response
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035512125",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:34:16",
"vaultedShopperId": 20769005,
"creditCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA",
"cardSubType": "CREDIT",
"binCategory": "CONSUMER",
"cardRegulated": "Y",
"issuingBank": "JPMORGAN CHASE BANK, N.A.",
"issuingCountryCode": "us"
},
"processingInfo": {
"processingStatus": "success",
"authorizationCode": "654321",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035512361",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:37:15",
"vaultedShopperId": 20769005,
"creditCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA",
"cardSubType": "CREDIT",
"binCategory": "CONSUMER",
"cardRegulated": "Y",
"issuingBank": "JPMORGAN CHASE BANK, N.A.",
"issuingCountryCode": "us"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "ND",
"authorizationCode": "654321",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1035512275",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:38:45",
"vaultedShopperId": 20769005,
"creditCard": {
"cardLastFourDigits": "0026",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingCountryCode": "ru"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "ND",
"authorizationCode": "654321",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U"
},
"fraudResultInfo": {}
}
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"walletId": 21,
"amount": 11,
"currency": "USD",
"cardTransactionType": "AUTH_CAPTURE"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": 11.0,
"currency": "USD",
"wallet": {
"walletType": "APPLE_PAY",
"encodedPaymentToken": "ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": 11.0,
"currency": "USD",
"wallet": {
"walletType": "GOOGLE_PAY",
"encodedPaymentToken": "ImRhdGEiOiJuY1AvRitIUy8zeG5bXhCMFd"
}
}'
Response
{
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "NC"
},
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name"
},
"creditCard": {
"cardLastFourDigits": 9299,
"cardSubType": "CREDIT",
"cardType": "VISA",
"cardCategory": "CLASSIC"
},
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": 1011702615
}
{
"cardTransactionType": "AUTH_CAPTURE",
"merchantTransactionId": "112233",
"transactionId": "38602972",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"currency": "USD",
"usdAmount": 11,
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"cardHolderInfo": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"country": "us",
"state": "NY",
"address": "61 Main St.",
"city": "New York",
"zip": "12345",
"phone": "222513654654"
},
"vaultedShopperId": 19644934,
"wallet": {
"walletType": "APPLE_PAY",
"billingContactInfo": {
"firstName": "John",
"lastName": "Doe",
"address1": "61 Main St.",
"city": "New York",
"state": "NY",
"zip": "12345",
"country": "us"
},
"tokenizedCard": {
"dpanExpirationMonth": "7",
"dpanExpirationYear": "2019",
"dpanLastFourDigits": "0010",
"cardLastFourDigits": "1471",
"cardType": "MASTERCARD",
"cardSubType": "DEBIT",
"binCategory": "CONSUMER",
"cardRegulated": "N",
"issuingCountryCode": "us"
}
},
"processingInfo": {
"processingStatus": "success"
}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1012751937",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "12345"
},
"vaultedShopperId": 21289371,
"creditCard": {
"cardLastFourDigits": "9299",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC"
},
"processingInfo": {
"processingStatus": "success"
}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "1012751937",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"currency": "USD",
"usdAmount": 11,
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "12345",
"country": "us"
},
"vaultedShopperId": 21289371,
"wallet": {
"walletType": "GOOGLE_PAY",
"billingContactInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456",
"country": "us"
},
"tokenizedCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA",
"cardSubType": "CREDIT",
"dpanExpirationMonth": "9",
"dpanExpirationYear": "2025",
"dpanLastFourDigits": "2222"
}
},
"processingInfo": {
"processingStatus": "success"
}
}
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 10.0,
"softDescriptor": "DescTest",
"currency": "USD",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"pfToken": "124ed4af4a7530e1a5f6359c3120cde7b05260d792a3aeed38acd098046846af_",
"cardTransactionType": "AUTH_CAPTURE",
"transactionInitiator": "SHOPPER"
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 25.0,
"softDescriptor": "DescTest",
"currency": "USD",
"vaultedShopperId": 19574632,
"cardTransactionType": "AUTH_CAPTURE",
"transactionInitiator": "MERCHANT",
"networkTransactionInfo": {
"originalNetworkTransactionId": "019072416113666"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"softDescriptor": "DescTest",
"amount": 10,
"currency": "USD",
"vaultedShopperId":"19574268",
"creditCard": {
"cardLastFourDigits": "1111",
"cardType": "VISA"
},
"threeDSecure": {
"threeDSecureReferenceId":"5303"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"cardTransactionType": "AUTH_CAPTURE",
"recurringTransaction": "ECOMMERCE",
"softDescriptor": "DescTest",
"amount": 10,
"currency": "USD",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"creditCard": {
"cardNumber": "4012000033330026",
"securityCode": "123",
"expirationMonth": "07",
"expirationYear":"2023"
},
"threeDSecure": {
"threeDSecureReferenceId":"4759"
}
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/transactions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2019,
"securityCode": 111,
"expirationMonth": "07",
"cardNumber": 4012000033330026
},
"cardTransactionType": "AUTH_CAPTURE",
"threeDSecure": {
"eci": "05",
"cavv": "AAABAWFlmQAAAABjRWWZEEFgFz+A",
"xid": "MGpHWm5ZWVpKclo0aUk0VmltVDA=",
"dsTransactionId" : "e08da266-b58d-45c9-a1f8-570b7fb80e30",
"threeDSecureVersion" : "2.1.0"
}
}
Response
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "38510976",
"softDescriptor": "BLS*DescTest",
"amount": 10,
"usdAmount": 10,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"avsResponseCode": "G",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"vaultedShopperId": 19574632,
"creditCard": {
"cardLastFourDigits": "1000",
"cardType": "VISA",
"cardSubType": "CREDIT",
"binCategory": "CONSUMER",
"issuingCountryCode": "us"
},
"threeDSecure": {
"authenticationResult": "AUTHENTICATION_SUCCEEDED"
},
"networkTransactionInfo": {
"originalNetworkTransactionId": "019072416113666",
"networkTransactionId": "019072416144666"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "NR",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U",
"networkTransactionId": "019072416113666"
}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "38510978",
"softDescriptor": "BLS*DescTest",
"amount": 25,
"usdAmount": 25,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"avsResponseCode": "G",
"vaultedShopperId": 19574632,
"creditCard": {
"cardLastFourDigits": "1000",
"cardType": "VISA",
"cardSubType": "CREDIT",
"binCategory": "CONSUMER",
"issuingCountryCode": "us"
},
"networkTransactionInfo": {
"originalNetworkTransactionId": "019072416113666",
"networkTransactionId": "019072416144666"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "ND",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U",
"networkTransactionId": "019072416144666"
},
"fraudResultInfo": {
"deviceDataCollector": "N"
}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "38511274",
"softDescriptor": "BLS*DescTest",
"amount": 11,
"usdAmount": 11,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"avsResponseCode": "G",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"vaultedShopperId": 19574800,
"creditCard": {
"cardLastFourDigits": "0026",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC",
"binCategory": "CONSUMER",
"issuingBank": "EXTRAS TEST - VISA",
"issuingCountryCode": "us"
},
"networkTransactionInfo": {
"originalNetworkTransactionId": "019072416113666",
"networkTransactionId": "019072416144666"
},
"transactionOrderSource": "MOTO",
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "NR",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U",
"networkTransactionId": "759211612041880"
},
"fraudResultInfo": {
"deviceDataCollector": "N"
}
}
{
"cardTransactionType": "AUTH_CAPTURE",
"transactionId": "38510954",
"recurringTransaction": "ECOMMERCE",
"softDescriptor": "BLS*DescTest",
"amount": 10,
"usdAmount": 10,
"currency": "USD",
"transactionApprovalDate": "09/29/2020",
"transactionApprovalTime": "13:08:47",
"avsResponseCode": "G",
"cardHolderInfo": {
"firstName": "Will",
"lastName": "Smith"
},
"vaultedShopperId": 19574620,
"creditCard": {
"cardLastFourDigits": "0026",
"cardType": "VISA",
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC",
"binCategory": "CONSUMER",
"issuingBank": "EXTRAS TEST - VISA",
"issuingCountryCode": "us"
},
"threeDSecure": {
"authenticationResult": "AUTHENTICATION_SUCCEEDED"
},
"networkTransactionInfo": {
"originalNetworkTransactionId": "019072416113666",
"networkTransactionId": "019072416144666"
},
"processingInfo": {
"processingStatus": "success",
"cvvResponseCode": "MA",
"avsResponseCodeZip": "U",
"avsResponseCodeAddress": "U",
"avsResponseCodeName": "U",
"networkTransactionId": "759205708034420"
},
"fraudResultInfo": {
"deviceDataCollector": "N"
}
}
Example Descriptions
Basic
Auth Capture with metadata
To send metadata for the transaction, you'll need to include the transactionMetaData
property within the cardTransaction object. You can include up to 20 metadata key-value pairs in each transactionMetaData 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 merchantTransactionId
property within the cardTransaction object.
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 theencryptedCardNumber
and encryptedSecurityCode
properties within the cardTransaction object.
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 pfToken
property in your request.
Above is an example of a request with the Hosted Payment Fields token.
Note that the response looks 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 merchantShopperId
property within the cardTransaction object.
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, include vendorsInfo
in the request to process a transaction involving one or more vendors. For more details, refer to the Marketplace Guide.
Auth Capture with store card approval
This example shows an Auth Capture request with the storeCard
value set. You 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 is not 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 pfToken
property in your request.
Above is an example of a request with the Embedded Checkout token.
Note: The response looks 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 transactionFraudInfo
property within the cardTransaction object. Refer to transactionFraudInfo.
An additional example with Complete-level (formerly Enterprise) fraud info is above. Complete-level fraud info is supported only for merchants who have signed up for the Complete-level fraud service from BlueSnap. Refer to 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 vaultedShopperId
property within the cardTransaction object. When specifying a credit card for a vaulted shopper, you must include the cardLastFourDigits
and cardType
properties within the creditCard object.
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 vaultedShopperId
and CVV in the request as in the example.
Auth Capture with vaulted shopper & new card
This example shows an Auth Capture request with a vaulted shopper and a new card. If you include vaultedShopperId
and a new card in the request, the shopper's card will be charged and the card details will be added to the shopper.
Auth Capture with vaulted shopper & tokenized CVV
This example shows an Auth Capture request with a vaulted shopper and a tokenized CVV. You may wish to collect CVV on your checkout form for returning shoppers since transactions with CVV generally result in higher success rates. See the Hosted Payment Fields guide for details on how to tokenize card data.
Wallet Examples
Auth Capture with wallet ID
If the shopper is paying via Masterpass or Visa Checkout, you can include the walletId
in the request. For details, refer to:
Above is an example of a request with a Masterpass wallet.
Note
When you include the wallet ID in the request, a vaulted shopper is automatically created and the vaulted shopper ID is returned 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 walletType
= APPLE_PAY and encodedPaymentToken
inside wallet
. Instructions on how to extract the encodedPaymentToken
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 walletType
= GOOGLE_PAY and encodedPaymentToken
inside wallet
. Instructions on how to extract the encodedPaymentToken
can be found in the Google Pay Guide.
3-D Secure Examples
3DS with shopper-initiated transaction
The request includes "transactionInitiator":"SHOPPER"
to indicate that this is a Customer-Initiated Transaction. The response includes the same networkTransactionId
in both the networkTransactionInfo
and the processingInfo
sections. The merchant keeps this networkTransactionId
for future transactions.
3DS with MIT
The request includes "transactionInitiator":"MERCHANT"
to indicate that this is a Merchant-Initiated Transaction. The merchant also includes the originalNetworkTransactionId
to link the transaction to an existing transaction on which SCA was performed so SCA does not need to be performed again. In the networkTransactionInfo
section, the response includes both the originalNetworkTransactionId
and the new networkTransactionId
. The merchant continues using the originalNetworkTransactionId
for future transactions.
Returning shopper with 3DS
This request specifies the vaultedShopperId
, the card details rather than the token, and includes the threeDSecureReferenceId
to link everything together. The threeDSecureReferenceId
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 "transactionOrderSource":"MOTO"
indicating that this is a MOTO transaction. The response includes the same networkTransactionId
in both the networkTransactionInfo
and the processingInfo
sections. The merchant keeps this networkTransactionId
for future transactions. For more information, refer to the 3-D Secure for API Guide.
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).
API Explorer
To test out a call, enter the request content below and then click Try it!
Tip
Use the JSON 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.
{
"amount": 11,
"softDescriptor": "DescTest",
"cardHolderInfo": {
"firstName": "test first name",
"lastName": "test last name",
"zip": "123456"
},
"currency": "USD",
"creditCard": {
"expirationYear": 2023,
"securityCode": 837,
"expirationMonth": "02",
"cardNumber": "4263982640269299"
},
"cardTransactionType": "AUTH_CAPTURE"
}