ChangelogNo. 026
New feature
Signed webhooks you can verify
- Type
- New feature
- Area
- API
- Shipped
- Issue
- No. 026 of 37
What changed
You can now verify that a webhook really came from PalPluss. Register the domains your callbacks go to on the new Webhooks page and PalPluss gives you a signing secret; every callback to those domains then carries Standard Webhooks signature headers you can check in a few lines of code. Callbacks to other addresses are sent exactly as before, so nothing breaks while you set it up.
- 01Add up to 10 callback domains on the Webhooks page and get a whsec_ signing secret.
- 02Callbacks to those domains include webhook-id, webhook-timestamp and webhook-signature headers.
- 03Copy verification code for Node.js, PHP or Python straight from the page.
- 04Rotate a secret at any time; the old one keeps working for 24 hours so you can update your server.
- 05Send a test webhook to check your setup before real payments arrive.