Skip to main content
Treat transport failures, validation errors, and lifecycle outcomes differently. Never infer that funds moved from an HTTP timeout alone.

HTTP handling

Idempotency

Use one stable Idempotency-Key per logical payout or settlement order. A network retry uses the same key. A new customer action uses a new key.

Settlement errors

Settlement errors include stage, fundsStatus, fundsMoved, retryable, and nextAction. Follow those fields instead of parsing the human-readable message.
health: STUCK does not replace the order status. It means the order needs recovery while the status and fundsStatus continue to describe the last verified state.

Safe retry rule

Before resubmitting an onchain action, check the stored resource and transaction receipt. Never create a second burn, swap, or payout merely because the first HTTP request timed out.

Arc settlement

Review settlement stages and delivery boundaries.

API reference

Inspect response schemas and endpoint-specific status codes.