{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"42d4d6b1-0c7e-6c26-2e5e-2aeec6838b4d","name":"PIConnect - PICommander","description":"PIConnect with PICommander allows simple, local REST calls (GETS) to perform EMV device transactions. PICommander is a local Windows application, installed on at least one station within the network.\n\n---\n\n> **ENDPOINT**  \nserver:port | picommander ip address and port | example: 10.0.1.37:7001 \n  \n\n---\n\n> **REQUEST FIELDS** \n  \n\n| Field | Description | Format | M/O |\n| --- | --- | --- | --- |\n| method | CreditSale, CreditAuth, CreditCapture, CreditReturn, CreditVoid, DebitSale, DebitReturn, DebitVoid, CloseBatch, CloseAllBatches, Initialize, QuickRead, TransactionDetails, FailedTransactions, TotalTransactions, LastBatch, ForceBatchClose, Fetch, EBTSale, EBTReturn, EBTReturn | AN(25) | M |\n| sn | DeviceID | AN(25) | M |\n| amount | transaction amount | N(9)n.nn | M |\n| ticketid | ticket, receipt, invoice | AN(18) | M |\n| userid | clerk or system user | AN(18) | M |\n| tip | tip amount | N(9)n.nn | O |\n| signature | signature request = 1; default = 0 | N(1) | O |\n| tipreq | tip-at-terminal = 1; default = 0 | N(1) | O |\n| dupoverride | duplicate transaction override = 1; default = 0 | N(1) | O |\n| l2taxamount | tax amount | n.nn | M for level2 |\n| l2custcode | corp card customer id | AN(18) | M for level2 |\n| l2purchaseorder | purchase order number | N(18) | M for level2 |\n| notes | comments or notes | AN(25) | O |\n| token | secure token representing card# | N(16) | M for token transactions |\n| expirationdate | mmyy | N(4) | M for token transactions |\n| cardtype | VISA, MASTERCARD, DISCOVER, AMEX, JCB | AN(10) | M for token transactions |\n| ptk | PI Transaction Key (used to fetch previous transaction detals) | AN(10) | M for fetch |\n\n---\n\n> **RESPONSE FIELDS** \n  \n\n| Field | Description | Format |\n| --- | --- | --- |\n| TransactionResult | true (successful) / false (unsuccessful) | AN(18) |\n| ResponseCode | processor specific response code | AN(18) |\n| ApprovedAmount | confirmation of amount processed (check for partial approvals) | N(9)n.nn |\n| TransactionID | transaction reference | AN(18) |\n| AuthCode | approval/authorization code | AN(18) |\n| Token | secure token representing card# | ANC(16) |\n| CardType | VISA, MASTERCARD, DISCOVER, AMEX, JCB | A(10) |\n| AccountNum | last 4 of card number | N(4) |\n| ExpirationDate | mmyy | N(4) |\n| TicketID | ticket, receipt, invoice | AN(18) |\n| PTK | Unique \"PI Transction Key\" | ANC(10) |\n| ResponseMsg | processor message (important to display for unsuccessful transactions | AN(25) |\n| HostCode | processor code | AN(25) |\n| Timestamp | time of transaction | NC(16) |\n| AvsResponse | A,E,N,R,S,U,W,X,Y,Z,G,B,C,D,I,M,P | AN(4) |\n| CvResponse | M,N,P,S,U | AN(4) |\n| CardHolder | cardholder name from card-present transaction | AN(25) |\n| BusinessId | PIConnect account number | N(10) |\n| UniqueId | unique transaction id | AN(25) |\n| TransType | transaction type confirmation | AN(25) |\n| EntryMode | CHIP, SWIPE, MANUAL, CONTACTLESS | AN(25) |\n| RefNum | processor or device reference number | N(25) |\n| SerialNo | device serial number or id | N(25) |\n| AmountDue | populated for partial approvals for some processors | N(4) |\n| TipAmount | confirmation of tip amount | n.nn |\n| HostResponse | processor or device response | AN(25) |\n| ExtraBalance | balance on certain card types | N(9)n.nn |\n| CardBin | card bin range | N(6) |\n| (Multiple EMV response fields) | Tc, Tvr, Aid, Tsi, Atc, AppLab, AppPN, lad, Arc, Cid, Cvm | AN(25) |\n| PTK | Pi transaction key (unique for all transactions) | ANC(18) |\n| \\---- |  |  |\n\n> **EXAMPLE RESPONSE** \n  \n\n```\n{\n\"TransactionID\": \"9\",\n\"TicketID\": \"receipt80\",\n\"TransType\": \"SALE\",\n\"Timestamp\": \"20180208083022\",\n\"ResponseMsg\": \"OK\",\n\"ResponseCode\": \"000000\",\n\"ExtraBalance\": null,\n\"RawResponse\": null,\n\"RefNum\": \"803916501369\",\n\"CardHolder\": \"PAYMENT INNOVATORS/TEST T\",\n\"HostResponse\": \"APPROVAL TAS918\",\n\"HostCode\": \"00\",\n\"CvResponse\": null,\n\"CardType\": \"VISA\",\n\"AccountNum\": \"3375\",\n\"AvsResponse\": null,\n\"ApprovedAmount\": 80,\n\"AmountDue\": 0,\n\"TipAmount\": 0,\n\"AuthCode\": \"TAS918\",\n\"CVM\": null,\n\"CID\": \"40\",\n\"ARC\": \"00\",\n\"IAD\": \"06010A03600000\",\n\"APPPN\": null,\n\"APPLab\": \"Visa Credit\",\n\"ATC\": \"0063\",\n\"TSI\": \"6C00\",\n\"AID\": \"A0000000031010\",\n\"TVR\": \"8080008000\",\n\"TC\": \"B229CB7304B6E50E\",\n\"CardBin\": \"441840\",\n\"SerialNo\": \"53211269\",\n\"EntryMode\": \"Chip\",\n\"TransactionResult\": true,\n\"UniqueId\": \"53211269-9\",\n\"Token\": \"uFNX9I5m3VVn3375\",\n\"ExpirationDate\": \"0121\",\n\"PTK\": \"9J56C99u1Qg\"\n}\n\n ```","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"360438","team":82263,"collectionId":"42d4d6b1-0c7e-6c26-2e5e-2aeec6838b4d","publishedId":"7Lhk6bw","public":true,"publicUrl":"https://api-picommander.piconnect.io","privateUrl":"https://go.postman.co/documentation/360438-42d4d6b1-0c7e-6c26-2e5e-2aeec6838b4d","customColor":{"top-bar":"2199DE","right-sidebar":"515A5A","highlight":"2199DE"},"documentationLayout":"classic-double-column","version":"8.10.0","publishDate":"2018-03-14T18:40:17.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/4efb337b51b2406f7820f05e49e0114ad37658285d3cbf16b2aa9ceb68cfe2cb","favicon":"https://piconnect.io/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://api-picommander.piconnect.io/view/metadata/7Lhk6bw"}