Topic

api-design

1article · all topics

Idempotency keys for payment endpoints in .NET

GuideHTTP

Idempotency keys for payment endpoints in .NET

How to make a charge endpoint safe to retry: key scope, hashing the raw body, the 409 on a mismatched payload, and the race a unique index has to close.

7 min read