Webhooks
The restaurant deleted the connection
EVENT
connection.revokedSent once, just before the revocation, and not retried. Afterwards the key gets 403 CONNECTION_REVOKED.
Headers
X-Partner-SignaturestringRequiredt=<unix seconds>,v1=<hex HMAC-SHA256(secret, "<t>.<raw body>")>, one v1= per active secret (two during a rotation; the key is the whole whsec_… string). Recomputed at every attempt. Verify against the raw body, reject t more than 300 s off, compare in constant time.
X-Partner-Event-IdstringRequiredpattern: ^evt_The event's id; deduplicate by it.
X-Partner-Event-TypestringWebhookEventTypeRequiredorder.acceptedorder.readyorder.completedorder.rejectedorder.cancelledmenu.updatedstore.status_changedconnection.revokedPayload
application/jsonRequired
idstringRequiredpattern: ^evt_createdAtstringRequiredformat: date-timeconnectionIdstringRequiredpattern: ^pc_[0-9a-f]{20}$Show child attributesHide child attributes
connectionIdstringRequiredpattern: ^pc_[0-9a-f]{20}$seqintegerRequiredExpected response
200Stored. Answer
2xx within 3 s, as soon as the event is stored. Timeouts, network errors, 429 and 5xx areretried (Retry-After first; else after about 1, 2, 10 min, then every 30 min, for 24 h). Other 4xx and every 3xx are final.