CLI Tool
Theopenpay CLI lets you manage payments, webhooks, and configuration directly from your terminal.
Installation
- Go Install
- Download Binary
Authentication
Log in with your API credentials. The CLI stores them locally in~/.openpay/config.yaml.
Configuration
Manage CLI settings withopenpay config:
Payments
List Payments
Create a Payment
Get Payment Details
Webhooks
Configure a Webhook
List Webhook Deliveries
Test a Webhook
Send a test event to your configured endpoint:Checkout Sessions
Create a Checkout Session
Global Flags
These flags work with any command:Shell Completion
Generate shell completion scripts:- Bash
- Zsh
- Fish