The official command-line interface for PayArk, designed to help developers build, test, and manage their PayArk integrations directly from the terminal.
- Webhook Management: Listen to real-time events and forward them to your local server.
- Event Triggering: Simulate events to test your integration.
- Project Setup: Quickly initialize new PayArk projects.
- Authentication: Securely log in to your PayArk account.
Install the CLI globally via npm or bun:
npm install -g @payark/cli
# or
bun add -g @payark/cliRun payark to see available commands:
payark helpAuthenticate with your PayArk account.
Listen for webhook events and forward them to a local URL.
payark listen --forward-to http://localhost:3000/api/webhooksTrigger a specific event for testing.
payark trigger payment.succeededInitialize a new PayArk project configuration.