awaiting_approval, use these endpoints to resolve it. See Order Lifecycle for the state machine and ZeroConf for instant Bitcoin credit concepts.
POST /v1/orchestration/reprice/approve
Approve a pending repricing request and resume execution. Headers:- Order must be in
awaiting_approval. approvedMinAmountOutmust be less than or equal to the previous locked minimum inorder.reprice.previousLockedMinAmountOut.
POST /v1/orchestration/reprice/reject
Reject repricing and fail the order. Headers:POST /v1/orchestration/reprice/refund
Reject repricing and request an on-chain BTC refund. Headers:- Order must be in
awaiting_approval. - Refund is currently supported only for Bitcoin source orders.
refundAddresscan come from the quote or this request; one must be present.
refunded or failed.
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.