{"id":47067085,"url":"https://github.com/sumup/sumup-cli","last_synced_at":"2026-03-12T05:07:29.025Z","repository":{"id":328203686,"uuid":"1114625515","full_name":"sumup/sumup-cli","owner":"sumup","description":"Command line tool for interacting and developing with SumUp.","archived":false,"fork":false,"pushed_at":"2026-02-24T23:14:43.000Z","size":93,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-25T03:59:31.059Z","etag":null,"topics":["cli","payments","sumup"],"latest_commit_sha":null,"homepage":"https://developer.sumup.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T16:35:52.000Z","updated_at":"2026-02-24T23:14:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sumup/sumup-cli","commit_stats":null,"previous_names":["sumup/sumup-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumup/sumup-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup%2Fsumup-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup%2Fsumup-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup%2Fsumup-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup%2Fsumup-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumup","download_url":"https://codeload.github.com/sumup/sumup-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup%2Fsumup-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","payments","sumup"],"created_at":"2026-03-12T05:07:28.347Z","updated_at":"2026-03-12T05:07:29.021Z","avatar_url":"https://github.com/sumup.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# SumUp CLI\n\nCommand line tool for interacting with SumUp APIs.\n\n[![Documentation][docs-badge]](https://developer.sumup.com)\n[![License](https://img.shields.io/github/license/sumup/sumup-rs)](./LICENSE)\n\n\u003c/div\u003e\n\nSumUp CLI tool allows you to manage your SumUp account, create checkouts, and much more all from your terminal.\n\n## Getting started\n\n```bash\ngo install github.com/sumup/sumup-cli/cmd/sumup\n```\n\nThe CLI expects an API key via the `SUMUP_API_KEY` environment variable by default. You can also pass `--api-key` explicitly.\n\n```bash\nexport SUMUP_API_KEY=your_api_key\n```\n\n## Managing merchant context\n\nTo avoid repeating the `--merchant-code` flag in every command, you can set a merchant context:\n\n```bash\n# Set the merchant context interactively\nsumup context set\n\n# View the current merchant context\nsumup context get\n\n# Unset the merchant context\nsumup context unset\n```\n\nOnce set, all commands that accept `--merchant-code` will use the context value by default. You can still override it by providing the flag explicitly.\n\n## Create a checkout\n\n```bash\nsumup checkouts create \\\n  --reference order-123 \\\n  --amount 19.99 \\\n  --currency EUR \\\n  --merchant-code M123 \\\n  --description \"Ticket purchase\" \\\n  --return-url https://example.com/return \\\n  --redirect-url https://example.com/3ds \\\n  --customer-id cst_42 \\\n  --purpose \"Event\"\n```\n\n## Manage readers\n\nList readers for a merchant:\n\n```bash\nsumup readers list --merchant-code M123\n```\n\nPair a new reader with a pairing code:\n\n```bash\nsumup readers add \\\n  --merchant-code M123 \\\n  --pairing-code ABCDEF \\\n  --name \"Front counter\"\n```\n\nTrigger a checkout on a reader (this example charges EUR 14.99 and offers tip\nrates):\n\n```bash\nsumup readers checkout \\\n  --merchant-code M123 \\\n  --reader-id reader_42 \\\n  --amount 14.99 \\\n  --currency EUR \\\n  --tip-rate 0.10 \\\n  --tip-rate 0.15 \\\n  --description \"In-person order #123\"\n```\n\nWhen using affiliate attribution, pass all affiliate flags: `--affiliate-app-id`, `--affiliate-key`, and `--affiliate-foreign-transaction-id`.\n\nCheck the last known status of a paired reader:\n\n```bash\nsumup readers status \\\n  --merchant-code M123 \\\n  reader_42\n```\n\n[docs-badge]: https://img.shields.io/badge/SumUp-documentation-white.svg?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgY29sb3I9IndoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHBhdGggZD0iTTIyLjI5IDBIMS43Qy43NyAwIDAgLjc3IDAgMS43MVYyMi4zYzAgLjkzLjc3IDEuNyAxLjcxIDEuN0gyMi4zYy45NCAwIDEuNzEtLjc3IDEuNzEtMS43MVYxLjdDMjQgLjc3IDIzLjIzIDAgMjIuMjkgMFptLTcuMjIgMTguMDdhNS42MiA1LjYyIDAgMCAxLTcuNjguMjQuMzYuMzYgMCAwIDEtLjAxLS40OWw3LjQ0LTcuNDRhLjM1LjM1IDAgMCAxIC40OSAwIDUuNiA1LjYgMCAwIDEtLjI0IDcuNjlabTEuNTUtMTEuOS03LjQ0IDcuNDVhLjM1LjM1IDAgMCAxLS41IDAgNS42MSA1LjYxIDAgMCAxIDcuOS03Ljk2bC4wMy4wM2MuMTMuMTMuMTQuMzUuMDEuNDlaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumup%2Fsumup-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumup%2Fsumup-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumup%2Fsumup-cli/lists"}