Idempotency
Use theeventId field to deduplicate events. The same event may be delivered more than once due to retries. Store processed event IDs and skip any you have already handled.
Ordering
Events may arrive out of order. UsecreatedAtTs to determine event chronology, and always check the current state via the relevant API endpoint if your logic depends on the latest status.