What if my endpoint misses a webhook, or gets the same one twice?
Query the API. If your endpoint is down or doesn't reply with a success status in time, we retry the event several times with growing gaps, then mark it as failed and stop. The payout query endpoint always has the current status.
- The same event can arrive more than once. Store each X-Webhook-Event-Id and skip events you've already handled.
- Events can arrive out of order. Use the occurred_at_ms field and never overwrite a final status with an older one.
- If you think you've missed events, query each open payout with the payout query endpoint and update your records from the response.
The exact retry schedule is in the webhooks guide.