{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"b5d6d684-e336-4410-8a50-4975ff7e5ff9","name":"Device Provider APIs Collection QRPOS","description":"## Descripción General\n\nEsta colección contiene los endpoints necesarios para el **procesamiento de transacciones QR**. Incluye tres servicios principales, con el objetivo de habilitar pagos con billieteras digitales o eléctronicas a traves de dataphonos o POS:\n\n1. **QR_Gen/aes** — Generación de código QR a partir de datos de transacción encriptados.\n    \n2. **QR_Consulta_Pago** — Consulta del estado de pago de una transacción QR previamente generada.\n    \n3. **QR_Gen_Anulacion** — Anulación (reverso) de una transacción QR previamente autorizada.\n    \n\n---\n\n## Autenticación\n\nTodos los endpoints de esta colección utilizan **Basic Auth** configurada a nivel de colección. Las credenciales se obtienen de las variables de entorno:\n\n- **Usuario:** `{{User_1}}`\n    \n- **Contraseña:** `{{Pass_1}}`\n    \n\nCada request hereda automáticamente esta autenticación. No es necesario configurarla individualmente en cada endpoint.\n\n---\n\n## URL Base\n\nLa URL base de los servicios se construye utilizando la variable de entorno `{{Domain}}`. Cada endpoint tiene su propio subdominio:\n\n| Endpoint | URL |\n| --- | --- |\n| QR_Gen/aes | `https://qrgenaes.{{Domain}}/QR_Gen/aes` |\n| QR_Consulta_Pago | `https://qrconsultapago.{{Domain}}/QR_Consulta_Pago` |\n| QR_Gen_Anulacion | `https://qrgenanulacion.{{Domain}}/QR_Gen_Anulacion` |\n\nAsegúrese de tener configurada la variable `Domain` en el entorno activo antes de ejecutar los requests.\n\n---\n\n## Flujo General de Trabajo\n\nEl flujo típico de una transacción QR sigue estos pasos:\n\n### Paso 1: Generar QR (`QR_Gen/aes`)\n\nSe envía la información de la transacción encriptada al servicio de generación. El sistema desencripta los datos, procesa la transacción y retorna un objeto QR (`objCoDi`) junto con un `transactionId`.\n\n### Paso 2: Consultar Estado de Pago (`QR_Consulta_Pago`)\n\nUna vez generado el QR y presentado al cliente, se utiliza este servicio para verificar si el pago fue realizado, está pendiente o no fue encontrado. Se consulta utilizando los identificadores de comercio, terminal y transacción.\n\n### Paso 3: Anular Transacción (`QR_Gen_Anulacion`) _(si es necesario)_\n\nEn caso de requerir la anulación de una transacción previamente autorizada, se utiliza este servicio enviando el número de autorización y el monto de la transacción original.\n\n---\n\n## Variables de Entorno Requeridas\n\n| Variable | Descripción |\n| --- | --- |\n| `Domain` | Dominio base del servidor (ej: `miservidor.com`) |\n| `User_1` | Usuario para autenticación Basic Auth |\n| `Pass_1` | Contraseña para autenticación Basic Auth |","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"53281489","team":5544502,"collectionId":"b5d6d684-e336-4410-8a50-4975ff7e5ff9","publishedId":"2sBXinHVuH","public":true,"publicUrl":"https://docs-qrpos-deviceprovider.solutechn.com","privateUrl":"https://go.postman.co/documentation/53281489-b5d6d684-e336-4410-8a50-4975ff7e5ff9","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Pay and Cancell QRPOS"},{"name":"title","value":"Device Provider QRPOS"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.0","publishDate":"2026-04-06T16:24:18.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Device Provider QRPOS","description":"Pay and Cancell QRPOS"},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"VerifoneCloud.net Azure","id":"42b51805-71b5-4a24-83b4-5d4ddf2316d0","owner":"29971473","values":[{"key":"Domain","value":"verifonecloud.net","enabled":true,"type":"default"},{"key":"User_1","value":"1","enabled":true,"type":"secret"},{"key":"Pass_1","value":"1","enabled":true,"type":"secret"},{"key":"User_2","value":"1","enabled":true,"type":"secret"},{"key":"Pass_2","value":"1","enabled":true,"type":"secret"}],"published":true}],"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/486f60a10ae10c901b01111749d2948ac489265b27e46d835fc3a19ca04c7caf","favicon":"https://solutechn.com/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"},{"label":"VerifoneCloud.net Azure","value":"29971473-42b51805-71b5-4a24-83b4-5d4ddf2316d0"}],"canonicalUrl":"https://docs-qrpos-deviceprovider.solutechn.com/view/metadata/2sBXinHVuH"}