{"id":23649495,"url":"https://github.com/payneteasy/pos-proxy","last_synced_at":"2025-09-01T01:31:11.050Z","repository":{"id":49966705,"uuid":"136715407","full_name":"payneteasy/pos-proxy","owner":"payneteasy","description":"Connect to a POS terminal via simple API","archived":false,"fork":false,"pushed_at":"2023-07-05T23:05:56.000Z","size":2844,"stargazers_count":18,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T06:12:13.452Z","etag":null,"topics":["java","miura","mpos","pax","pos","spire","spm2","verifone","vx820"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/payneteasy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-09T10:58:23.000Z","updated_at":"2024-11-03T19:33:37.000Z","dependencies_parsed_at":"2022-08-29T01:31:17.790Z","dependency_job_id":null,"html_url":"https://github.com/payneteasy/pos-proxy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/payneteasy/pos-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fpos-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fpos-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fpos-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fpos-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payneteasy","download_url":"https://codeload.github.com/payneteasy/pos-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fpos-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273064108,"owners_count":25039259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","miura","mpos","pax","pos","spire","spm2","verifone","vx820"],"created_at":"2024-12-28T15:38:33.741Z","updated_at":"2025-09-01T01:31:08.520Z","avatar_url":"https://github.com/payneteasy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pos-proxy\n\n## How it works\n\nPOS Proxy is a web server that redirects json requests to a POS terminal connected via USB.\nYou can also use this example to see how to integrate the Payneteasy mPOS SDK to your java application.\n\n![Sequence diagram](https://raw.githubusercontent.com/payneteasy/pos-proxy/master/doc/diagram.png)\n\n* Client - a client code to start a payment\n* POS Proxy - this application\n* gate.payneteasy.com - Our authorisation server\n* Merchant site - we can make a callback to your server with a final order status\n\n## Swagger UI\n\n* Run the application\n* Go to the http://0.0.0.0:8081/pos-proxy/swagger-ui\n\nPlease see the video below:\n\n[![Swagger UI](https://img.youtube.com/vi/_A6wEbFHIOI/0.jpg)](https://youtu.be/_A6wEbFHIOI)\n\n## How to generate a client code\n\n* Install swagger-codegen from https://github.com/swagger-api/swagger-codegen\n* Run swagger-codegen with your language\n\n```bash\nswagger-codegen generate -i http://0.0.0.0:8081/pos-proxy/swagger-ui/pos-proxy.json -l java\n```\n\n## Run it from docker\n\n### amd64\n\n```bash\ndocker run -it -p 8081:8081/tcp  payneteasy/pos-proxy:amd64\n```\n\n### arm 64 v8 (Raspberry PI 3)\n\n```bash\ndocker run -it -p 8081:8081/tcp  payneteasy/pos-proxy:arm64v8\n```\n\n### arm 32 v7 (Raspberry PI 1/2)\n\n```bash\ndocker run -it -p 8081:8081/tcp  payneteasy/pos-proxy:arm32v7\n```\n\n## Requirements\n\n* Java 1.8 (Oracle or OpenJDK)\n\n## How to build and run\n\n```bash\n./mvnw clean package\ncd server/target \u0026\u0026 java -jar server-1.3-SNAPSHOT-jar-with-dependencies.jar\n```\n\n## How to run from release page\n\n```bash\nwget https://github.com/payneteasy/pos-proxy/releases/download/1.3.0/pos-proxy-1.3.0.jar\njava -jar server-1.0-1-SNAPSHOT-jar-with-dependencies.jar\n```\n\n## How to change a listening port\n\nYou can change the listening port by pass this via -D option or via environment variable.\n\nVia environment variable:\n```bash\nexport HTTP_SERVER_PORT=9090\njava -jar server-1.3-SNAPSHOT-jar-with-dependencies.jar\n```\n\nVia -D option:\n```bash\njava -DHTTP_SERVER_PORT=9090 -jar server-1.3-SNAPSHOT-jar-with-dependencies.jar\n```\n\n## How to connect to a Verifone terminal via USB cable\n\nRun socat program to listen 27016 tcp port and redirects all tcp packets to a tty device.\n\n```bash\nsocat -d -d -v -x tcp4-listen:27015,reuseaddr,fork file:/dev/ttyACM0,nonblock,echo=0,raw\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayneteasy%2Fpos-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayneteasy%2Fpos-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayneteasy%2Fpos-proxy/lists"}