Execute a pending order
Reserves the customer’s source funds and starts execution. Makes one immediate attempt only — Conduit does not schedule a retry. Returns 422 INSUFFICIENT_FUNDS if the source balance doesn’t cover totalDebit (principal plus fees); the order stays pending and unclaimed, so the client may fund the source and call this endpoint again before lockExpiresAt. On a deposit-funded order the call also succeeds after lockExpiresAt once a deposit that reached the funding address before the deadline has cleared — arriving in time is what meets that deadline. On success, returns the order still status: pending with executionTrigger: "client"; execution completes asynchronously, moving status to succeeded (or failed) and emitting the matching order.* webhook. Callable regardless of the order’s autoExecute value — an autoExecute:true order not yet claimed by Conduit’s automatic execution can still be executed manually here, whichever call reaches it first wins. Once your sandbox has real testnet custody, executing an order whose source wallet is stuck on the old mock custody is refused with 422 LEGACY_MOCK_WALLET_UNSUPPORTED before any funds are reserved, and the order stays pending so a corrected source can retry; the same code for the destination wallet a crypto autoPayout would send from fails the order outright instead, since that wallet can never sign — recreate the wallet under a new sandbox customer.
Headers
Caller-generated unique key that lets the server safely replay this request. The original response is returned for 30 days on any retry with the same key from the same organization, with the response header Idempotency-Replayed: true. Required on every state-changing money-moving or resource-creating POST.
1 - 128^[A-Za-z0-9_.:-]{1,128}$"01J7B3K2X9M8N5P6Q7R8S9T0V1"
Response
Which side the order's amount fixed. source: the customer pays exactly that amount, so totalDebit equals it and fees come out of the amount that converts. destination: the recipient receives exactly that amount, and fees are added on top in totalDebit.
source, destination Total the customer pays in the source asset: sourceAsset.amount plus every entry in fees. On a source-locked order it equals the locked amount; on a destination-locked order it is the principal plus fees. A markupAmount that the order declares when it redeems a quoteOptionId adds to it on both lock sides. Fund the source, or the deposit address, with this amount.
Deadline for execution to begin, not merely for the source to be funded. If execution hasn't been claimed by this time, the order transitions to status: cancelled with cancellationReason: 'expired' and can no longer execute — funding the source after this timestamp does not revive it. Create a new order to get a fresh rate lock. An order with a named source holds its rate for 2 hours from creation, including an order that redeems a quote option. A deposit-funded order has no source, and this is its funding deadline. An order with BRL on either side holds longer, 3 hours by default, whatever its source. The returned lockExpiresAt is the deadline.
"2026-01-15T09:30:00.000Z"
Echoes the create-time value. When true, Conduit automatically claims execution once the available source balance covers totalDebit (principal plus fees), with no client action required — orders sharing the same source resource execute oldest-first, so a still-underfunded older order can delay a newer, already-funded one; when false, the client must call POST /v2/orders/{id}/execute (repeatable after funding if a prior attempt returned 422 INSUFFICIENT_FUNDS). Order creation never checks or reserves the source's available balance regardless of this value.
The funding resource, when the order named one. Omitted entirely on a deposit-funded order (created without a source): the funding wallet is Conduit-managed infrastructure with no client-resolvable id, and depositInstructions carries the address to fund at instead. The presence of depositInstructions is the discriminator.
- Option 1
- Option 2
Present on an order carrying a margin which comes to at least one minor unit of the source asset — one the order declared, or one it inherited from the quote option it redeemed. On an offramp that an external conversion provider settles, present when the margin taken from the payout comes to at least one minor unit of the destination asset. assetAmount is the total accrued to you, fixed at quote time. The two shapes reach the customer differently: the markupBps part is folded into the quoted rate, so it never appears in fees[] and does not move totalDebit, while the markupAmount part is a line item in fees[] owned by you and it does move totalDebit. On an offramp that an external conversion provider settles, the deposit of the provider's payout, listed in linkedTransactionIds, carries the whole margin as one fees[] line owned by you, in the destination asset.
Which path claimed execution: 'client' for a POST /v2/orders/{id}/execute call, 'auto' for automatic execution by Conduit. Set as soon as execution is claimed — well before the order reaches a terminal status — so it can appear on an order that is still status: pending while its conversion is in flight. Absent on an order that hasn't started executing yet (including one cancelled before execution began).
client, auto