This page applies to both order shapes. An order that names a
source is funded from a balance the customer already holds; an order created with no source — sending sourceAsset instead — is funded at an address Conduit publishes on the order, via POST /v2/sandbox/orders/:orderId/deposits/simulate. Both then run the same conversion leg and fail the same way. See Deposit-Funded Orders and the deposit-funded walkthrough.The
reason field is optional (max 500 chars). When supplied, it surfaces verbatim as failureMessage on the order.failed webhook payload and on the polled GET /v2/orders/:id response, with no transformation.How to fail a conversion
Use theorders/:id/simulate/conversion-failed endpoint to force a conversion to a failed terminal state. The endpoint is timing-independent: call it at any point after order creation. If the conversion is already running, it is driven to failed immediately; otherwise the failure is armed and applied as soon as the conversion starts. The order is driven to failed and order.failed is emitted.
200 OK with the order at its current state. Returns 404 if the order is not found. Replays against an already-terminal order return 200 with the current resource (idempotent).
Rate-lock expiry SLA.
POST /v2/sandbox/orders/:id/simulate/rate-lock-expired returns 200 OK with the
order at its current state and the order reaches cancelled (expired) within
about 3 seconds via an immediate background sweep tick. No polling backoff
needed; no need to wait for the scheduled 30-second sweep.Webhook events
Conversion outcomes surface on the order’s webhook topic. There is no standalone conversion webhook.
Intermediate state (conversion in progress, source settled, etc.) is not conveyed via webhooks. Poll
GET /v2/orders/:id to observe the current order state between terminal events.
See the Webhooks reference for full payload schemas.
Errors
Conversion failures produceorder.failed on the order. The payload carries reasonCode (insufficient_funds / provider_unavailable / provider_rejected / internal_error / cancelled) describing the failure category. See Error codes for the broader catalog used by other event types.