{"info":{"_postman_id":"0437030d-7221-4c94-9f54-8d93c932950e","name":"Emulation API Documentation","description":"<html><head></head><body><h1 id=\"nmi-emulation\">NMI Emulation</h1>\n<p>To help our customers integrate quickly, OpenPath has implemented gateway emulation for NMI. This means that our system’s frontend accepts API requests as if OpenPath was NMI.</p>\n<p>If your Point of Sales system is currently integrated into NMI, integrating to OpenPath is as easy as changing your NMI URL from <code>secure.networkmerchants.com</code> to the OpenPath URL of <code>api.openpath.io</code> and OpenPath will manage your transactions from there.</p>\n<h1 id=\"how-it-works\">How it Works</h1>\n<p><img src=\"http://docs.openpath.io/uploads/1/9/3/8/1938894/emulation-introduction-howitwork_orig.png\" alt=\"alt text\"></p>\n<ol>\n<li>Your Point of Sale sends a transaction to the OpenPath API URL as if it were one of the supported Gateways.</li>\n<li>OpenPath takes that transaction call and converts it to an OpenPath Global Transaction Object (GTO) which normalizes the data.</li>\n<li>OpenPath business logic chooses which Gateway the transaction should be sent to and converts the GTO to a supported API call to that particular Gateway.</li>\n<li>OpenPath receives the response from the Gateway and updates the GTO.</li>\n<li>OpenPath converts the GTO back to a response that is the equivalent of the originating Gateway Emulation call back to your Point of Sale.</li>\n</ol>\n<h1 id=\"header-responses\">Header Responses</h1>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"NMI Emulation","slug":"nmi-emulation"},{"content":"How it Works","slug":"how-it-works"},{"content":"Header Responses","slug":"header-responses"}],"owner":"1355791","collectionId":"0437030d-7221-4c94-9f54-8d93c932950e","publishedId":"TVetaQeW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-19T22:04:15.000Z"},"item":[{"name":"Basic Requests","item":[{"name":"Sale, Auth, Capture & Validate","item":[{"name":"SALE - Minimum Request","event":[{"listen":"test","script":{"id":"5099428b-6ad5-4272-a9cc-3f7330ceb0a9","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","pm.globals.set(\"transaction_id-001\", getQueryVariable(pm.response.text(), 'transactionid'));\r","\r","tests[\"transaction_id-001 = \" + pm.globals.get(\"transaction_id-001\")] = true;\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"2179ade8-705f-421f-a6eb-db575afd5755","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n","key":"type","type":"text","value":"sale"},{"description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"<p>Credit card number.</p>\n","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n","key":"ccexp","type":"text","value":"1228"},{"description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"sale-sale\">Sale (sale)</h2>\n<p>Transaction sales are submitted and immediately flagged for settlement.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1e717e72-4be4-40a4-9f98-740229b3edfe","name":"SALE - Minimum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'","key":"type","type":"text","value":"sale"},{"description":"The API Login ID from the site you want to associate this transaction with.","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"The Transaction Key from the site you want to associate this transaction with.","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"Credit card number.","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"Credit card expiration date.\nFormat: MMYY","key":"ccexp","type":"text","value":"1228"},{"description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"X-OpenPath-PacketId","value":"4866162"},{"key":"X-OpenPath-Server","value":"VMAPI010"},{"key":"X-OpenPath-GatewayId","value":"1432"},{"key":"X-OpenPath-GatewayName","value":"NMI+Sandbox+Gateway"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=6014026380&orderid=&type=sale&response_code=100"},{"id":"2f5b4d4b-a5d7-4e5c-b403-2012adde04f0","name":"SALE - Minimum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'","key":"type","type":"text","value":"sale"},{"description":"The API Login ID from the site you want to associate this transaction with.","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"The Transaction Key from the site you want to associate this transaction with.","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"Credit card number.","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"Credit card expiration date.\nFormat: MMYY","key":"ccexp","type":"text","value":"1228"},{"description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-OpenPath-PacketId","value":"4866162"},{"key":"X-OpenPath-Server","value":"VMAPI010"},{"key":"X-OpenPath-GatewayId","value":"1432"},{"key":"X-OpenPath-GatewayName","value":"NMI+Sandbox+Gateway"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Tue, 16 Feb 2021 17:29:29 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=6014026380&orderid=&type=sale&response_code=100"},{"id":"9eaa70a5-629d-4940-8f1b-1b3a5f6847df","name":"SALE - Minimum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'","key":"type","type":"text","value":"sale"},{"description":"The API Login ID from the site you want to associate this transaction with.","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"The Transaction Key from the site you want to associate this transaction with.","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"Credit card number.","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"Credit card expiration date.\nFormat: MMYY","key":"ccexp","type":"text","value":"1228"},{"description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-OpenPath-PacketId","value":"4863131"},{"key":"X-OpenPath-Server","value":"VMAPI011"},{"key":"X-OpenPath-GatewayId","value":"1432"},{"key":"X-OpenPath-GatewayName","value":"NMI+Sandbox+Gateway"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Tue, 16 Feb 2021 03:23:50 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=6012730754&orderid=&type=sale&response_code=100"},{"id":"f2c57a51-370c-47e2-88dc-a5c16b00940a","name":"SALE - Minimum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'","key":"type","type":"text","value":"sale"},{"description":"The API Login ID from the site you want to associate this transaction with.","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"The Transaction Key from the site you want to associate this transaction with.","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"Credit card number.","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"Credit card expiration date.\nFormat: MMYY","key":"ccexp","type":"text","value":"1228"},{"description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Tue, 04 Feb 2020 01:57:45 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=5162655172&orderid=&type=sale&response_code=100"}],"_postman_id":"2179ade8-705f-421f-a6eb-db575afd5755"},{"name":"SALE - Maximum Request","event":[{"listen":"test","script":{"id":"5a360410-c45b-41d6-92a7-9fa98994c32b","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","pm.globals.set(\"transaction_id-002\", getQueryVariable(pm.response.text(), 'transactionid'));\r","\r","tests[\"transaction_id-002 = \" + pm.globals.get(\"transaction_id-002\")] = true;\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"3be116f6-684c-46ed-8ce3-6614cfe6abdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"sale","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"<p>Credit card number.</p>\n"},{"key":"ccexp","value":"1228","type":"text","description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n"},{"key":"cvv","value":"111","type":"text","description":"<p>The card security code. While this is not required, it is strongly recommended.</p>\n"},{"key":"amount","value":"109.95","type":"text","description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n"},{"key":"sec_code","value":"WEB","type":"text","description":"<p>The Standard Entry Class code of the ACH transaction.\nValues: 'PPD', 'WEB', 'TEL', or 'CCD'</p>\n"},{"key":"surcharge","value":"0.95","type":"text","description":"<p>Surcharge amount.\nFormat: x.xx</p>\n"},{"key":"currency","value":"USD","type":"text","description":"<p>The transaction currency. Format: ISO 4217</p>\n"},{"key":"payment","value":"creditcard","type":"text","description":"<p>The type of payment.\nDefault: 'creditcard'\nValues: 'creditcard', or 'check'</p>\n"},{"key":"dup_seconds","value":"360","type":"text","description":"<p>Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking.</p>\n"},{"key":"descriptor","value":"OpenPath Payments","type":"text","description":"<p>Set payment descriptor on supported processors.</p>\n"},{"key":"descriptor_phone","value":"9495005555","type":"text","description":"<p>Set payment descriptor phone on supported processors.</p>\n"},{"key":"descriptor_address","value":"200 Spectrum Center Drive","type":"text","description":"<p>Set payment descriptor address on supported processors.</p>\n"},{"key":"descriptor_city","value":"Irvine","type":"text","description":"<p>Set payment descriptor city on supported processors.</p>\n"},{"key":"descriptor_state","value":"CA","type":"text","description":"<p>Set payment descriptor state on supported processors.</p>\n"},{"key":"descriptor_postal","value":"92618","type":"text","description":"<p>Set payment descriptor postal code on supported processors.</p>\n"},{"key":"descriptor_country","value":"US","type":"text","description":"<p>Set payment descriptor country on supported processors.</p>\n"},{"key":"descriptor_mcc","value":"6012","type":"text","description":"<p>Set payment descriptor mcc on supported processors.</p>\n"},{"key":"descriptor_merchant_id","value":"555555555555","type":"text","description":"<p>Set payment descriptor merchant id on supported processors.</p>\n"},{"key":"descriptor_url","value":"https://openpath.io","type":"text","description":"<p>Set payment descriptor url on supported processors.</p>\n"},{"key":"order_description","value":"OpenPath Emulation API Maximum Sale Request.","type":"text","description":"<p>Order description.\nLegacy variable includes: orderdescription</p>\n"},{"key":"orderid","value":"BS-139301","type":"text","description":"<p>Order Id</p>\n"},{"key":"ipaddress","value":"209.160.251.114","type":"text","description":"<p>IP address of cardholder, this field is recommended.\nFormat: xxx.xxx.xxx.xxx</p>\n"},{"key":"tax","value":"2.50","type":"text","description":"<p>Total tax amount.</p>\n"},{"key":"shipping","value":"5.00","type":"text","description":"<p>Total shipping amount.</p>\n"},{"key":"first_name","value":"Jarvis","type":"text","description":"<p>Cardholder's first name.\nLegacy variable includes: firstname</p>\n"},{"key":"last_name","value":"Russel","type":"text","description":"<p>Cardholder's last name\nLegacy variable includes: lastname</p>\n"},{"key":"company","value":"Senger Group","type":"text","description":"<p>Cardholder's company</p>\n"},{"key":"address1","value":"869 Verdie Overpass","type":"text","description":"<p>Card billing address</p>\n"},{"key":"address2","value":"Suite 4210","type":"text","description":"<p>Card billing address, line 2.</p>\n"},{"key":"city","value":"Keller","type":"text","description":"<p>Card billing city</p>\n"},{"key":"state","value":"CA","type":"text","description":"<p>Card billing state.\nFormat: CC</p>\n"},{"key":"zip","value":"92618","type":"text","description":"<p>Card billing zip code</p>\n"},{"key":"country","value":"US","type":"text","description":"<p>Card billing country.\nCountry codes are as shown in ISO 3166. Format: CC</p>\n"},{"key":"phone","value":"9496006666","type":"text","description":"<p>Billing phone number</p>\n"},{"key":"email","value":"Arnulfo_Dicki@yahoo.com","type":"text","description":"<p>Billing email address</p>\n"},{"key":"shipping_address1","value":"070 Conrad Villages","type":"text","description":"<p>Shipping address</p>\n"},{"key":"shipping_city","value":"Lake Cheyanne","type":"text","description":"<p>Shipping city.</p>\n"},{"key":"shipping_state","value":"MI","type":"text","description":"<p>Shipping state\nFormat: CC</p>\n"},{"key":"shipping_zip","value":"48823","type":"text","description":"<p>Shipping zip code</p>\n"},{"key":"shipping_country","value":"US","type":"text","description":"<p>Shipping country\nCountry codes are as shown in ISO 3166. Format: CC</p>\n"},{"key":"item_product_code_1","value":"SKU-100","type":"text","description":"<p>Merchant defined description code of the item being purchased.</p>\n"},{"key":"item_description_1","value":"Very cool item #1","type":"text","description":"<p>Description of the item(s) being supplied.</p>\n"},{"key":"item_unit_cost_1","value":"6.00","type":"text","description":"<p>Unit cost of item purchased, may contain up to 4 decimal places.</p>\n"},{"key":"item_quantity_1","value":"1","type":"text","description":"<p>Quantity of the item(s) being purchased.\nDefault: '1'</p>\n"},{"key":"item_total_amount_1","value":"6.00","type":"text","description":"<p>Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny.</p>\n"},{"key":"item_product_code_2","value":"SKU-200","type":"text","description":"<p>Merchant defined description code of the item being purchased.</p>\n"},{"key":"item_description_2","value":"Very cool item #2","type":"text","description":"<p>Description of the item(s) being supplied.</p>\n"},{"key":"item_unit_cost_2","value":"8.00","type":"text","description":"<p>Unit cost of item purchased, may contain up to 4 decimal places.</p>\n"},{"key":"item_quantity_2","value":"1","type":"text","description":"<p>Quantity of the item(s) being purchased.\nDefault: '1'</p>\n"},{"key":"item_total_amount_2","value":"8.00","type":"text","description":"<p>Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny.</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"sale-sale\">Sale (sale)</h2>\n<p>Transaction sales are submitted and immediately flagged for settlement.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"59be37ac-734b-4f16-b825-457a8c00a7e1","name":"SALE - Maximum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"sale","type":"text","description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"The API Login ID from the site you want to associate this transaction with."},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"The Transaction Key from the site you want to associate this transaction with."},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"Credit card number."},{"key":"ccexp","value":"1228","type":"text","description":"Credit card expiration date.\nFormat: MMYY"},{"key":"cvv","value":"111","type":"text","description":"The card security code. While this is not required, it is strongly recommended."},{"key":"amount","value":"109.95","type":"text","description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx"},{"key":"sec_code","value":"WEB","type":"text","description":"The Standard Entry Class code of the ACH transaction.\nValues: 'PPD', 'WEB', 'TEL', or 'CCD'"},{"key":"surcharge","value":"0.95","type":"text","description":"Surcharge amount.\nFormat: x.xx"},{"key":"currency","value":"USD","type":"text","description":"The transaction currency. Format: ISO 4217"},{"key":"payment","value":"creditcard","type":"text","description":"The type of payment.\nDefault: 'creditcard'\nValues: 'creditcard', or 'check'"},{"key":"dup_seconds","value":"360","type":"text","description":"Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking."},{"key":"descriptor","value":"OpenPath Payments","type":"text","description":"Set payment descriptor on supported processors."},{"key":"descriptor_phone","value":"9495005555","type":"text","description":"Set payment descriptor phone on supported processors."},{"key":"descriptor_address","value":"200 Spectrum Center Drive","type":"text","description":"Set payment descriptor address on supported processors."},{"key":"descriptor_city","value":"Irvine","type":"text","description":"Set payment descriptor city on supported processors."},{"key":"descriptor_state","value":"CA","type":"text","description":"Set payment descriptor state on supported processors."},{"key":"descriptor_postal","value":"92618","type":"text","description":"Set payment descriptor postal code on supported processors."},{"key":"descriptor_country","value":"US","type":"text","description":"Set payment descriptor country on supported processors."},{"key":"descriptor_mcc","value":"6012","type":"text","description":"Set payment descriptor mcc on supported processors."},{"key":"descriptor_merchant_id","value":"555555555555","type":"text","description":"Set payment descriptor merchant id on supported processors."},{"key":"descriptor_url","value":"https://openpath.io","type":"text","description":"Set payment descriptor url on supported processors."},{"key":"order_description","value":"OpenPath Emulation API Maximum Sale Request.","type":"text","description":"Order description.\nLegacy variable includes: orderdescription"},{"key":"orderid","value":"BS-9360","type":"text","description":"Order Id"},{"key":"ipaddress","value":"209.160.251.114","type":"text","description":"IP address of cardholder, this field is recommended.\nFormat: xxx.xxx.xxx.xxx"},{"key":"tax","value":"2.50","type":"text","description":"Total tax amount."},{"key":"shipping","value":"5.00","type":"text","description":"Total shipping amount."},{"key":"first_name","value":"Nia","type":"text","description":"Cardholder's first name.\nLegacy variable includes: firstname"},{"key":"last_name","value":"Stiedemann","type":"text","description":"Cardholder's last name\nLegacy variable includes: lastname"},{"key":"company","value":"Gutkowski - Wunsch","type":"text","description":"Cardholder's company"},{"key":"address1","value":"467 Arne Roads","type":"text","description":"Card billing address"},{"key":"address2","value":"Suite 4210","type":"text","description":"Card billing address, line 2."},{"key":"city","value":"Addietown","type":"text","description":"Card billing city"},{"key":"state","value":"CA","type":"text","description":"Card billing state.\nFormat: CC"},{"key":"zip","value":"92618","type":"text","description":"Card billing zip code"},{"key":"country","value":"US","type":"text","description":"Card billing country.\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"phone","value":"9496006666","type":"text","description":"Billing phone number"},{"key":"email","value":"Raina62@hotmail.com","type":"text","description":"Billing email address"},{"key":"shipping_address1","value":"66199 Donald Shoal","type":"text","description":"Shipping address"},{"key":"shipping_city","value":"Hesperia","type":"text","description":"Shipping city."},{"key":"shipping_state","value":"MI","type":"text","description":"Shipping state\nFormat: CC"},{"key":"shipping_zip","value":"48823","type":"text","description":"Shipping zip code"},{"key":"shipping_country","value":"US","type":"text","description":"Shipping country\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"item_product_code_1","value":"SKU-100","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_1","value":"Very cool item #1","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_1","value":"6.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_1","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_1","value":"6.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."},{"key":"item_product_code_2","value":"SKU-200","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_2","value":"Very cool item #2","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_2","value":"8.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_2","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_2","value":"8.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Tue, 04 Feb 2020 01:58:55 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=5162656410&avsresponse=N&cvvresponse=N&orderid=BS-728434&type=sale&response_code=100"},{"id":"87eb8b62-2677-45a7-afb0-4c3a1036678a","name":"SALE - Maximum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"sale","type":"text","description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"The API Login ID from the site you want to associate this transaction with."},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"The Transaction Key from the site you want to associate this transaction with."},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"Credit card number."},{"key":"ccexp","value":"1228","type":"text","description":"Credit card expiration date.\nFormat: MMYY"},{"key":"cvv","value":"111","type":"text","description":"The card security code. While this is not required, it is strongly recommended."},{"key":"amount","value":"109.95","type":"text","description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx"},{"key":"sec_code","value":"WEB","type":"text","description":"The Standard Entry Class code of the ACH transaction.\nValues: 'PPD', 'WEB', 'TEL', or 'CCD'"},{"key":"surcharge","value":"0.95","type":"text","description":"Surcharge amount.\nFormat: x.xx"},{"key":"currency","value":"USD","type":"text","description":"The transaction currency. Format: ISO 4217"},{"key":"payment","value":"creditcard","type":"text","description":"The type of payment.\nDefault: 'creditcard'\nValues: 'creditcard', or 'check'"},{"key":"dup_seconds","value":"360","type":"text","description":"Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking."},{"key":"descriptor","value":"OpenPath Payments","type":"text","description":"Set payment descriptor on supported processors."},{"key":"descriptor_phone","value":"9495005555","type":"text","description":"Set payment descriptor phone on supported processors."},{"key":"descriptor_address","value":"200 Spectrum Center Drive","type":"text","description":"Set payment descriptor address on supported processors."},{"key":"descriptor_city","value":"Irvine","type":"text","description":"Set payment descriptor city on supported processors."},{"key":"descriptor_state","value":"CA","type":"text","description":"Set payment descriptor state on supported processors."},{"key":"descriptor_postal","value":"92618","type":"text","description":"Set payment descriptor postal code on supported processors."},{"key":"descriptor_country","value":"US","type":"text","description":"Set payment descriptor country on supported processors."},{"key":"descriptor_mcc","value":"6012","type":"text","description":"Set payment descriptor mcc on supported processors."},{"key":"descriptor_merchant_id","value":"555555555555","type":"text","description":"Set payment descriptor merchant id on supported processors."},{"key":"descriptor_url","value":"https://openpath.io","type":"text","description":"Set payment descriptor url on supported processors."},{"key":"order_description","value":"OpenPath Emulation API Maximum Sale Request.","type":"text","description":"Order description.\nLegacy variable includes: orderdescription"},{"key":"orderid","value":"BS-620100","type":"text","description":"Order Id"},{"key":"ipaddress","value":"209.160.251.114","type":"text","description":"IP address of cardholder, this field is recommended.\nFormat: xxx.xxx.xxx.xxx"},{"key":"tax","value":"2.50","type":"text","description":"Total tax amount."},{"key":"shipping","value":"5.00","type":"text","description":"Total shipping amount."},{"key":"first_name","value":"Mazie","type":"text","description":"Cardholder's first name.\nLegacy variable includes: firstname"},{"key":"last_name","value":"Waelchi","type":"text","description":"Cardholder's last name\nLegacy variable includes: lastname"},{"key":"company","value":"Ritchie, Lubowitz and Olson","type":"text","description":"Cardholder's company"},{"key":"address1","value":"95571 Rogahn Forks","type":"text","description":"Card billing address"},{"key":"address2","value":"Suite 4210","type":"text","description":"Card billing address, line 2."},{"key":"city","value":"Franklin","type":"text","description":"Card billing city"},{"key":"state","value":"CA","type":"text","description":"Card billing state.\nFormat: CC"},{"key":"zip","value":"92618","type":"text","description":"Card billing zip code"},{"key":"country","value":"US","type":"text","description":"Card billing country.\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"phone","value":"9496006666","type":"text","description":"Billing phone number"},{"key":"email","value":"Annamae67@yahoo.com","type":"text","description":"Billing email address"},{"key":"shipping_address1","value":"124 Katelynn Ranch","type":"text","description":"Shipping address"},{"key":"shipping_city","value":"Sawaynview","type":"text","description":"Shipping city."},{"key":"shipping_state","value":"MI","type":"text","description":"Shipping state\nFormat: CC"},{"key":"shipping_zip","value":"48823","type":"text","description":"Shipping zip code"},{"key":"shipping_country","value":"US","type":"text","description":"Shipping country\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"item_product_code_1","value":"SKU-100","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_1","value":"Very cool item #1","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_1","value":"6.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_1","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_1","value":"6.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."},{"key":"item_product_code_2","value":"SKU-200","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_2","value":"Very cool item #2","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_2","value":"8.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_2","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_2","value":"8.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-OpenPath-PacketId","value":"4863133"},{"key":"X-OpenPath-Server","value":"VMAPI010"},{"key":"X-OpenPath-GatewayId","value":"1432"},{"key":"X-OpenPath-GatewayName","value":"NMI+Sandbox+Gateway"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Tue, 16 Feb 2021 03:24:15 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=6012731143&avsresponse=N&cvvresponse=N&orderid=BS-857240&type=sale&response_code=100"},{"id":"fa2bd64f-e71d-4585-8c5c-ce5b38c1dfe5","name":"SALE - Maximum Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"sale","type":"text","description":"The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"The API Login ID from the site you want to associate this transaction with."},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"The Transaction Key from the site you want to associate this transaction with."},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"Credit card number."},{"key":"ccexp","value":"1228","type":"text","description":"Credit card expiration date.\nFormat: MMYY"},{"key":"cvv","value":"111","type":"text","description":"The card security code. While this is not required, it is strongly recommended."},{"key":"amount","value":"109.95","type":"text","description":"Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx"},{"key":"sec_code","value":"WEB","type":"text","description":"The Standard Entry Class code of the ACH transaction.\nValues: 'PPD', 'WEB', 'TEL', or 'CCD'"},{"key":"surcharge","value":"0.95","type":"text","description":"Surcharge amount.\nFormat: x.xx"},{"key":"currency","value":"USD","type":"text","description":"The transaction currency. Format: ISO 4217"},{"key":"payment","value":"creditcard","type":"text","description":"The type of payment.\nDefault: 'creditcard'\nValues: 'creditcard', or 'check'"},{"key":"dup_seconds","value":"360","type":"text","description":"Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking."},{"key":"descriptor","value":"OpenPath Payments","type":"text","description":"Set payment descriptor on supported processors."},{"key":"descriptor_phone","value":"9495005555","type":"text","description":"Set payment descriptor phone on supported processors."},{"key":"descriptor_address","value":"200 Spectrum Center Drive","type":"text","description":"Set payment descriptor address on supported processors."},{"key":"descriptor_city","value":"Irvine","type":"text","description":"Set payment descriptor city on supported processors."},{"key":"descriptor_state","value":"CA","type":"text","description":"Set payment descriptor state on supported processors."},{"key":"descriptor_postal","value":"92618","type":"text","description":"Set payment descriptor postal code on supported processors."},{"key":"descriptor_country","value":"US","type":"text","description":"Set payment descriptor country on supported processors."},{"key":"descriptor_mcc","value":"6012","type":"text","description":"Set payment descriptor mcc on supported processors."},{"key":"descriptor_merchant_id","value":"555555555555","type":"text","description":"Set payment descriptor merchant id on supported processors."},{"key":"descriptor_url","value":"https://openpath.io","type":"text","description":"Set payment descriptor url on supported processors."},{"key":"order_description","value":"OpenPath Emulation API Maximum Sale Request.","type":"text","description":"Order description.\nLegacy variable includes: orderdescription"},{"key":"orderid","value":"BS-749274","type":"text","description":"Order Id"},{"key":"ipaddress","value":"209.160.251.114","type":"text","description":"IP address of cardholder, this field is recommended.\nFormat: xxx.xxx.xxx.xxx"},{"key":"tax","value":"2.50","type":"text","description":"Total tax amount."},{"key":"shipping","value":"5.00","type":"text","description":"Total shipping amount."},{"key":"first_name","value":"Jessyca","type":"text","description":"Cardholder's first name.\nLegacy variable includes: firstname"},{"key":"last_name","value":"Wilkinson","type":"text","description":"Cardholder's last name\nLegacy variable includes: lastname"},{"key":"company","value":"Jaskolski LLC","type":"text","description":"Cardholder's company"},{"key":"address1","value":"271 Gwendolyn Mountains","type":"text","description":"Card billing address"},{"key":"address2","value":"Suite 4210","type":"text","description":"Card billing address, line 2."},{"key":"city","value":"Corwinfort","type":"text","description":"Card billing city"},{"key":"state","value":"CA","type":"text","description":"Card billing state.\nFormat: CC"},{"key":"zip","value":"92618","type":"text","description":"Card billing zip code"},{"key":"country","value":"US","type":"text","description":"Card billing country.\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"phone","value":"9496006666","type":"text","description":"Billing phone number"},{"key":"email","value":"Gisselle44@gmail.com","type":"text","description":"Billing email address"},{"key":"shipping_address1","value":"078 Anderson Squares","type":"text","description":"Shipping address"},{"key":"shipping_city","value":"Bartolettitown","type":"text","description":"Shipping city."},{"key":"shipping_state","value":"MI","type":"text","description":"Shipping state\nFormat: CC"},{"key":"shipping_zip","value":"48823","type":"text","description":"Shipping zip code"},{"key":"shipping_country","value":"US","type":"text","description":"Shipping country\nCountry codes are as shown in ISO 3166. Format: CC"},{"key":"item_product_code_1","value":"SKU-100","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_1","value":"Very cool item #1","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_1","value":"6.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_1","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_1","value":"6.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."},{"key":"item_product_code_2","value":"SKU-200","type":"text","description":"Merchant defined description code of the item being purchased."},{"key":"item_description_2","value":"Very cool item #2","type":"text","description":"Description of the item(s) being supplied."},{"key":"item_unit_cost_2","value":"8.00","type":"text","description":"Unit cost of item purchased, may contain up to 4 decimal places."},{"key":"item_quantity_2","value":"1","type":"text","description":"Quantity of the item(s) being purchased.\nDefault: '1'"},{"key":"item_total_amount_2","value":"8.00","type":"text","description":"Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny."}]},"url":"{{url}}/api/transact.php"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Kestrel"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-OpenPath-PacketId","value":"62161"},{"key":"X-OpenPath-Server","value":"RD00155DE2D15B"},{"key":"X-OpenPath-GatewayId","value":"169"},{"key":"X-OpenPath-GatewayName","value":"NMI+Sandbox+Gateway"},{"key":"X-OpenPath-CorrelationId","value":"8f38d5ad-bf1a-44a9-9224-fa78adfc0c17"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubdomains"},{"key":"Date","value":"Thu, 02 Sep 2021 21:55:25 GMT"}],"cookie":[],"responseTime":null,"body":"response=1&responsetext=100 | SUCCESS&authcode=123456&transactionid=6553149933&avsresponse=N&cvvresponse=N&orderid=BS-180428&type=sale&response_code=100"}],"_postman_id":"3be116f6-684c-46ed-8ce3-6614cfe6abdf"},{"name":"AUTH - Minimum Request","event":[{"listen":"test","script":{"id":"223772d7-b937-4093-9862-1fef22592b6d","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","pm.globals.set(\"transaction_id-003\", getQueryVariable(pm.response.text(), 'transactionid'));\r","\r","tests[\"transaction_id-003 = \" + pm.globals.get(\"transaction_id-003\")] = true;\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"aaa2a0e8-2b1d-4104-86d4-45258b913537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"auth","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"<p>Credit card number.</p>\n"},{"key":"ccexp","value":"1228","type":"text","description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n"},{"key":"amount","value":"237.95","type":"text","description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"authorization-auth\">Authorization (auth)</h2>\n<p>Transaction authorizations are authorized immediately but are not flagged for settlement. These transactions must be flagged for settlement using the capture transaction type.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aaa2a0e8-2b1d-4104-86d4-45258b913537"},{"name":"CAPTURE - Minimum Request","event":[{"listen":"test","script":{"id":"dc62a611-002c-4786-9c59-1e8f94818f63","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"7057c363-d860-4b23-8b96-dc630969f34f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"capture","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"transactionid","value":"{{transaction_id-003}}","type":"text","description":"<p>Original payment gateway transaction id.</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"capture-capture\">Capture (capture)</h2>\n<p>Transaction captures flag existing authorizations for settlement. Only authorizations can be captured. Captures can be submitted for an amount equal to or less than the original authorization.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7057c363-d860-4b23-8b96-dc630969f34f"},{"name":"AUTH - Maximum Request","event":[{"listen":"test","script":{"id":"681c9824-cc03-493a-8eb4-2a24a8835f15","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","pm.globals.set(\"transaction_id-004\", getQueryVariable(pm.response.text(), 'transactionid'));\r","\r","tests[\"transaction_id-004 = \" + pm.globals.get(\"transaction_id-004\")] = true;\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"661babfa-9d61-47ca-8c9c-b2e97154e8e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"auth","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"<p>Credit card number.</p>\n"},{"key":"ccexp","value":"1228","type":"text","description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n"},{"key":"cvv","value":"111","type":"text","description":"<p>The card security code. While this is not required, it is strongly recommended.</p>\n"},{"key":"amount","value":"109.95","type":"text","description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n"},{"key":"sec_code","value":"WEB","type":"text","description":"<p>The Standard Entry Class code of the ACH transaction.\nValues: 'PPD', 'WEB', 'TEL', or 'CCD'</p>\n"},{"key":"surcharge","value":"0.95","type":"text","description":"<p>Surcharge amount.\nFormat: x.xx</p>\n"},{"key":"currency","value":"USD","type":"text","description":"<p>The transaction currency. Format: ISO 4217</p>\n"},{"key":"payment","value":"creditcard","type":"text","description":"<p>The type of payment.\nDefault: 'creditcard'\nValues: 'creditcard', or 'check'</p>\n"},{"key":"dup_seconds","value":"360","type":"text","description":"<p>Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking.</p>\n"},{"key":"descriptor","value":"OpenPath Payments","type":"text","description":"<p>Set payment descriptor on supported processors.</p>\n"},{"key":"descriptor_phone","value":"9495005555","type":"text","description":"<p>Set payment descriptor phone on supported processors.</p>\n"},{"key":"descriptor_address","value":"200 Spectrum Center Drive","type":"text","description":"<p>Set payment descriptor address on supported processors.</p>\n"},{"key":"descriptor_city","value":"Irvine","type":"text","description":"<p>Set payment descriptor city on supported processors.</p>\n"},{"key":"descriptor_state","value":"CA","type":"text","description":"<p>Set payment descriptor state on supported processors.</p>\n"},{"key":"descriptor_postal","value":"92618","type":"text","description":"<p>Set payment descriptor postal code on supported processors.</p>\n"},{"key":"descriptor_country","value":"US","type":"text","description":"<p>Set payment descriptor country on supported processors.</p>\n"},{"key":"descriptor_mcc","value":"6012","type":"text","description":"<p>Set payment descriptor mcc on supported processors.</p>\n"},{"key":"descriptor_merchant_id","value":"555555555555","type":"text","description":"<p>Set payment descriptor merchant id on supported processors.</p>\n"},{"key":"descriptor_url","value":"https://openpath.io","type":"text","description":"<p>Set payment descriptor url on supported processors.</p>\n"},{"key":"order_description","value":"OpenPath Emulation API Maximum Sale Request.","type":"text","description":"<p>Order description.\nLegacy variable includes: orderdescription</p>\n"},{"key":"orderid","value":"BS-792887","type":"text","description":"<p>Order Id</p>\n"},{"key":"ipaddress","value":"209.160.251.114","type":"text","description":"<p>IP address of cardholder, this field is recommended.\nFormat: xxx.xxx.xxx.xxx</p>\n"},{"key":"tax","value":"2.50","type":"text","description":"<p>Total tax amount.</p>\n"},{"key":"shipping","value":"5.00","type":"text","description":"<p>Total shipping amount.</p>\n"},{"key":"first_name","value":"Tommie","type":"text","description":"<p>Cardholder's first name.\nLegacy variable includes: firstname</p>\n"},{"key":"last_name","value":"Keeling","type":"text","description":"<p>Cardholder's last name\nLegacy variable includes: lastname</p>\n"},{"key":"company","value":"Kihn, Stroman and Ernser","type":"text","description":"<p>Cardholder's company</p>\n"},{"key":"address1","value":"13723 Denis Cape","type":"text","description":"<p>Card billing address</p>\n"},{"key":"address2","value":"Suite 4210","type":"text","description":"<p>Card billing address, line 2.</p>\n"},{"key":"city","value":"Strosinborough","type":"text","description":"<p>Card billing city</p>\n"},{"key":"state","value":"CA","type":"text","description":"<p>Card billing state.\nFormat: CC</p>\n"},{"key":"zip","value":"92618","type":"text","description":"<p>Card billing zip code</p>\n"},{"key":"country","value":"US","type":"text","description":"<p>Card billing country.\nCountry codes are as shown in ISO 3166. Format: CC</p>\n"},{"key":"phone","value":"9496006666","type":"text","description":"<p>Billing phone number</p>\n"},{"key":"email","value":"Jabari19@gmail.com","type":"text","description":"<p>Billing email address</p>\n"},{"key":"shipping_address1","value":"4686 Jerod Island","type":"text","description":"<p>Shipping address</p>\n"},{"key":"shipping_city","value":"Novato","type":"text","description":"<p>Shipping city.</p>\n"},{"key":"shipping_state","value":"MI","type":"text","description":"<p>Shipping state\nFormat: CC</p>\n"},{"key":"shipping_zip","value":"48823","type":"text","description":"<p>Shipping zip code</p>\n"},{"key":"shipping_country","value":"US","type":"text","description":"<p>Shipping country\nCountry codes are as shown in ISO 3166. Format: CC</p>\n"},{"key":"item_product_code_1","value":"SKU-100","type":"text","description":"<p>Merchant defined description code of the item being purchased.</p>\n"},{"key":"item_description_1","value":"Very cool item #1","type":"text","description":"<p>Description of the item(s) being supplied.</p>\n"},{"key":"item_unit_cost_1","value":"6.00","type":"text","description":"<p>Unit cost of item purchased, may contain up to 4 decimal places.</p>\n"},{"key":"item_quantity_1","value":"1","type":"text","description":"<p>Quantity of the item(s) being purchased.\nDefault: '1'</p>\n"},{"key":"item_total_amount_1","value":"6.00","type":"text","description":"<p>Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny.</p>\n"},{"key":"item_product_code_2","value":"SKU-200","type":"text","description":"<p>Merchant defined description code of the item being purchased.</p>\n"},{"key":"item_description_2","value":"Very cool item #2","type":"text","description":"<p>Description of the item(s) being supplied.</p>\n"},{"key":"item_unit_cost_2","value":"8.00","type":"text","description":"<p>Unit cost of item purchased, may contain up to 4 decimal places.</p>\n"},{"key":"item_quantity_2","value":"1","type":"text","description":"<p>Quantity of the item(s) being purchased.\nDefault: '1'</p>\n"},{"key":"item_total_amount_2","value":"8.00","type":"text","description":"<p>Purchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny.</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"authorization-auth\">Authorization (auth)</h2>\n<p>Transaction authorizations are authorized immediately but are not flagged for settlement. These transactions must be flagged for settlement using the capture transaction type.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"661babfa-9d61-47ca-8c9c-b2e97154e8e9"},{"name":"CAPTURE - Maximum Request","event":[{"listen":"test","script":{"id":"d62ae282-971f-4370-8832-cd2d5ff11f36","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"b9f9f9da-7aad-438d-bc68-23480413b7f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"capture","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"transactionid","value":"{{transaction_id-004}}","type":"text","description":"<p>Original payment gateway transaction id.</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"capture-capture\">Capture (capture)</h2>\n<p>Transaction captures flag existing authorizations for settlement. Only authorizations can be captured. Captures can be submitted for an amount equal to or less than the original authorization.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9f9f9da-7aad-438d-bc68-23480413b7f8"},{"name":"VALIDATE - Minimum Request","event":[{"listen":"test","script":{"id":"ab23b467-d112-413c-bc56-edbc44858976","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"5f82cd55-e82d-407b-b79c-6758fd75249b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"type","value":"validate","type":"text","description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n"},{"key":"username","value":"{{basic-site_username}}","type":"text","description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n"},{"key":"password","value":"{{basic-site_password}}","type":"text","description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n"},{"key":"ccnumber","value":"4111111111111111","type":"text","description":"<p>Credit card number.</p>\n"},{"key":"ccexp","value":"1228","type":"text","description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"validate-validate\">Validate (validate)</h2>\n<p>This action is used for doing an \"Account Verification\" on the cardholder's credit card without actually doing an authorization.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f82cd55-e82d-407b-b79c-6758fd75249b"}],"id":"04c21e4b-2b72-4b1b-ac72-335acd5f1663","description":"<h1 id=\"sale-authorization-capture--validate\">Sale, Authorization, Capture &amp; Validate</h1>\n<p><strong>type</strong>\nThe type of transaction to be processed. Values: 'sale', 'auth', 'credit' or 'validate'</p>\n<p><strong>security_key</strong>\nAPI Security Key assigned to a merchant account. New keys can be generated from the merchant control panel in Settings &gt; Security Keys</p>\n<p><em>payment_token</em>\nThe tokenized version of the customer's card or check information. This will be generated by Collect.js and is usable only once.</p>\n<p><strong>ccnumber</strong>\nCredit card number.</p>\n<p><strong>ccexp</strong>\nCredit card expiration date. Format: MMYY</p>\n<p><em>cvv</em>\nThe card security code. While this is not required, it is strongly \nrecommended.</p>\n<p><strong>checkname</strong>\nThe name on the customer's ACH account.</p>\n<p><strong>checkaba</strong>\nThe customer's bank routing number.</p>\n<p><strong>checkaccount</strong>\nThe customer's bank account number.</p>\n<p><em>account_holder_type</em>\nThe type of ACH account the customer has. Values: 'business' or 'personal'</p>\n<p><em>account_type</em>\nThe ACH account entity of the customer. Values: 'checking' or 'savings'</p>\n<p><em>sec_code</em>\nThe Standard Entry Class code of the ACH transaction. Values: 'PPD', 'WEB', 'TEL', or 'CCD'</p>\n<p><em>amount</em>\nTotal amount to be charged. For validate, the amount must be omitted or set to 0.00. Format: x.xx</p>\n<p><em>surcharge</em>\nSurcharge amount. Format: x.xx</p>\n<p><em>currency</em>\nThe transaction currency. Format: ISO 4217</p>\n<p><strong>payment</strong>\nThe type of payment. Default: 'creditcard' Values: 'creditcard', 'check', or 'cash'</p>\n<p><em>processor_id</em>\nIf using Multiple MIDs, route to this processor (processor_id is obtained under Settings-&gt;Transaction Routing in the Control Panel).</p>\n<p><em>authorization_code</em>\nSpecify authorization code. For use with \"offline\" action only.</p>\n<p><em>dup_seconds</em>\nSets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking.</p>\n<p><em>descriptor Set</em>\npayment descriptor on supported processors.</p>\n<p><em>descriptor_phone</em>\nSet payment descriptor phone on supported processors.</p>\n<p><em>descriptor_address</em>\nSet payment descriptor address on supported processors.</p>\n<p><em>descriptor_city</em>\nSet payment descriptor city on supported processors.</p>\n<p><em>descriptor_state</em>\nSet payment descriptor state on supported processors.</p>\n<p><em>descriptor_postal</em>\nSet payment descriptor postal code on supported processors.</p>\n<p><em>descriptor_country</em>\nSet payment descriptor country on supported processors.</p>\n<p><em>descriptor_mcc</em>\nSet payment descriptor mcc on supported processors.</p>\n<p><em>descriptor_merchant_id</em>\nSet payment descriptor merchant id on supported processors.</p>\n<p><em>descriptor_url</em>\nSet payment descriptor url on supported processors.</p>\n<p><em>billing_method</em>\nShould be set to 'recurring' to mark payment as a recurring transaction or 'installment' to mark payment as an installment transaction.\nValues: 'recurring', 'installment'</p>\n<p><em>billing_number</em>\nSpecify installment billing number, on supported processors. For use when \"billing_method\" is set to installment. Values: 0-99</p>\n<p><em>billing_total</em>\nSpecify installment billing total on supported processors. For use when \"billing_method\" is set to installment.</p>\n<p><em>order_template</em>\nOrder template ID.</p>\n<p><em>order_description</em>\nOrder description. Legacy variable includes: orderdescription</p>\n<p><em>orderid</em>\nOrder Id</p>\n<p><em>ipaddress</em>\nIP address of cardholder, this field is recommended. Format: xxx.xxx.xxx.xxx</p>\n<p><em>tax</em>\nTotal tax amount.</p>\n<p><em>shipping</em>\nTotal shipping amount</p>\n<p><em>ponumber</em>\nOriginal purchase order</p>\n<p><em>first_name</em> Cardholder's first name. Legacy variable includes: firstname</p>\n<p><em>last_name</em>\nCardholder's last name Legacy variable includes: lastname</p>\n<p><em>company</em>\nCardholder's company</p>\n<p><em>address1</em>\nCard billing address</p>\n<p><em>address2</em>\nCard billing address, line 2</p>\n<p><em>city</em>\nCard billing city</p>\n<p><em>state</em>\nCard billing state. Format: CC</p>\n<p><em>zip</em>\nCard billing zip code</p>\n<p><em>country</em>\nCard billing country. Country codes are as shown in ISO 3166. Format: CC</p>\n<p><em>phone</em>\nBilling phone number</p>\n<p><em>fax</em>\nBilling fax number</p>\n<p><em>email</em>\nBilling email address</p>\n<p><em>social_security_number</em>\nCustomer's social security number, checked against bad check writers database if check verification is enabled.</p>\n<p><em>drivers_license_number</em>\nDriver's license number.</p>\n<p><em>drivers_license_dob</em>\nDriver's license date of birth.</p>\n<p><em>drivers_license_state</em>\nThe state that issued the customer's driver's license.</p>\n<p><em>shipping_firstname</em>\nShipping first name</p>\n<p><em>shipping_lastname</em>\nShipping last name</p>\n<p><em>shipping_company</em>\nShipping company</p>\n<p><em>shipping_address1</em>\nShipping address</p>\n<p><em>shipping_address2</em>\nShipping address, line 2</p>\n<p><em>shipping_city</em>\nShipping city</p>\n<p><em>shipping_state</em>\nShipping state Format: CC</p>\n<p><em>shipping_zip</em>\nShipping zip code</p>\n<p><em>shipping_country</em>\nShipping country Country codes are as shown in ISO 3166. Format: CC</p>\n<p><em>shipping_email</em>\nShipping email address</p>\n<p><em>merchant_defined_field_#</em>\nYou can pass custom information in up to 20 fields. Format: merchant_defined_field_1=Value</p>\n<p><em>customer_receipt</em>\nIf set to true, when the customer is charged, they will be sent a transaction receipt. Values: 'true' or 'false'</p>\n<p><em>signature_image</em>\nCardholder signature image. For use with \"sale\" and \"auth\" actions only. Format: base64 encoded raw PNG image. (16kiB maximum)</p>\n<p><em>cardholder_auth</em>\nSet 3D Secure condition. Values: 'verified' or 'attempted'</p>\n<p><em>eci</em>\nE-commerce indicator. Values: '0', '1', '2', '5', '6', or '7'</p>\n<p><em>cavv</em>\nCardholder authentication verification value. Format: base64 encoded</p>\n<p><em>xid</em>\nCardholder authentication transaction id. Format: base64 encoded </p>\n<p><em>three_ds_version</em>\n3DSecure version. Examples: \"1.0.2\" or \"2.0\"</p>\n<p><em>directory_server_id</em>\nDirectory Server Transaction ID. May be provided as part of 3DSecure 2.0 authentication.\nFormat: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</p>\n<p><em>source_transaction_id</em>\nSpecifies a payment gateway transaction id in order to associate payment information with a Subscription or Customer Vault record. Must be set with a 'recurring' or 'customer_vault' action. Recurring specific fields</p>\n<p><em>recurring</em>\nRecurring action to be processed. Values: add_subscription</p>\n<p><em>plan_id</em>\nCreate a subscription tied to a Plan ID if the sale/auth transaction is successful.</p>\n<p><em>plan_payments</em>\nThe number of payments before the recurring plan is complete. Note: Use '0' for 'until canceled'</p>\n<p><em>plan_amount</em>\nThe plan amount to be charged each billing cycle. Format: x.xx</p>\n<p><em>day_frequency</em>\nHow often, in days, to charge the customer. Cannot be set with 'month_frequency' or 'day_of_month'.\nmonth_frequency How often, in months, to charge the customer. Cannot be set with 'day_frequency'. Must be set with 'day_of_month'. Values: 1 through 24</p>\n<p><em>day_of_month</em>\nThe day that the customer will be charged. Cannot be set with 'day_frequency'. Must be set with 'month_frequency'. Values: 1 through 31 - for months without 29, 30, or 31 days, the charge will be on the last day</p>\n<p><em>start_date</em>\nThe first day that the customer will be charged. Format: YYYYMMDD</p>\n<h1 id=\"customer-vault-specific-fields\">Customer Vault specific fields</h1>\n<p><em>customer_vault</em>\nAssociate payment information with a Customer Vault record if the transaction is successful. Values: 'add_customer' or 'update_customer'</p>\n<p><em>customer_vault_id</em>\nSpecifies a customer vault id. If not set, the payment gateway will randomly generate a customer vault id.\nStored Credentials (CIT/MIT)</p>\n<p><em>initiated_by</em>\nWho initiated the transaction. Values: 'customer' or 'merchant'</p>\n<p><em>initial_transaction_id</em>\nOriginal payment gateway transaction id.</p>\n<p><em>stored_credential_indicator</em>\nThe indicator of the stored credential. Values: 'stored' or 'used' Use 'stored' when processing the initial transaction in which you are storing a customer's payment details (customer credentials) in the Customer Vault or other third-party payment storage system. Use 'used' when processing a subsequent or follow-up transaction using the customer payment details (customer credentials) you have already stored to the Customer Vault or third-party payment storage method.</p>\n<h1 id=\"level-ii-specific-order-fields\">Level II specific order fields</h1>\n<p><em>shipping</em>\nFreight or shipping amount included in the transaction amount Default: '0.00' Format: x.xx</p>\n<p><em>tax</em>\nThe sales tax, included in the transaction amount, associated with the purchase. Setting tax equal to '-1' indicates an order that is exempt from sales tax. Default: '0.00' Format: x.xx</p>\n<p><em>ponumber</em>\nPurchase order number supplied by cardholder</p>\n<p><em>orderid</em>\nIdentifier assigned by the merchant. This defaults to gateway transaction id.</p>\n<p><em>shipping_country</em>\nShipping country (e.g. US) Format: CC</p>\n<p><em>shipping_postal</em>\nPostal/ZIP code of the address where purchased goods will be delivered. This field can be identical to the 'ship_from_postal' if the customer is present and takes immediate possession of the goods.</p>\n<p><em>ship_from_postal</em>\nPostal/ZIP code of the address from where purchased goods are being shipped, defaults to merchant profile postal code.</p>\n<p><em>summary_commodity_code</em>\n4 character international description code of the overall goods or services being supplied. The acquirer or processor will provide a list of current codes.</p>\n<p><em>duty_amount</em>\nAmount included in the transaction amount associated with the import of purchased goods. Default: '0.00' Format: x.xx</p>\n<p><em>discount_amount</em>\nAmount included in the transaction amount of any discount applied to complete order by the merchant. Default: '0.00' Format: x.xx</p>\n<p><em>national_tax_amount</em>\nThe national tax amount included in the transaction amount. Default: '0.00' Format: x.xx</p>\n<p><em>alternate_tax_amount</em>\nSecond tax amount included in the transaction amount in countries where more than one type of tax can be applied to the purchases.\nDefault: '0.00'\nFormat: x.xx\nalternate_tax_id    Tax identification number of the merchant that reported the alternate tax amount.\nvat_tax_amount  Contains the amount of any value added taxes which can be associated with the purchased item. Default: '0.00' Format: x.xx</p>\n<p><em>vat_tax_rate</em>\nContains the tax rate used to calculate the sales tax amount appearing. Can contain up to 2 decimal places, e.g. 1% = 1.00. Default: '0.00' Format: x.xx</p>\n<p><em>vat_invoice_reference_number</em>\nInvoice number that is associated with the VAT invoice.</p>\n<p><em>customer_vat_registration</em>\nValue added tax registration number supplied by the cardholder.</p>\n<p><em>merchant_vat_registration</em>\nGovernment assigned tax identification number of the merchant for whom the goods or services were purchased from.</p>\n<p><em>order_date</em>\nPurchase order date, defaults to the date of the transaction. Format: YYMMDD</p>\n<h1 id=\"level-iii-specific-line-item-detail-fields\">Level III specific line item detail fields</h1>\n<p><em>item_product_code_#</em>\nMerchant defined description code of the item being purchased.</p>\n<p><em>item_description_#</em>\nDescription of the item(s) being supplied.</p>\n<p><em>item_commodity_code_#</em>\nInternational description code of the individual good or service being supplied. The acquirer or processor will provide a list of current codes.</p>\n<p><em>item_unit_of_measure_#</em>\nCode for units of measurement as used in international trade. Default: 'EACH'</p>\n<p><em>item_unit_cost_#</em>\nUnit cost of item purchased, may contain up to 4 decimal places.</p>\n<p><em>item_quantity_#</em>\nQuantity of the item(s) being purchased. Default: '1'</p>\n<p><em>item_total_amount_#</em>\nPurchase amount associated with the item. Defaults to: 'item_unit_cost_#' x 'item_quantity_#' rounded to the nearest penny.</p>\n<p><em>item_tax_amount_#</em>\nAmount of tax on specific item, amount should not be included in 'total_amount_#'. Default: '0.00'</p>\n<p><em>item_tax_rate_#</em>\nPercentage representing the value-added tax applied. Default: '0.00'</p>\n<p><em>item_discount_amount_#</em>\nDiscount amount which can have been applied by the merchant on the sale of the specific item. Amount should not be included in 'total_amount_#'.</p>\n<p><em>item_discount_rate_#</em>\nDiscount rate for the line item. 1% = 1.00. Default: '0.00'</p>\n<p><em>item_tax_type_#</em>\nType of value-added taxes that are being used.</p>\n<p><em>item_alternate_tax_id_#</em>\nTax identification number of the merchant that reported the alternate tax amount.</p>\n","event":[{"listen":"prerequest","script":{"id":"487ee199-0a05-4fee-9e76-bee565ab83cf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e05a1c1e-0a42-43ec-bdb0-56882510a39e","type":"text/javascript","exec":[""]}}],"_postman_id":"04c21e4b-2b72-4b1b-ac72-335acd5f1663"},{"name":"Void & Refund","item":[{"name":"VOID - Maximum Request","event":[{"listen":"test","script":{"id":"b31f15e0-0c49-4b94-8aa9-9097f8a12002","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"da027086-2417-47f2-a8c0-8a48fd3e1b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Type of transaction.\nValues: 'void'</p>\n","key":"type","type":"text","value":"void"},{"description":"<p>The API Login ID from the site you want to associate this transaction with.</p>\n","key":"username","type":"text","value":"{{basic-site_username}}"},{"description":"<p>The Transaction Key from the site you want to associate this transaction with.</p>\n","key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"<p>Original payment gateway transaction id</p>\n","key":"transactionid","type":"text","value":"{{transaction_id-001}}"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"void-void\">Void (void)</h2>\n<p>Transaction voids will cancel an existing sale or captured authorization. In addition, non-captured authorizations can be voided to prevent any future capture. Voids can only occur if the transaction has not been settled.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da027086-2417-47f2-a8c0-8a48fd3e1b8f"},{"name":"REFUND - Minimum Request","event":[{"listen":"test","script":{"id":"cbb7907b-c05f-4ea7-b50f-a69bea0e696b","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"80d1167a-e140-4cb1-911b-2385ad0dbce6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n","key":"type","type":"text","value":"refund"},{"key":"username","type":"text","value":"{{basic-site_username}}"},{"key":"password","type":"text","value":"{{basic-site_password}}"},{"key":"transactionid","value":"{{transaction_id-002}}","type":"text"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"refund-refund\">Refund (refund)</h2>\n<p>Transaction refunds will reverse a previously settled or pending settlement transaction. If the transaction has not been settled, a transaction void can also reverse it.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"80d1167a-e140-4cb1-911b-2385ad0dbce6"},{"name":"REFUND - Maximum Request","event":[{"listen":"test","script":{"id":"2a665ce1-479a-4744-8104-185e4cb3f9cd","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});"],"type":"text/javascript"}}],"id":"64349196-7234-4691-93c2-192a08881876","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>The type of transaction to be processed.\nValues: 'sale', 'auth', 'credit', 'validate', or 'offline'</p>\n","key":"type","type":"text","value":"refund"},{"key":"username","type":"text","value":"{{basic-site_username}}"},{"key":"password","type":"text","value":"{{basic-site_password}}"},{"key":"transactionid","type":"text","value":"{{transaction_id-003}}"}]},"url":"{{url}}/api/transact.php","description":"<h2 id=\"refund-refund\">Refund (refund)</h2>\n<p>Transaction refunds will reverse a previously settled or pending settlement transaction. If the transaction has not been settled, a transaction void can also reverse it.</p>\n<p>NOTE: Besides the response body, OpenPath will also include our internal payment packet ID, the server which executed the transaction, the OpenPath Payment Provider/Gateway \"Connector\" ID and the name of that connector in the following format:</p>\n<ul>\n<li>X-OpenPath-PacketId</li>\n<li>X-OpenPath-Server</li>\n<li>X-OpenPath-GatewayId</li>\n<li>X-OpenPath-GatewayName</li>\n</ul>\n","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"64349196-7234-4691-93c2-192a08881876"}],"id":"cfe52f85-9186-4265-90bc-2e0e463c55a8","_postman_id":"cfe52f85-9186-4265-90bc-2e0e463c55a8","description":""},{"name":"Tokenizataion","item":[{"name":"ADD CUSTOMER - Minimum Request","event":[{"listen":"test","script":{"id":"8530006b-424b-47be-b8c7-44378e8699d0","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","var payementToken = getQueryVariable(pm.response.text(), 'customer_vault_id');\r","\r","pm.globals.set(\"payment_token-001\", payementToken);\r","\r","tests[\"Payment Token = \" + payementToken] = true;\r","tests[\"Payment Token Received\"] = (payementToken !== null);\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"28b3b0fa-2352-4a75-b870-adc3600ef655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Add/Update a secure customer vault record.\nValues: 'add_customer' or 'update_customer'</p>\n","key":"customer_vault","type":"text","value":"add_customer"},{"key":"username","type":"text","value":"{{basic-site_username}}"},{"key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"<p>Credit card number.</p>\n","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n","key":"ccexp","type":"text","value":"1228"},{"description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28b3b0fa-2352-4a75-b870-adc3600ef655"},{"name":"SALE BY TOKEN - Minimum Request","event":[{"listen":"test","script":{"id":"5b532ae4-ea23-48f6-aa35-28c27a7e03d5","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// nmis sandbox does not support testing tokens, change the check for nmi\r","var environment = pm.environment.get(\"url\");\r","\r","tests[\"URL     = \" + environment] = true;\r","tests[\"Is NMI? = \" + (environment == \"https://secure.networkmerchants.com\")] = true;\r","\r","if(environment == \"https://secure.networkmerchants.com\") {\r","    \r","    pm.test(\"Received an expected NMI error response\", function () {\r","        pm.expect(pm.response.text()).to.include(\"response=3\");\r","    });\r","    \r","}\r","else {\r","    \r","    pm.test(\"Received an approved response\", function () {\r","        pm.expect(pm.response.text()).to.include(\"response=1\");\r","    });\r","    \r","}\r",""],"type":"text/javascript"}}],"id":"009fb186-f56e-422f-a0ab-ce1dad093a22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Add/Update a secure customer vault record.\nValues: 'add_customer' or 'update_customer'</p>\n","key":"customer_vault","type":"text","value":"sale"},{"key":"username","type":"text","value":"{{basic-site_username}}"},{"key":"password","type":"text","value":"{{basic-site_password}}"},{"key":"customer_vault_id","value":"{{payment_token-001}}","type":"text"},{"description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n","key":"amount","type":"text","value":"19.95"}]},"url":"{{url}}/api/transact.php","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"009fb186-f56e-422f-a0ab-ce1dad093a22"},{"name":"SALE W/ TOKEN - Minimum Request","event":[{"listen":"test","script":{"id":"84d0a305-e653-4d3e-9f7e-9900cd24715b","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Received an approved response\", function () {\r","    pm.expect(pm.response.text()).to.include(\"response=1\");\r","});\r","\r","var payementToken = getQueryVariable(pm.response.text(), 'customer_vault_id');\r","\r","pm.globals.set(\"min_payment_token\", payementToken);\r","\r","tests[\"Payment Token = \" + payementToken] = true;\r","tests[\"Payment Token Received\"] = payementToken.includes('payment_');\r","\r","function getQueryVariable(query, variable) {\r","\r","    var vars = query.split('&');\r","    \r","    for (var i = 0; i < vars.length; i++) {\r","        var pair = vars[i].split('=');\r","        if (decodeURIComponent(pair[0]) == variable) {\r","            return decodeURIComponent(pair[1]);\r","        }\r","    }\r","    \r","}"],"type":"text/javascript"}}],"id":"73505bd7-85ec-4a08-84fa-8d88ef8fb05b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Add/Update a secure customer vault record.\nValues: 'add_customer' or 'update_customer'</p>\n","key":"type","type":"text","value":"sale"},{"key":"username","type":"text","value":"{{basic-site_username}}"},{"key":"password","type":"text","value":"{{basic-site_password}}"},{"description":"<p>Credit card number.</p>\n","key":"ccnumber","type":"text","value":"4111111111111111"},{"description":"<p>Credit card expiration date.\nFormat: MMYY</p>\n","key":"ccexp","type":"text","value":"1228"},{"description":"<p>Total amount to be charged. For validate, the amount must be omitted or set to 0.00.\nFormat: x.xx</p>\n","key":"amount","type":"text","value":"19.95"},{"key":"stored_credential_indicator","value":"stored","description":"<p>The indicator of the stored credential.\nValues: 'stored' or 'used'\nUse 'stored' when processing the initial transaction in which you are storing a customer's payment details (customer credentials) in the Customer Vault or other third-party payment storage system.\nUse 'used' when processing a subsequent or follow-up transaction using the customer payment details (customer credentials) you have already stored to the Customer Vault or third-party payment storage method.</p>\n","type":"text"}]},"url":"{{url}}/api/transact.php","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"73505bd7-85ec-4a08-84fa-8d88ef8fb05b"}],"id":"742e1e3f-4020-48cf-87f3-78571850c37c","_postman_id":"742e1e3f-4020-48cf-87f3-78571850c37c","description":""},{"name":"Subscriptions","item":[{"name":"ADD SUBSCRIPTION - Yearly","id":"193dceb9-dcec-4a48-a887-f6b21b649a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"type","value":"sale","type":"text"},{"key":"recurring","value":"add_subscription","type":"text"},{"key":"billing_method","value":"recurring","type":"text"},{"key":"username","value":"{{basic-site_username}}","type":"text"},{"key":"password","value":"{{basic-site_password}}","type":"text"},{"key":"plan_payments","value":"0","type":"text"},{"key":"plan_amount","value":"225.94","type":"text"},{"key":"start_date","value":"20200417","type":"text"},{"key":"month_frequency","value":"12","type":"text"},{"key":"day_of_month","value":"17","type":"text"},{"key":"ccnumber","value":"4111111111111111","type":"text"},{"key":"cvv","value":"123","type":"text"},{"key":"ccexp","value":"0222","type":"text"},{"key":"payment","value":"creditcard","type":"text"},{"key":"ipaddress","value":"108.162.215.246","type":"text"},{"key":"currency","value":"USD","type":"text"},{"key":"orderid","value":"252-598","type":"text"},{"key":"firstname","value":"Yvonne","type":"text"},{"key":"lastname","value":"Weissnat","type":"text"},{"key":"zip","value":"K4P 0A1","type":"text"},{"key":"country","value":"CA","type":"text"},{"key":"email","value":"Vidal94@yahoo.com","type":"text"},{"key":"invoice","value":"inv-490-998","type":"text"},{"key":"amount","value":"225.94","type":"text"},{"key":"phone","value":"8885551111","type":"text"},{"key":"tax","value":"25.99","type":"text"},{"key":"item_description_1","value":"Subscription+Yearly","type":"text"},{"key":"item_quantity_1","value":"1","type":"text"},{"key":"item_unit_cost_1","value":"199.95","type":"text"}]},"url":"{{url}}/api/transact.php","urlObject":{"path":["api","transact.php"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"193dceb9-dcec-4a48-a887-f6b21b649a93"}],"id":"2dcf24e8-bbea-49cb-a81c-145841f31193","_postman_id":"2dcf24e8-bbea-49cb-a81c-145841f31193","description":""}],"id":"51ba8a50-7d58-413b-929b-b6a20b792278","description":"<p>These tests are to test the basic Sale, Authorize, Capture, Refund, Void, Validate, Subscription and Tokization Processes.  The connection is from a site to the NMI Sandbox.</p>\n","_postman_id":"51ba8a50-7d58-413b-929b-b6a20b792278"}]}