CLI Reference
gocardless listen
Listen for new webhooks
Synopsis
This will listen for any new webhooks, and either forward them onto a URL if one is provided, or print them onto the screen.
gocardless listen [flags]
Examples
# listen for events and print them to console gocardless listen # listen for events and forward them to a webhook url gocardless listen --forward "http://localhost:8001/webhook"
Options
-f, --forward string optional url to forward webhooks to -h, --help help for listen
Options inherited from parent commands
--config string config file (default is $HOME/.gc-cli/config.json)
SEE ALSO
- gocardless - A CLI to help you integrate GoCardless with your application
