payment-processing
Installation
SKILL.md
Payment processing pattern library
Reference patterns for payment integrations.
Idempotency-key patterns
| Pattern | When to use |
|---|---|
| Client-generated UUIDv4 per attempt | Default for most APIs |
| Server-derived (customerId, intent-id, timestamp-bucket) | When client can't generate unique keys |
| Deterministic from request payload hash | Risky — if any field changes, key changes; not idempotent across retries |
Persist the key client-side so retries reuse it. Without persistence, retries generate new keys and bypass idempotency.