/quote or /submit.
Prerequisites
- An Orchestra account. Create one in the dashboard. Flashnet reviews new accounts before enabling API access.
- A server key (
fn_...) from API keys in the dashboard. Keep it on your backend. For browsers and apps, use a scoped client key (fnp_...); see Authentication.
Create
Select a destination from authenticatedGET /v1/standing-deposit-addresses/destinations, which returns { destinations: [{ chain, asset, effectiveMinimum }] }. Each pair is eligible through at least one configured source, not every returned address. Availability can change; Hedera is excluded.
Create or fetch the instruction under your customer reference:
Replace
SERVER_KEY with your fn_... key. Use a new X-Idempotency-Key for each operation and reuse it when retrying that same request. Amounts are integer strings in the asset’s smallest unit: "100000" is 0.001 BTC; "50000000" is 50 USDC on Base. Read each asset’s decimals from /v2/orchestration/routes.200):
effectiveMinimum is the smallest deposit that converts on its own. Name a source to get the floor for that asset:
sourceAmountSmallest gives the floor in that asset’s smallest units, or null when the asset cannot be priced. Without them only the global floor in usdCents is set. Send both parameters or neither; the same pair works on PUT and on /destinations, where it also filters the list to that source. The floor is policy, not a price guarantee: a deposit above it can still be held when no route prices it.
bitcoinLimits gives the Bitcoin bounds frozen for this address: a bound per source chain and one for the destination.
ref: 1 to 128 characters, partner-scoped, URL-encoded as one segment. Identical instructions replay; changes return409 instruction_conflict.slippageBps: 0..10000, default 50.feeBps: floor of 0..9999, default 0.affiliateIds: up to 16, frozen at creation; overrides 1..9999, total below 10000.refundAddresses: source-chain targets for generated-order refunds, not automatic dust refunds.- Reads require a server key; mutations also require
X-Idempotency-Key.GET /{ref}returns the shape above, without the instruction. Store references, recipient, and fee configuration yourself; there is no list endpoint.
Deposits
Orchestra verifies deposits and senders, applies confirmation policy, and quotes eligible funds at the live rate withinslippageBps. Route and partner policy can hold execution.
Funding rules:
- A deposit in the destination asset itself (Base USDC into a Base USDC destination) is held with code
standing_identity_pair. - An address for one EVM chain does not authorize the same string on another chain. Fund only the chain the key names.
- Tron standing funding supports USDT only.
- Orchestra cannot stop an unsupported token from arriving at an issued address. It is listed with status
review_requiredand codestanding_unsupported_asset, with the token’s contract or mint intokenAddress, and it never converts. A matching symbol does not make a token supported; the contract or mint must match the catalog. - EVM and Solana dust below the route minimum is held and can batch with later deposits of the same asset to the same address into one order. Bitcoin outputs are independent; each must cover the claim fee plus the route minimum.
zeroconfOffer. Standing offers require explicit consent, even for allowlisted partners. Without acceptance, processing waits for confirmation. See ZeroConf for the distinct offer shape and decision endpoints.
List deposits newest first:
{ deposits, nextOffset }. Read status and code for progress or the reason funds are held. orderId and quoteId link the generated order. tokenAddress is the contract or mint observed on chain, null for native assets. senderAddress is null for a Bitcoin deposit with several input addresses.
To learn about held deposits without polling, subscribe to ingress.held webhooks at /v1/webhooks/ingress. The OpenAPI document defines the StandingDeposit response schema.
Lightning destinations
Approved partners can register a standing address that pays out BTC over Lightning. Contact your Flashnet representative to request access; without it, registration returns400 standing_lightning_not_enabled.
destination.addressis a reusable target: a Lightning address, or anlnurl1...string that encodes an HTTPS LNURL-pay endpoint, up to 4096 characters. A raw URL, a single-use BOLT11 invoice, or a BOLT12 offer returns400 standing_lightning_target_required.- Only USDC on Solana converts. A deposit in any other asset is held, not rejected.
- Registration creates no invoice and promises no output amount. Each deposit is priced exact-in after it arrives.
Pause and refund
UsePATCH /v1/standing-deposit-addresses/{ref} with { "enabled": false } to pause or { "enabled": true } to resume. Other fields return 400 immutable_instruction; there is no delete.
Pause blocks new source commitments, including outstanding batches, while observation continues. Already signed transactions retain their recovery path. Resume retries pause holds, not requested refunds or unrelated review holds. Disabled routes are retryable; restoring policy does not clear every hold. Nothing is refunded automatically.
Request a refund for held deposits:
depositIds (1 to 200, same address and asset; Bitcoin exactly one) or batchId, plus a source-chain refundAddress. 202 { batchId, status: "refund_requested" } confirms enqueueing, not broadcast. Ineligible deposits return 409 refund_not_available.
An unsupported token is refunded only as the original token and recorded amount. Before broadcast the refund is checked for proof of deposit, fund availability, and screening; a failed check keeps it held. Existing orders use order-refund processing. Bitcoin refunds wait for 6 confirmations and deduct network fees. Unconverted Tron deposits require an operator and remain reserved under standing_tron_refund_requires_operator.
Accumulation and liquidation addresses are the previous model; see Reusable addresses (legacy).