Create an endpoint
Create an HTTPS endpoint in your app that acceptsPOST requests with JSON:
2xx response after your app stores or processes the event.
Create the webhook
Call the webhook endpoint:Verify signatures
Each delivery includes these headers:
Verify the signature before processing the event. Reject old timestamps and signatures that do not match your webhook secret.