Docs
llms.txt for AI agents Download OpenAPI spec

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, recommended
  • POST /api/v1/fx/contracts, recommended
  • POST /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.