zeroconfEnabled=true receives an instant-credit offer, the order enters awaiting_approval with a pending zeroconfOffer. Use the endpoints below to accept or decline. See Order Lifecycle for the full state machine and ZeroConf for how instant credit works.
Market-move repricing is handled automatically. If post-deposit execution would exceed the quote’s
slippageBps, the order refunds without partner action. There is no accept/decline step. See Market moves and refunds below.POST /v1/orchestration/zeroconf/accept
Accept a pending ZeroConf offer and resume execution with instant credit. Headers:- Order must be in
awaiting_approvalwith a pendingzeroconfOffer. - The offer must not be expired.
- The API key must belong to the same partner as the order.
POST /v1/orchestration/zeroconf/decline
Decline a pending ZeroConf offer. The order waits for 1 on-chain confirmation before proceeding. Headers:- Order must be in
awaiting_approvalwith a pendingzeroconfOffer. - The API key must belong to the same partner as the order.
ZeroConf offer fields
When a Bitcoin L1 deposit withzeroconfEnabled=true receives a ZeroConf quote, the order includes a zeroconfOffer object:
status:pending,accepted,declined,expired, orconfirmed(confirmed means the Bitcoin tx reached 1-conf before the offer was resolved, bypassing the approval window)depositSats: total BTC deposited (sats)instantSats: amount credited instantly on acceptance (sats)holdbackSats: amount held back until on-chain confirmation (sats)feeSats: ZeroConf fee (sats)confirmationProbability: estimated probability the transaction confirmsexpiresAt: offer expiry time (ISO 8601)offeredAt: when the offer was generatedresolvedAt: when the offer was accepted, declined, or expired (nullwhile pending)
awaiting_approval while zeroconfOffer.status is pending. Resolve with:
POST /v1/orchestration/zeroconf/acceptto accept and receive instant creditPOST /v1/orchestration/zeroconf/declineto wait for 1 on-chain confirmation before proceeding
expired and the engine waits for 1 on-chain confirmation before proceeding.
Market moves and refunds
If the pool moves against the quote between the deposit and execution, Orchestra refunds the order automatically. No partner action is required. The resulting order will havestatus=refunding and errorCode=slippage_exceeded before finalizing as refunded.
Late deposits (arriving after quote expiry) are always accepted and repriced at the live market rate at detection time, then executed against slippageBps. If the pool has moved too far, the normal slippage_exceeded refund applies.
Exact-out orders that can’t be satisfied from the received amount refund with one of:
exact_out_insufficient_input— the deposit was belowrequiredAmountInexact_out_input_above_max— the deposit exceededmaxAcceptedAmountInexact_out_target_not_met— the pool couldn’t producetargetAmountOut
order.refunding. Partners should treat these as normal refund flows.