{"id":42744087,"url":"https://github.com/dodopayments/dodopayments-cli","last_synced_at":"2026-03-09T14:10:33.528Z","repository":{"id":314902664,"uuid":"1056020328","full_name":"dodopayments/dodopayments-cli","owner":"dodopayments","description":"The official CLI for the Dodo Payments API","archived":false,"fork":false,"pushed_at":"2026-02-23T15:55:16.000Z","size":250,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-23T23:52:33.005Z","etag":null,"topics":["cli","dodopayments"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dodopayments.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-09-13T08:19:34.000Z","updated_at":"2026-02-23T15:55:18.000Z","dependencies_parsed_at":"2025-09-15T15:21:16.758Z","dependency_job_id":"c773f3ab-5bfa-4f73-81fb-311000461351","html_url":"https://github.com/dodopayments/dodopayments-cli","commit_stats":null,"previous_names":["dodopayments/dodopayments-cli"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/dodopayments/dodopayments-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodopayments%2Fdodopayments-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodopayments%2Fdodopayments-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodopayments%2Fdodopayments-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodopayments%2Fdodopayments-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodopayments","download_url":"https://codeload.github.com/dodopayments/dodopayments-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodopayments%2Fdodopayments-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30298054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T13:46:43.843Z","status":"ssl_error","status_checked_at":"2026-03-09T13:46:42.821Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","dodopayments"],"created_at":"2026-01-29T19:07:59.486Z","updated_at":"2026-03-09T14:10:33.517Z","avatar_url":"https://github.com/dodopayments.png","language":"TypeScript","funding_links":[],"categories":["Development Tools"],"sub_categories":[],"readme":"# Dodo Payments CLI\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eA powerful Command Line Interface for Dodo Payments\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/dodopayments-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/dodopayments-cli?color=cb3837\u0026label=npm\u0026logo=npm\" alt=\"npm version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/bYqAp4ayYh\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/1305511580854779984?label=Discord\u0026logo=discord\u0026color=5865F2\" alt=\"Discord\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License: MIT\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#authentication\"\u003eAuthentication\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#webhooks\"\u003eWebhooks\u003c/a\u003e •\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nManage your [Dodo Payments](https://dodopayments.com/) resources and test webhooks directly from the terminal. Built for developers who prefer the command line.\n\n## Installation\n\nWe provide various ways to install the CLI:\n\n\u003e **Note:** If you have Node or Bun installed, it's highly recommended to use that installation method.\n\n### Using npm (Recommended)\n\n```bash\nnpm install -g dodopayments-cli\n```\n\n### Using Bun\n\n```bash\nbun install -g dodopayments-cli\n```\n\n### Manual Installation\n\n1. Download the latest release from [GitHub Releases](https://github.com/dodopayments/dodopayments-cli/releases) that matches your system.\n\n2. Extract the downloaded file to a directory of your choice.\n\n3. Rename the binary file to `dodo`:\n   - **Linux/macOS:** `mv ./dodopayments-cli-* ./dodo`\n   - **Windows:** `ren .\\dodopayments-cli-* .\\dodo`\n\n4. Move the binary to a directory in your system's PATH:\n   - **Linux/macOS:** `sudo mv ./dodo /usr/local/bin/`\n   - **Windows:** `move .\\dodo C:\\Windows\\System32\\dodo` (requires admin mode)\n\n## Authentication\n\nBefore using the CLI, you must authenticate:\n\n```bash\ndodo login\n```\n\nThis command will:\n1. Open your browser to the Dodo Payments API Keys page\n2. Prompt you to enter your API Key\n3. Ask you to select the environment (**Test Mode** or **Live Mode**)\n4. Store your credentials locally to `~/.dodopayments/api-key`\n\nNote: Upto 1 Test Mode \u0026 1 Live Mode can be used at the same time\n\n## Usage\n\nThe general syntax is:\n\n```bash\ndodo \u003ccategory\u003e \u003csub-command\u003e\n```\n\n### Products\n\nManage your products catalog.\n\n| Command | Description |\n|---------|-------------|\n| `dodo products list` | List all products |\n| `dodo products create` | Open dashboard to create a product |\n| `dodo products info` | View details for a specific product |\n\n### Payments\n\nView payment transactions.\n\n| Command | Description |\n|---------|-------------|\n| `dodo payments list` | List all payments |\n| `dodo payments info` | Get information about a specific payment |\n\n### Customers\n\nManage your customer base.\n\n| Command | Description |\n|---------|-------------|\n| `dodo customers list` | List all customers |\n| `dodo customers create` | Create a new customer profile |\n| `dodo customers update` | Update an existing customer's details |\n\n### Discounts\n\nManage coupons and discounts.\n\n| Command | Description |\n|---------|-------------|\n| `dodo discounts list` | List all discounts |\n| `dodo discounts create` | Create a new percentage-based discount |\n| `dodo discounts delete` | Remove a discount by ID |\n\n### Licenses\n\nManage software licenses.\n\n| Command | Description |\n|---------|-------------|\n| `dodo licences list` | List all licenses |\n\n### Addons\n\nManage your add-ons.\n\n| Command | Description |\n|---------|-------------|\n| `dodo addons list` | List all addons |\n| `dodo addons create` | Open dashboard to create an addon |\n| `dodo addons info` | View details for a specific addon |\n\n### Refunds\n\nManage your refunds.\n\n| Command | Description |\n|---------|-------------|\n| `dodo refund list` | List all refunds |\n| `dodo refund info` | View details for a specific refund |\n\n### Webhooks\n\nManage and test webhooks directly from the CLI.\n\n| Command | Description |\n|---------|-------------|\n| `dodo wh listen` | Listen for webhooks from Dodo Payments in real time and forward them to your local dev server |\n| `dodo wh trigger` | Trigger a test webhook event interactively |\n\n\u003e **Note:** The webhook triggering doesn't support signing requests yet. Please disable webhook signature verification while triggering. A simple way to do this is using `unsafe_unwrap()` instead of `unwrap()` in the webhook endpoint **during testing only**.\n\n\u003e **Note:** The webhook listening tool will only work with a test mode API key. If you use a live mode API key, it won't work.\n\nThis interactive tool guides you through:\n1. Setting a destination **endpoint URL**\n3. Selecting a specific **Event** to trigger\n\n### Supported Webhook Events\n\n| Category | Events |\n|----------|--------|\n| **Subscription** | `active`, `updated`, `on_hold`, `renewed`, `plan_changed`, `cancelled`, `failed`, `expired` |\n| **Payment** | `success`, `failed`, `processing`, `cancelled` |\n| **Refund** | `success`, `failed` |\n| **Dispute** | `opened`, `expired`, `accepted`, `cancelled`, `challenged`, `won`, `lost` |\n| **License** | `created` |\n\n## Contributing\n\nWe welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your help is appreciated.\n\nPlease read our [Contributing Guide](./CONTRIBUTING.md) to get started. We also have a [Code of Conduct](./CODE_OF_CONDUCT.md) that we expect all contributors to follow.\n\n### Ways to Contribute\n\n- Report bugs and suggest features\n- Improve documentation\n- Add new CLI commands\n- Write tests\n- Review pull requests\n\n## Support\n\n- [Discord Community](https://discord.gg/bYqAp4ayYh) - Get help and discuss with the community\n- [GitHub Issues](https://github.com/dodopayments/dodopayments-cli/issues) - Report bugs or request features\n- [Documentation](https://docs.dodopayments.com) - Learn more about Dodo Payments\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made with ❤️ by \u003ca href=\"https://dodopayments.com\"\u003eDodo Payments\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodopayments%2Fdodopayments-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodopayments%2Fdodopayments-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodopayments%2Fdodopayments-cli/lists"}