Webhook Credits Only Once
A payment webhook with event_key = 'evt-1' can be delivered again, even concurrently. Write one statement that records the key in processed_events and credits 100 to wallet with id = 1 only on the first processing of that key.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in