Concepts / Idempotency
Idempotency
Send Idempotency-Key (UUID recommended) on writes. Same key + same body returns the original response within TTL.
POST /api/v1/fx/quotes, recommendedPOST /api/v1/fx/contracts, recommendedPOST /api/v1/fx/webhooks/inbound, required (8–128 ASCII printable chars)
Same key + different body: 409 idempotency_mismatch on quotes/contracts; 409 IDEMPOTENCY_CONFLICT on inbound webhooks.
Outbound (Crebit → Partner)
For outbound deliveries to your webhook_url, use theevent_id field as your idempotency key. Crebit may retry the same delivery if your endpoint returns a non-2xx within 10s.