Dodo Payments CLI
The official CLI for the Dodo Payments REST API.
It is generated with Stainless.
Installation
Installing with Go
go install 'github.com/dodopayments/dodopayments-cli/cmd/dodopayments@latest'
Running Locally
go run cmd/dodopayments/main.go
Usage
The CLI follows a resource-based command structure:
dodopayments [resource] [command] [flags]
dodopayments checkout-sessions create \
--product-cart.product_id product_id \
--product-cart.quantity 0
For details about specific commands, use the --help flag.
Global Flags
--debug - Enable debug logging (includes HTTP request/response details)
--version, -v - Show the CLI version