Interview practice question
Securing webhook endpoints
System Design · APIs and Communication · Beginner
Your service exposes a webhook endpoint that a payment provider calls. How do you secure it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Verify HMAC signature.
- Check timestamp to prevent replay.
- HTTPS only.
- Deduplicate by event ID.
- Optionally allowlist provider IPs.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.