Watch this video on YouTube
Your Bronze table payments_raw ingests Stripe webhooks that sometimes resend the same event five minutes later with an updated status. You must keep only the latest version of each event_id , preserve history for audits, and minimise code.