Skip to main content
WEBHOOK
How to verify the signature and handle retries is in Webhooks.

Headers

webhook-id
string
required

The delivery id. The same on every retry of this delivery; each endpoint gets its own.

webhook-timestamp
string
required

When this attempt was sent, in Unix seconds.

Pattern: ^\d+$
webhook-signature
string
required

v1, followed by the standard-base64 HMAC-SHA256 of ${webhook-id}.${webhook-timestamp}.${rawBody}, keyed with the base64-decoded part of your signing secret after whsec_. Space-separated if there is more than one; accept if any v1, entry matches.

Body

application/json
type
string
required

The only event today.

Allowed value: "payment.succeeded"
timestamp
string<date-time>
required

When Pesso recorded the payment. Not the webhook-timestamp header, which is the time of this attempt.

data
object
required

Response

Delivered. No more attempts.