Skip to main content
Subcommands

polar webhook listen

Forward webhook events for an organization to a local URL
Arguments Flags Examples Forward events to http://localhost:3000
Forward events to a route on your local server
Forward events for a specific organization
Print the signing secret, e.g. for POLAR_WEBHOOK_SECRET in .env

polar webhook trigger

Send a sample webhook event to your local server
Arguments Flags Examples Pick an event from a list
Send a sample order.paid event
Change a field in the payload
Generate the same IDs every time
Print the payload instead of sending it