gc 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.

gc listen [flags]

Examples

  # listen for events and print them to console  
  gc listen
  # listen for events and forward them to a webhook url
  gc 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

  • gc - A CLI to help you integrate GoCardless with your application