webhook_url
when you create a payment and Pesarc will POST a
JSON event to it as the payment progresses.
Receiving events
Event shape
Rules of thumb
Verify the signature against the raw request body before trusting an event.
Treat delivery as at-least-once — make your handler idempotent on
data.id.Respond
2xx quickly; do slow work asynchronously so Pesarc doesn’t retry.Reconcile with
GET /checkout/:id if you ever miss an event.The signature header name and scheme are configured with your webhook secret in
the Developers screen. If you haven’t set a webhook secret yet, do that
before relying on webhooks in production.