Overview
A deposit-funded order is an order you create without naming asource. Instead of pointing at a resource that already holds the funds, you tell Conduit which crypto asset the order will be funded in, and Conduit returns a crypto address to send that asset to. When the funds arrive and clear, the order executes on its own.
Use it when the money is not with Conduit yet — the end customer is about to send crypto in, and you want one call that both locks the rate and tells you exactly where the funds should go. Use a named source instead when the customer already holds a balance in a wallet or Virtual Account.
Deposit funding is crypto-only. An order funded from fiat always names its Virtual Account source explicitly.
Register the sending address first
A funding address accepts money only from addresses the customer has registered. Register the wallet the funds will be sent from before you create the order:201 means the address is registered and can send; 202 means screening is still running and it is not usable yet — poll until it reports registered. See Registered addresses.
Anything arriving from an address that is not registered is sent straight back to where it came from. There is no grace period and no way to attach the sender afterwards — the check is simply whether the address was registered when the funds landed.
Creating one
Omitsource and send sourceAsset — the asset code plus its chain. Exactly one of the two is required; sending both, or neither, is a 400.
destination, lockSide, amount, and an optional autoPayout behave exactly as they do on an order with a named source.
The funding address
Every read of the order — the create response,GET /v2/orders, GET /v2/orders/:id, and the order.created webhook — carries a depositInstructions array. It is present only on deposit-funded orders, and it is always exactly one block:
depositInstructions, so funding instructions read the same way whatever you are funding. Send asset to address on chain before expiresAt.
How much to send: the order’s totalDebit, not sourceAsset.amount. totalDebit is what the customer pays on the source side — the amount being converted plus any fee charged in the source asset — and the order executes only once the funds cover it. Read it off the same response that gave you the address.
source is absent, by design
A deposit-funded order omits source entirely from every response — POST /v2/orders, GET /v2/orders, and GET /v2/orders/:id alike. The account behind the funding address is Conduit infrastructure, not a customer resource: GET /v2/customers/:customerId/wallets does not list it, and GET /v2/customers/:customerId/wallets/:walletId returns 404 for it. There is no id to hand you, so none is sent.
The presence of depositInstructions is the discriminator. Branch on that, not on source.
The funding deadline
lockExpiresAt on a deposit-funded order is a funding deadline, not a rate expiry, and depositInstructions[0].expiresAt always equals it.
You can still cancel a pending deposit-funded order yourself with
POST /v2/orders/:id/cancel.
Funds no order claims are sent back
Crypto that reaches a funding address without a matching order to claim it is not credited to the customer and cannot be spent. That covers every near miss: an amount that does not cover an order, funds arriving after the order expired or was cancelled, the surplus from an over-funded order, and funds sent to an address with no order behind it at all. Once no pending order is left on the address, Conduit sends those funds back on-chain to the address they came from. There is no separate waiting period: the order’s funding deadline is the only clock. A remainder worth under a dollar stays put rather than being sent back for less than it costs to move. Two consequences worth designing for:- A short send leaves the order pending, not part-filled. The order executes only once the address holds at least
totalDebit; until then it sitspendingand the clock keeps running. If the shortfall is never made up before the deadline, the order expires and the funds go back. - Re-funding needs a new order. Once an order is terminal its address no longer claims anything. Create a fresh order and read the new
depositInstructions.
Reading the deposit’s own record
A deposit into a funding address is an ordinary transaction, readable and listable onGET /v2/transactions exactly like any other deposit. When it has not failed, it carries three extra fields:
A
pending order’s entry in funded is earmarked for it; an order that has drawn the funds has actually moved them off the address, which can be well before it reports succeeded. That is why orderStatus rides on the field at all: an order that drew the funds and then failed keeps its entry and reports failed, because that money has left and does not come back. Only a claim that never drew anything is released when its order fails or is cancelled — that slice re-attributes to the next order or goes back.
On a deposit that has not failed, the three fields always add up. source.assetAmount equals the sum of every funded[].amount plus returned plus available. The transfer is filled in the order the funds left it — returned first, then each claim in funded oldest first, and whatever is left is available — so no two of the three ever count the same money. Use this to answer “did my money stick?” without a second request. A failed deposit omits all three — see below for where to look instead.
fundedBy, an array of { transactionId, amount } naming every deposit that funded it. Read it off GET /v2/orders/:id.
The return is its own transaction
Money sent back from a funding address is a second transaction,type: "deposit_return", with its own id, status, and on-chain hash. It carries returnOf, the id of the deposit it returns:
deposit_return transaction itself always looks the same regardless of how much it returns. What it means for the deposit side varies:
- A transfer that funded something first, then had a remainder returned — a partial return, or a full return of an over-funded transfer after its order settled — leaves the deposit
completed, withreturnedandavailablereflecting exactly what happened. - A transfer that never funded anything — nothing ever claimed it, or it could not be accepted at all — leaves the deposit
failed, withfunded,returnedandavailableall omitted. Thedeposit_returntransaction is still there, and itsreturnOfstill names the deposit: check it to see where the money went.
deposit_return carries no linkedOrderId: it is returned precisely because no order claimed it, and every order that did claim funds reports its own outcome on order.*.
When a funding transfer is not accepted
A transfer that is not accepted never funds anything, so the order cannot reach its total and expires at its deadline. The deposit itself ends instatus: "failed" with a neutral reason and no failureCode — and, on a failed deposit, funded, returned and available are all omitted. Check GET /v2/transactions?type=deposit_return for the matching returnOf to see where the money went; no second transaction is produced when nothing was sent back. Contact support if it persists.
Filtering transactions at a funding address
GET /v2/transactions accepts sourceAddress — an exact match on the address that sent a transfer.
To find every deposit that funded a given order, read fundedBy off that order instead (GET /v2/orders/:id).
The funding address on transactions
When a client-visible transaction has the funding address on one of its sides, that side is adeposit_address block rather than the usual wallet block:
walletId — there is no wallet resource to look up. Treat it as its own case in your side handling; the chain travels with the asset inside assetAmount.
Errors
Related
Convert crypto
Wallet-to-wallet conversions, including the deposit-funded variant.
Money Movement Lifecycle
Where an order sits in the journey of a balance.
OFFRAMP orders in sandbox
Drive a deposit-funded order end to end with simulated funds.
Money
The amount shape every field on an order uses.