DashboardsentryStripe Projects idempotency — only cach…

Stripe Projects idempotency — only cache terminal successes, not transient errors

Category: pattern
Confidence: 1.00
ID: 019d9c00-8317-7755-a9af-e717e28ea433
Project ID: 702228c8-56bc-4694-8d5a-174ac2f29105
Cross-project: No
Recalled in other projects: 1
Source session: (none)
Created: 2026-07-30 15:46:04
Updated: 2026-07-30 15:46:04

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 2 1d ago

Content

Stripe Projects idempotency — cache only terminal successes: Endpoints return 200 with {"status": "error"} for transient failures. Cache must only pin responses where status_code == 200 AND data.status == "complete" (or "removed" for resource_remove). Caching transient errors blocks retries for 24h TTL. On non-success or exception, call release_idempotency_lock(request, org). All three endpoints share this policy.

Move to: