1
Get a test key
In the dashboard, open Developers → API keys and copy the test key. Test keys start with
rk_test_ and never deliver to production endpoints.2
Forward webhooks to localhost
Install the CLI and start forwarding. It prints a signing secret for this session.
3
Receive the webhook
A minimal Express handler that verifies the signature and logs the event:
server.js
4
Send an event
202 Accepted with the event’s id, and your server logs invoice.paid evt_... a moment later.Next steps
- Add a real endpoint and subscribe it to event types in Send events.
- Read Verify signatures before you go live.