Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.
An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.
Cash App username (username or $username), or Lightning address (username@domain). Cash App usernames resolve to [email protected]. BOLT11 invoices and URLs are not accepted.
Include transaction calldata to fund the order. Supported for EVM native and ERC-20 sources only; unsupported sources return calldata_unsupported_source. Defaults to false.
Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode. Changing this field requires a new idempotency key.
Your own reporting label, such as an integrator ID. Every order this quote funds carries it, and the dashboard filters and groups by it. Self-reported: anyone holding the key that creates the quote chooses it.
Unsigned deposit transfer, returned only with includeCalldata=true on supported EVM sources. No approval is needed. This funds the deposit; it does not execute the swap.
Unlisted destinations only: the least amount of the token, in its smallest units, the recipient receives when the swap succeeds. Enforced on chain at the recipient.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Flashnet","description":"Flashnet documentation. Integrate Orchestra for cross-network swaps, Lightning payments, and standing deposit addresses.","colors":{"primary":"#161514","light":"#D7D6D4","dark":"#161514"},"logo":{"light":"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=d4fecbaa9d67a76ffb1251ccec3ecbfd","dark":"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-dark.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=2636ee150e02d79266ba705aa2ebdb81"},"favicon":"https://mintcdn.com/flashnet-9a0adcc4/SITNW9lBX0J8pU9z/favicon.svg?fit=max\u0026auto=format\u0026n=SITNW9lBX0J8pU9z\u0026q=85\u0026s=854a8430922bc5412ff892542620b563","api":{"openapi":"https://orchestration.flashnet.xyz/openapi.json","params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"appearance":{"default":"dark","strict":false},"background":{"color":{"dark":"#090909"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://orchestra.flashnet.xyz/dashboard"}},"footer":{"socials":{"x":"https://x.com/flashnet","github":"https://github.com/flashnetxyz"},"links":[{"header":"Flashnet","items":[{"label":"Dashboard","href":"https://orchestra.flashnet.xyz/dashboard"},{"label":"Build","href":"https://build.flashnet.xyz"},{"label":"Order status","href":"/orchestra/status"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://flashnet.xyz/privacy"},{"label":"Terms of Service","href":"https://flashnet.xyz/terms-of-service"}]}]},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flashnet-9a0adcc4","hasAudioNarration":false,"actualSubdomain":"flashnet-9a0adcc4","customDomains":["docs.flashnet.xyz"],"gitSource":{"type":"github","owner":"flashnetxyz","repo":"flashnet-docs","deployBranch":"main","contentDirectory":"main","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acec706b0647c10215822ed","collectionId":"db759d00-0ced-4c89-a2ad-ef6a0d0d4a50","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acec706b0647c10215822ed"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6acec706b0647c10215822ed","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Endpoints","count":46},{"language":"default","tag":"Orchestra","count":18},{"language":"default","tag":"USDB","count":15},{"language":"default","tag":"Orchestration","count":13},{"language":"default","tag":"Legacy","count":12},{"language":"default","tag":"Status delivery","count":8},{"language":"default","tag":"Standing deposit addresses","count":7},{"language":"default","tag":"Affiliates","count":6},{"language":"default","tag":"Core","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--rounded-sm:4px;--rounded-md:4px;--rounded-lg:6px;--rounded-xl:6px;--rounded-2xl:6px;--rounded-3xl:6px}*,::after,::before{border-radius:4px!important}#navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"]){position:relative}#navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"])::after{content:\"\";position:absolute;left:46.153846%;top:21.875%;height:56.25%;width:1px;background:#c8c8c8;pointer-events:none}.dark #navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"])::after{background:#484848}#navbar,#navbar nav[aria-label=Main] a,#navbar>div,.prose table,.prose td,.prose th{border-radius:0!important}#page-context-menu>button:first-child{border-radius:4px 0 0 4px!important}#page-context-menu>button:last-child{border-radius:0 4px 4px 0!important}:is(#sidebar-content, #mobile-nav) a[aria-current=page]{background:rgb(0 0 0/.06)}.dark :is(#sidebar-content, #mobile-nav) a[aria-current=page]{background:#181818}:is(#sidebar-content, #mobile-nav) img[src*=\"/assets/sidebar-icons/\"]{border-radius:0!important;opacity:.65}.dark :is(#sidebar-content, #mobile-nav) img[src*=\"/assets/sidebar-icons/\"]{filter:invert(1)}:is(#sidebar-content, #mobile-nav) a:is([aria-current=\"page\"], :hover) img[src*=\"/assets/sidebar-icons/\"]{opacity:.9}.dark [aria-label=\"Get started\"]>a{background:#141414;border-color:#252525}.dark [aria-label=\"Get started\"]>a:hover{background:#1c1c1c;border-color:#3a3a3a}.dark #topbar-cta-button a{background:#181818;border:1px solid #303030}.dark #topbar-cta-button span{color:#f5f5f5}.dark #topbar-cta-button a:hover{background:#202020;opacity:1}#navbar .navbar-link a{background:0 0;border-color:transparent}#navbar div:has(>div>a>.nav-logo){height:56px}#navbar .nav-logo{height:28px;border-radius:0!important}@media (min-width:1024px){:root{--scroll-mt:96px!important}#sidebar-content{top:calc(3.5rem + var(--banner-height, 0px))!important;height:calc(100vh - 3.5rem - var(--banner-height, 0px))!important}#content-side-layout{top:calc(3.5rem + var(--banner-height, 0px));height:calc(100vh - 3.5rem - var(--banner-height, 0px))}#navbar div:has(>a>.nav-logo){flex:0 0 auto}#navbar nav[aria-label=Main]{margin-left:1rem;justify-content:flex-start}#navbar .topbar-right-container{margin-left:auto}#navbar nav[aria-label=Main] a{height:56px;padding-inline:10px;padding-top:4px;font-size:13px;letter-spacing:0;background:0 0;border-bottom:2px solid transparent}#navbar nav[aria-label=Main] a[aria-current=location]{border-bottom-color:currentColor}#navbar nav[aria-label=Main] a:hover{background:0 0}}#content-container:has(#header) #page-title{font-weight:600;letter-spacing:0}#content-container:has(#header) #content{letter-spacing:0}#content-container:has(#header) #content h2:not(.not-prose){font-weight:600;line-height:31px;margin-block:58px 14px;letter-spacing:0}#table-of-contents{font-size:13px;line-height:18px}#table-of-contents a{padding-block:5px;line-height:18px}@media (min-width:1280px){#content-container:has(#header):not(:has([data-api-example])){display:grid;grid-template-columns:minmax(2rem,1fr) minmax(0,48rem) minmax(2rem,1fr) 18rem;padding-left:3rem}#content-container:has(#header):not(:has([data-api-example]))>div:has(>#content-area){grid-column:2}#content-container:has(#header):not(:has([data-api-example])) #content-area{min-width:0;max-width:none;margin-inline:0;padding:3.5rem 0 0;position:relative;left:8px}#content-container:has(#header):not(:has([data-api-example]))>#content-side-layout{grid-column:4;padding:3.5rem 1.25rem 0 0}#content-container:has(#header) #page-title{font-size:34px;line-height:42px}}@media (min-width:1024px){body:has(#navbar a[aria-current=location][href=\"/api/overview\"]){--api-sidebar-width:22rem}}.prose :not(pre)>code{background:0 0!important;border:0!important;padding:0!important;font-size:.9em!important;font-weight:500;color:rgb(60 60 58)!important}.dark .prose :not(pre)>code{color:rgb(215 214 212)!important}.prose table{width:100%;border-collapse:collapse;border:1px solid rgb(229 231 235);font-size:.875rem;line-height:1.4}.dark .prose table,.dark .prose td,.dark .prose th{border-color:rgb(255 255 255/.12)}.prose td,.prose th{border:1px solid rgb(229 231 235);padding:.5rem .75rem;text-align:left;vertical-align:top}.prose th{background:rgb(0 0 0/.03);font-weight:500}.dark .prose th{background:rgb(255 255 255/.04)}.prose td:first-child{white-space:nowrap;font-weight:500}.prose td code,.prose th code{white-space:nowrap}body:has(#navbar a[aria-current=location][href=\"/usdb/overview\"]) .prose :is(th, td){min-width:0;white-space:normal}"},{"filePath":"api-reference.css","content":".api-reference-page{min-height:60vh}#api-playground-2-operation-page:has(.api-reference-page)>.mdx-content>:not(.api-reference-page):not(:has(.api-reference-page)),#api-playground-2-operation-page:has(.api-reference-page)>:first-child>:not(:first-child){display:none}#api-playground-2-operation-page:has(.api-reference-page)>:first-child{margin-bottom:20px}#content-container:has(.api-reference-page){display:block!important;padding-left:0!important}#content-container:has(.api-reference-page) #content-area{width:100%;max-width:1080px!important;padding:48px 32px 0!important;margin-inline:auto;left:0!important}#content-container:has(.api-reference-page) #content-side-layout{display:none}#content-container:has(.api-reference-page) #header{max-width:720px;margin-bottom:24px}.api-reference{--api-border:#e5e5e5;--api-muted:#636363;--api-surface:#fafafa;--api-header:#f4f4f4;font-size:14px;line-height:1.6;letter-spacing:0}.dark .api-reference{--api-border:#262626;--api-muted:#a3a3a3;--api-surface:#0c0c0c;--api-header:#141414}.api-reference-layout{display:grid;grid-template-columns:minmax(0,1fr)}.api-reference-field>div,.api-reference-main{min-width:0}.api-reference code{font-size:12px;overflow-wrap:anywhere;white-space:normal}.api-reference section{margin-top:44px;scroll-margin-top:88px}.api-reference h2{font-size:20px;line-height:28px;margin:0 0 18px!important;font-weight:500}.api-reference h3{font-size:16px;font-weight:500;margin:24px 0 12px}.api-reference-description{white-space:pre-wrap;overflow-wrap:anywhere}.api-reference-auth,.api-reference-source{color:var(--api-muted);font-size:12px;margin-top:16px}.api-reference-fields{border:1px solid var(--api-border);margin-top:14px;overflow:hidden}.api-reference-field,.api-reference-field-head{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,.9fr) minmax(0,2fr);gap:16px;padding:14px}.api-reference-field-head{background:var(--api-header);color:var(--api-muted);font-size:12px;padding-block:9px}.api-reference-field-group{border-top:1px solid var(--api-border);border-radius:0!important}.api-reference-type{display:flex;align-items:flex-start;flex-direction:column;gap:3px;color:var(--api-muted)}.api-reference-required{color:#98720d;font-size:10px}.dark .api-reference-required{color:#d4b76b}.api-reference-location{display:block;font-size:10px;color:var(--api-muted);text-transform:uppercase;margin-top:4px}.api-reference-disclosure{margin-top:8px}.api-reference-disclosure summary{cursor:pointer;color:var(--api-muted);font-size:12px;padding-block:4px}.api-reference-disclosure summary span{margin-left:6px;font-size:11px}.api-reference-values{display:flex;flex-wrap:wrap;gap:5px 12px;padding-block:12px}.api-reference-constraint{color:var(--api-muted);font-size:12px;margin-top:5px}.api-reference-variant{padding:12px 0;border-top:1px solid var(--api-border)}.api-reference-child-row{padding:0 14px 12px}.api-reference-children{margin-top:0}.api-reference-children>summary{width:fit-content}.api-reference-children>.api-reference-fields{border:0;border-left:1px solid var(--api-border);border-radius:0!important;margin:12px 0 0 5px}.api-reference-children .api-reference-field-head{display:none}.api-reference-children .api-reference-field-head+.api-reference-field-group{border-top:0}.api-reference-children .api-reference-field{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px;padding-block:12px;border-radius:0!important}.api-reference-children .api-reference-field>div:last-child{grid-column:1/-1}.api-reference-children .api-reference-field>div:last-child:empty{display:none}.api-reference-children .api-reference-type{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:4px 8px}.api-reference-children .api-reference-disclosure:not(.api-reference-children){margin-top:0}.api-reference-response-bar{display:flex;gap:16px;align-items:center;margin-bottom:14px;color:var(--api-muted)}.api-reference input,.api-reference select,.api-reference textarea{background:var(--api-surface);border:1px solid var(--api-border);color:inherit;font:inherit;padding:8px 10px;max-width:100%}.api-reference textarea{width:100%;min-height:140px;font-family:monospace;font-size:12px;resize:vertical}.api-reference label{font-size:12px}.api-reference label select{margin-left:8px}.api-reference button{cursor:pointer;font:inherit;font-size:12px;border:1px solid var(--api-border);padding:7px 12px;background:var(--api-header)}.api-reference button:hover{filter:brightness(1.15)}.api-reference :is(button, summary, select, input, textarea, a):focus-visible{outline:2px solid currentColor;outline-offset:3px}.api-reference button:disabled{cursor:wait;opacity:.55}.api-reference pre{background:0 0;border:0;padding:0;margin:0;overflow:auto;max-height:480px}.api-reference pre code{white-space:pre;overflow-wrap:normal}.api-reference-toc{display:none}.api-reference-code-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--api-border);background:var(--api-header);padding:5px 10px}.api-reference-language-tabs{display:flex;gap:8px}.api-reference .api-reference-language-tab{border:0;border-bottom:1px solid transparent;border-radius:0!important;background:0 0;padding:7px 0;color:var(--api-muted)}.api-reference .api-reference-language-tab[aria-pressed=true]{color:inherit;border-bottom-color:currentColor}.api-reference-request>.code-block{margin:0;border:0}.api-reference-request{border:1px solid var(--api-border);overflow:hidden}.api-reference-request .api-reference-code-toolbar,.api-reference-request .code-block,.api-reference-request .code-block-background{border-radius:0!important}#content-container:has(.api-reference-page) #pagination{width:100%;max-width:720px}@media (min-width:1280px){#api-playground-2-operation-page:has(.api-reference-page)>:first-child,#content-container:has(.api-reference-page) #pagination{width:calc(100% - 160px);max-width:720px}.api-reference-layout{grid-template-columns:minmax(0,720px) 128px;gap:32px}.api-reference-toc{display:block;position:sticky;top:96px;align-self:start}.api-reference-toc nav{display:flex;flex-direction:column;gap:10px;font-size:12px}.api-reference-toc nav>span{color:var(--api-muted);margin-bottom:6px}.api-reference-toc a{font-weight:400;text-decoration:none;border:0!important;box-shadow:none!important}}@media (max-width:640px){.api-reference-children .api-reference-child-row{padding-inline:8px 0}.api-reference-children>.api-reference-fields{margin-left:0}#content-container:has(.api-reference-page) #content-area{padding:28px 24px 0!important}.api-reference-field-head{display:none}.api-reference-field{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.api-reference-field>div:last-child{grid-column:1/-1}.api-reference-type{align-items:flex-end}}"}],"page":{"pagePath":"api-reference/orchestration/create-offramp-quote","slug":"/api-reference/orchestration/create-offramp-quote","pageMetadata":{"title":"Create offramp quote","sidebarTitle":"Create offramp quote","description":"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/offramp","href":"/api-reference/orchestration/create-offramp-quote"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const createApiHelpers=()=>{function record(value){return value!==null\u0026\u0026typeof value===`object`\u0026\u0026!Array.isArray(value)?value:{}}function list(value){return Array.isArray(value)?value:[]}function text(value){return typeof value===`string`?value:``}function owns(value,key){return Object.prototype.hasOwnProperty.call(value,key)}function scalar(value){return value===null||[`string`,`number`,`boolean`].includes(typeof value)}function pointer(spec,ref){if(ref===`#`)return spec;if(!ref.startsWith(`#/`))throw new Error(`Unsupported reference: `+ref);const parts=decodeURIComponent(ref.slice(2)).split(`/`);let value=spec;for(const part of parts){if(/~(?:[^01]|$)/.test(part))throw new Error(`Invalid JSON pointer: `+ref);const key=part.replace(/~1/g,`/`).replace(/~0/g,`~`);if(value===null||typeof value!==`object`||!Object.prototype.hasOwnProperty.call(value,key)){throw new Error(`Missing reference: `+ref)}value=value[key]}return value}function referenceObject(spec,input,seen=new Set){const source=record(input);if(typeof source.$ref!==`string`)return source;if(seen.has(source.$ref)||seen.size>=32)throw new Error(`Cyclic reference: `+source.$ref);const target=pointer(spec,source.$ref);if(target===null||typeof target!==`object`||Array.isArray(target)){throw new Error(`Expected object reference: `+source.$ref)}const{$ref,...siblings}=source;return{...referenceObject(spec,target,new Set([...seen,source.$ref])),...siblings}}function indexAllOf(branches,base){const objects=[...branches.map(record),base];const names=[...new Set(objects.flatMap(item=>Object.keys(record(item.properties))))];const properties=Object.fromEntries(names.map(name=>{const values=objects.filter(item=>owns(record(item.properties),name)).map(item=>record(item.properties)[name]);const unique=uniqueConstraints(values);return[name,unique.length===1?unique[0]:{allOf:unique}]}));const required=[...new Set(objects.flatMap(item=>list(item.required).filter(name=>typeof name===`string`)))];const result={...base};if(names.length)result.properties=properties;if(required.length)result.required=required;for(const key of[`description`,`title`,`example`,`examples`,`default`]){if(!owns(result,key)){const source=[...objects].reverse().find(item=>owns(item,key));if(source)result[key]=source[key]}}for(const key of[`type`,`items`,`format`,`enum`,`const`,`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`minLength`,`maxLength`,`minItems`,`maxItems`,`pattern`,`multipleOf`,`additionalProperties`]){const values=objects.filter(item=>owns(item,key)).map(item=>item[key]);if(!owns(result,key)\u0026\u0026values.length\u0026\u0026values.every(value=>JSON.stringify(value)===JSON.stringify(values[0])))result[key]=values[0]}return result}function uniqueConstraints(values){const flattened=values.flatMap(value=>{const item=record(value);return Object.keys(item).length===1\u0026\u0026Array.isArray(item.allOf)?uniqueConstraints(item.allOf):[value]});return[...new Map(flattened.map(value=>[JSON.stringify(value),value])).values()]}function resolveNode(spec,input,seen,depth){if(typeof input===`boolean`)return input;const source=record(input);if(depth>=32)return{...source,\"x-resolution-error\":`Schema resolution depth exceeded`};if(typeof source.$ref===`string`){try{if(seen.has(source.$ref))throw new Error(`Cyclic reference: `+source.$ref);const target=pointer(spec,source.$ref);if(typeof target!==`boolean`\u0026\u0026(target===null||typeof target!==`object`||Array.isArray(target))){throw new Error(`Expected schema reference: `+source.$ref)}const resolved=resolveNode(spec,target,new Set([...seen,source.$ref]),depth+1);const{$ref,...siblings}=source;if(!Object.keys(siblings).length)return resolved;return resolveNode(spec,{...siblings,allOf:[resolved,...list(siblings.allOf)]},seen,depth+1)}catch(error){return{...source,\"x-resolution-error\":error instanceof Error?error.message:String(error)}}}const result={...source};for(const key of[`allOf`,`anyOf`,`oneOf`]){if(Array.isArray(source[key]))result[key]=list(source[key]).map(branch=>resolveNode(spec,branch,seen,depth+1))}return Array.isArray(result.allOf)?indexAllOf(result.allOf,result):result}function resolveSchema(spec,schema){return resolveNode(spec,schema,new Set,0)}function fields(spec,input,depth){if(depth>=16)return[];const schema=record(resolveSchema(spec,input));const required=new Set(list(schema.required));const result=new Map(Object.entries(record(schema.properties)).map(([name,value])=>{const resolved=resolveSchema(spec,value);return[name,{name,required:required.has(name),schema:resolved,description:text(record(resolved).description)}]}));for(const key of[`anyOf`,`oneOf`]){const branches=list(schema[key]).map(branch=>fields(spec,branch,depth+1));const names=[...new Set(branches.flatMap(branch=>branch.map(field=>field.name)))];for(const name of names){const variants=branches.flatMap(branch=>branch.filter(field=>field.name===name));const alternative=variants.length===1?variants[0].schema:{anyOf:variants.map(field=>field.schema)};const existing=result.get(name);const merged=existing?resolveSchema(spec,{allOf:[existing.schema,alternative]}):alternative;result.set(name,{name,schema:merged,required:Boolean(existing?.required||required.has(name)||variants.length===branches.length\u0026\u0026variants.every(field=>field.required)),description:existing?.description??(variants.every(field=>field.description===variants[0].description)?variants[0].description:``)})}}for(const branch of list(schema.allOf)){for(const field of fields(spec,branch,depth+1)){const existing=result.get(field.name);if(!existing)result.set(field.name,field);else if(field.required\u0026\u0026!existing.required)result.set(field.name,{...existing,required:true})}}return[...result.values()]}function schemaFields(spec,schema){return fields(spec,schema,0)}function typeLabel(spec,input,depth){if(depth>=16)return`recursive schema`;const resolved=resolveSchema(spec,input);if(resolved===false)return`never`;if(resolved===true)return`unknown`;if(resolved.$ref)return`unresolved reference: `+text(resolved.$ref);if(resolved[`x-resolution-error`])return text(resolved[`x-resolution-error`]);const parts=[];for(const key of[`anyOf`,`oneOf`,`allOf`]){if(!Array.isArray(resolved[key]))continue;const labels=[...new Set(list(resolved[key]).map(branch=>typeLabel(spec,branch,depth+1)))];const useful=key===`allOf`?labels.filter(label=>label!==`unknown`):labels;if(useful.length===1)parts.push(useful[0]);else if(useful.length)parts.push(key===`allOf`?useful.map(label=>`(${label})`).join(` \u0026 `):`${key}(${useful.join(` | `)})`)}const types=typeof resolved.type===`string`?[resolved.type]:list(resolved.type).filter(value=>typeof value===`string`);if(!types.length\u0026\u0026resolved.properties\u0026\u0026!parts.length)types.push(`object`);if(!types.length\u0026\u0026resolved.items)types.push(`array`);const ownType=types.map(type=>type===`array`?`array\u003c${typeLabel(spec,resolved.items,depth+1)}>`:type!==`null`\u0026\u0026typeof resolved.format===`string`?`${type}\u003c${resolved.format}>`:type).join(` | `);if(ownType\u0026\u0026!parts.includes(ownType))parts.push(ownType);let label=parts.join(` \u0026 `)||(owns(resolved,`const`)?resolved.const===null?`null`:typeof resolved.const:`unknown`);if(resolved.nullable===true\u0026\u0026!types.includes(`null`))label=`(${label}) | null`;return label}function schemaType(spec,schema){return typeLabel(spec,schema,0)}function options(spec,input,depth){if(input===false)return[];if(depth>=16)return null;const schema=record(resolveSchema(spec,input));if(schema.$ref||schema[`x-resolution-error`])return null;let values=null;if(Array.isArray(schema.enum)\u0026\u0026schema.enum.every(scalar))values=schema.enum;if(owns(schema,`const`)\u0026\u0026scalar(schema.const))values=[schema.const];if(schema.type===`null`)values=[null];for(const key of[`anyOf`,`oneOf`]){if(!Array.isArray(schema[key]))continue;const branches=list(schema[key]).map(branch=>options(spec,branch,depth+1));if(values===null\u0026\u0026branches.every(branch=>branch!==null))values=branches.flat()}for(const branch of list(schema.allOf)){const bounded=options(spec,branch,depth+1);if(values===null\u0026\u0026bounded!==null)values=bounded}if(values===null)return null;if(schema.nullable===true)values=[...values,null];return[...new Set(values)].filter(value=>permitsScalar(spec,schema,value,depth))}function permitsScalar(spec,input,value,depth){if(input===false)return false;if(depth>=16)return true;const schema=record(resolveSchema(spec,input));if(value===null\u0026\u0026schema.nullable===true)return true;if(Array.isArray(schema.enum)\u0026\u0026!schema.enum.includes(value))return false;if(owns(schema,`const`)\u0026\u0026schema.const!==value)return false;const types=typeof schema.type===`string`?[schema.type]:list(schema.type);const type=value===null?`null`:typeof value;if(types.length\u0026\u0026!types.includes(type)\u0026\u0026!(typeof value===`number`\u0026\u0026Number.isInteger(value)\u0026\u0026types.includes(`integer`)))return false;if(!list(schema.allOf).every(branch=>permitsScalar(spec,branch,value,depth+1)))return false;if(Array.isArray(schema.anyOf)\u0026\u0026!list(schema.anyOf).some(branch=>permitsScalar(spec,branch,value,depth+1)))return false;if(Array.isArray(schema.oneOf)){const matching=list(schema.oneOf).filter(branch=>permitsScalar(spec,branch,value,depth+1));if(matching.length!==1)return false}return true}function schemaOptions(spec,schema){return options(spec,schema,0)??[]}function explicitExample(spec,media){if(owns(media,`example`))return{found:true,value:media.example};for(const example of Object.values(record(media.examples))){const resolved=referenceObject(spec,example);if(owns(resolved,`value`))return{found:true,value:resolved.value}}return{found:false,value:undefined}}function generatedExample(spec,input,depth){if(depth>=6||input===false)return undefined;const schema=record(resolveSchema(spec,input));if(owns(schema,`example`))return schema.example;if(Array.isArray(schema.examples)\u0026\u0026schema.examples.length)return schema.examples[0];if(owns(schema,`const`))return schema.const;if(schema.$ref||schema[`x-resolution-error`])return undefined;if(!canGenerate(spec,schema,depth))return undefined;if(list(schema.enum).length)return schemaOptions(spec,schema)[0];if(schema.properties||schema.type===`object`)return objectExample(spec,schema,depth);if(schema.type===`array`||schema.items)return schema.minItems?undefined:[];const type=typeof schema.type===`string`?schema.type:list(schema.type).find(value=>value!==`null`);if(type===`string`)return schema.pattern||schema.format||schema.minLength?undefined:typeof schema.maxLength===`number`\u0026\u0026schema.maxLength\u003c6?``:`string`;if(type===`boolean`)return false;if(type===`null`)return null;if(type===`integer`||type===`number`)return numericExample(schema);const branches=list(schema.allOf);return branches.length===1?generatedExample(spec,branches[0],depth+1):undefined}function canGenerate(spec,input,depth){if(input===false||depth>=12)return false;const schema=record(resolveSchema(spec,input));if([`anyOf`,`oneOf`,`not`,`if`,`dependentRequired`,`dependentSchemas`,`contains`,`minProperties`,`unevaluatedProperties`].some(key=>owns(schema,key)))return false;return list(schema.allOf).every(branch=>{const item=record(branch);if(item.additionalProperties===false||!canGenerate(spec,branch,depth+1))return false;return[`minimum`,`maximum`,`minLength`,`maxLength`,`minItems`,`maxItems`,`pattern`,`format`,`multipleOf`].every(key=>!owns(item,key)||JSON.stringify(item[key])===JSON.stringify(schema[key]))})}function numericExample(schema){let value=typeof schema.minimum===`number`?Math.max(0,schema.minimum):0;if(schema.type===`integer`)value=Math.ceil(value);if(schema.exclusiveMinimum!==undefined||schema.exclusiveMaximum!==undefined||schema.multipleOf!==undefined)return undefined;if(typeof schema.maximum===`number`\u0026\u0026value>schema.maximum)return undefined;return value}function objectExample(spec,schema,depth){const entries=[];const known=schemaFields(spec,schema);if(list(schema.required).some(name=>!known.some(field=>field.name===name)))return undefined;for(const field of known.filter(item=>item.required)){const value=generatedExample(spec,field.schema,depth+1);if(value===undefined)return undefined;entries.push([field.name,value])}return Object.fromEntries(entries)}function contentModel(spec,container){const content=record(container.content);const keys=Object.keys(content);const contentType=keys.find(key=>key===`application/json`)??keys.find(key=>/\\+json(?:;|$)/i.test(key))??keys[0]??null;const media=contentType?record(content[contentType]):{};const schema=owns(media,`schema`)?resolveSchema(spec,media.schema):null;const explicit=explicitExample(spec,media);return{contentType,schema,example:explicit.found?explicit.value:schema===null?undefined:generatedExample(spec,schema,0)}}function parameterModels(spec,values){const parameters=new Map;for(const value of values){const item=referenceObject(spec,value);const schema=owns(item,`schema`)?resolveSchema(spec,item.schema):contentModel(spec,item).schema??{};const name=text(item.name);const location=text(item.in);parameters.set(JSON.stringify([name,location]),{name,location,required:location===`path`||item.required===true,schema,description:text(item.description??record(schema).description)})}return[...parameters.values()]}function serverUrl(servers){const server=record(list(servers)[0]);return text(server.url).replace(/\\{([^{}]+)\\}/g,(match,name)=>{const variable=record(record(server.variables)[name]);return owns(variable,`default`)?String(variable.default):match})}function requestBodyModel(spec,body){const content=contentModel(spec,body);return{required:body.required===true,description:text(body.description??record(content.schema).description),...content}}function createOperationModel(spec,path,method){const verb=method.toLowerCase();const item=referenceObject(spec,record(spec.paths)[path]);if(![`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`].includes(verb)||!owns(item,verb)){throw new Error(`Operation not found: ${method.toUpperCase()} ${path}`)}const operation=referenceObject(spec,item[verb]);const body=owns(operation,`requestBody`)?referenceObject(spec,operation.requestBody):null;return{title:text(operation.summary)||text(operation.operationId)||`${verb.toUpperCase()} ${path}`,description:text(operation.description),method:verb.toUpperCase(),path,server:serverUrl(operation.servers??item.servers??spec.servers),parameters:parameterModels(spec,[...list(item.parameters),...list(operation.parameters)]),requestBody:body?requestBodyModel(spec,body):null,responses:Object.entries(record(operation.responses)).map(([status,value])=>{const response=referenceObject(spec,value);return{status,description:text(response.description),...contentModel(spec,response)}}),security:list(operation.security??spec.security),securitySchemes:Object.fromEntries(Object.entries(record(record(spec.components).securitySchemes)).map(([name,value])=>[name,referenceObject(spec,value)]))}}return{createOperationModel,schemaFields,schemaType,schemaOptions,resolveSchema}};const ApiCode=({language,children})=>{const{CodeBlock}=_provideComponents()||{};if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsx(CodeBlock,{language,children})};const ApiRequest=({model,CodeBlock})=>{const origin=`https://orchestration.flashnet.xyz`;const[language,setLanguage]=useState(`curl`);const method=model.method.toUpperCase();const security=selectSecurity();const authFields=security===null?[]:Object.keys(security).map(authField);const parameters=(model.parameters||[]).filter(parameter=>[`path`,`query`,`header`].includes(parameter.location)\u0026\u0026!(parameter.location===`header`\u0026\u0026parameter.name.toLowerCase()===`authorization`)\u0026\u0026!authFields.some(field=>field.location===parameter.location\u0026\u0026(field.location===`header`?field.name.toLowerCase()===parameter.name.toLowerCase():field.name===parameter.name)));const example=codeExample();function initialBody(){const requestBody=model.requestBody;if(!requestBody)return``;const value=requestBody.example??requestBody.schema?.example;return value===undefined\u0026\u0026!requestBody.required?``:JSON.stringify(value??{},null,2)}function publishedServerSupported(){try{const server=new URL(model.server);return server.origin===origin\u0026\u0026!server.username\u0026\u0026!server.password}catch{return false}}function supportedSecurity(name){const scheme=model.securitySchemes?.[name];if(!scheme)return false;if([`oauth2`,`openIdConnect`].includes(scheme.type))return true;if(scheme.type===`http`)return[`bearer`,`basic`].includes(scheme.scheme?.toLowerCase());return scheme.type===`apiKey`\u0026\u0026[`header`,`query`].includes(scheme.in)\u0026\u0026Boolean(scheme.name)}function selectSecurity(){const requirements=model.security||[];if(!requirements.length||requirements.some(requirement=>!Object.keys(requirement).length))return{};return requirements.find(requirement=>{const names=Object.keys(requirement);if(!names.every(supportedSecurity))return false;const targets=names.map(name=>{const field=authField(name);return field.location+`:`+(field.location===`header`?field.name.toLowerCase():field.name)});return new Set(targets).size===targets.length})??null}function authField(key){const scheme=model.securitySchemes[key];const apiKey=scheme.type===`apiKey`;const basic=scheme.scheme?.toLowerCase()===`basic`;return{key,name:apiKey?scheme.name:`Authorization`,location:apiKey?scheme.in:`header`,prefix:apiKey?``:basic?`Basic `:`Bearer `,placeholder:basic?`BASE64_USERNAME_PASSWORD`:`YOUR_`+key.toUpperCase().replace(/[^A-Z0-9]/g,`_`)}}function parameterKey(parameter){return parameter.location+`:`+parameter.name}function placeholder(name){return`YOUR_`+name.toUpperCase().replace(/[^A-Z0-9]/g,`_`)}function requestUrl(inputs){if(!publishedServerSupported())throw new Error(`Unsupported published server.`);if(!/^\\/v\\d+(?:\\/|$)/.test(model.path)||/[?#\\\\]/.test(model.path))throw new Error(`Invalid API path.`);const segments=model.path.split(`/`).map(segment=>{const resolved=segment.replace(/\\{([^{}]+)\\}/g,(_,name)=>{const value=inputs[`path:`+name];if(!value?.trim())throw new Error(`Enter `+name+`.`);return value});if([`.`,`..`].includes(resolved))throw new Error(`Path values cannot be dot segments.`);return encodeURIComponent(resolved)});const url=new URL(origin);url.pathname=segments.join(`/`);for(const parameter of parameters){const value=inputs[parameterKey(parameter)];if(parameter.location===`query`\u0026\u0026value?.trim())url.searchParams.append(parameter.name,value)}return url}function shellQuote(value){return`'`+value.replace(/'/g,`'\"'\"'`)+`'`}function applyExampleSecurity(url,headers){if(security===null)throw new Error(`Unsupported example authentication.`);for(const field of authFields){if(field.location===`query`){url.searchParams.set(field.name,field.placeholder)}else{headers.set(field.name,field.prefix+field.placeholder)}}}function exampleRequest(){if(![`GET`,`POST`,`PUT`,`PATCH`,`DELETE`,`HEAD`,`OPTIONS`].includes(method)){throw new Error(`Unsupported HTTP method.`)}const inputs=Object.fromEntries(parameters.map(parameter=>[parameterKey(parameter),placeholder(parameter.name)]));for(const match of model.path.matchAll(/\\{([^{}]+)\\}/g))inputs[`path:`+match[1]]=placeholder(match[1]);const url=requestUrl(inputs);const headers=new Headers({Accept:`application/json`});for(const parameter of parameters){if(parameter.location===`header`)headers.set(parameter.name,placeholder(parameter.name))}applyExampleSecurity(url,headers);const payload=model.requestBody\u0026\u0026![`GET`,`HEAD`].includes(method)?initialBody()||`{}`:undefined;if(payload!==undefined)headers.set(`Content-Type`,model.requestBody.contentType||`application/json`);const query=Array.from(url.searchParams.entries());url.search=``;return{url:url.toString(),query,headers:Object.fromEntries(headers.entries()),body:payload}}function curlExample(request){const lines=[method===`GET`?`curl --get`:`curl --request `+shellQuote(method)];lines.push(` --url `+shellQuote(request.url));const queryOption=method===`GET`?`--data-urlencode`:`--url-query`;for(const[name,value]of request.query){lines.push(` `+queryOption+` `+shellQuote(encodeURIComponent(name)+`=`+value))}for(const[name,value]of Object.entries(request.headers))lines.push(` --header `+shellQuote(name+`: `+value));if(request.body!==undefined)lines.push(` --data-raw `+shellQuote(request.body));return lines.join(` \\\\\n`)}function javascriptExample(request){const lines=[`const url = new URL(`+JSON.stringify(request.url)+`);`];for(const[name,value]of request.query){lines.push(`url.searchParams.append(`+JSON.stringify(name)+`, `+JSON.stringify(value)+`);`)}const options={method,headers:request.headers,credentials:`omit`,redirect:`error`};lines.push(``,`const response = await fetch(url, `+JSON.stringify(options,null,2).slice(0,-2)+`,`);if(request.body!==undefined){lines.push(` body: [`);for(const line of request.body.split(`\n`))lines.push(` `+JSON.stringify(line)+`,`);lines.push(` ].join(\"\\\\n\"),`)}return[...lines,` signal: AbortSignal.timeout(30000)`,`});`,`console.log(response.status);`,`console.log(await response.text());`].join(`\n`)}function pythonExample(request){const lines=[`import requests`,``,`response = requests.request(`,` `+JSON.stringify(method)+`,`,` `+JSON.stringify(request.url)+`,`];if(request.query.length){lines.push(` params={`);for(const[name,value]of request.query)lines.push(` `+JSON.stringify(name)+`: `+JSON.stringify(value)+`,`);lines.push(` },`)}lines.push(` headers={`);for(const[name,value]of Object.entries(request.headers))lines.push(` `+JSON.stringify(name)+`: `+JSON.stringify(value)+`,`);lines.push(` },`);if(request.body!==undefined){lines.push(` data=(`);const bodyLines=request.body.split(`\n`);bodyLines.forEach((line,index)=>lines.push(` `+JSON.stringify(line+(index\u003cbodyLines.length-1?`\n`:``))));lines.push(` ),`)}return[...lines,` timeout=30,`,` allow_redirects=False,`,`)`,`print(response.status_code)`,`print(response.text)`].join(`\n`)}function codeExample(){try{const request=exampleRequest();if(language===`curl`)return curlExample(request);return language===`javascript`?javascriptExample(request):pythonExample(request)}catch(failure){return`Example unavailable: `+(failure instanceof Error?failure.message:`invalid endpoint model.`)}}return _jsxs(`div`,{className:`api-reference-request`,children:[_jsx(`div`,{className:`api-reference-code-toolbar`,children:_jsx(`div`,{className:`api-reference-language-tabs`,role:`group`,\"aria-label\":`Request language`,children:[`curl`,`javascript`,`python`].map(item=>_jsx(`button`,{className:`api-reference-language-tab`,type:`button`,\"aria-pressed\":language===item,onClick:()=>setLanguage(item),children:item===`javascript`?`JavaScript`:item===`python`?`Python`:`cURL`},item))})}),CodeBlock?_jsx(CodeBlock,{language:language===`curl`?`bash`:language,children:example}):_jsx(`pre`,{className:`api-reference-code`,tabIndex:0,children:_jsx(`code`,{className:`api-reference-code-`+language,children:example})})]})};const LiveApiPage=({path,method,helpers,RequestComponent,CodeBlock})=>{const _components={a:`a`,..._provideComponents()};const schemaDetails=({schema,spec,helpers,depth=0,placement=`all`})=>{const resolved=helpers.resolveSchema(spec,schema);const options=helpers.schemaOptions(spec,schema);const branches=resolved.oneOf||resolved.anyOf||resolved.allOf||[];const nested=resolved.items||resolved;const fields=helpers.schemaFields(spec,nested);const hasChildren=fields.length>0||branches.length>0\u0026\u0026options.length===0;if(placement===`nested`\u0026\u0026!hasChildren)return null;return _jsxs(_Fragment,{children:[placement!==`nested`\u0026\u0026options.length>0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure`,children:[_jsxs(`summary`,{children:[`Allowed values `,_jsx(`span`,{children:options.length})]}),_jsx(`div`,{className:`api-reference-values`,children:options.map((value,index)=>_jsx(`code`,{children:JSON.stringify(value)},index))})]}),placement!==`inline`\u0026\u0026depth\u003c8\u0026\u0026fields.length>0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-children`,children:[_jsxs(`summary`,{children:[resolved.items?`Item fields`:`Fields`,` `,_jsx(`span`,{children:fields.length})]}),schemaTable({fields,spec,helpers,depth:depth+1})]}),placement!==`inline`\u0026\u0026depth\u003c8\u0026\u0026branches.length>0\u0026\u0026options.length===0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-children`,children:[_jsxs(`summary`,{children:[resolved.oneOf?`One of`:resolved.anyOf?`Any of`:`All of`,` `,_jsxs(`span`,{children:[branches.length,` schemas`]})]}),branches.map((branch,index)=>_jsxs(`div`,{className:`api-reference-variant`,children:[_jsx(`code`,{children:helpers.schemaType(spec,branch)}),description({text:branch.description}),schemaDetails({schema:branch,spec,helpers,depth:depth+1})]},index))]}),placement!==`nested`\u0026\u0026constraints({schema:resolved}),placement!==`inline`\u0026\u0026depth>=8\u0026\u0026_jsx(`a`,{href:`https://orchestration.flashnet.xyz/openapi.json`,children:`View full schema`})]})};const description=({text})=>text?_jsx(`div`,{className:`api-reference-description`,children:text.split(/(`[^`]+`)/g).map((part,index)=>part.startsWith(\"`\")\u0026\u0026part.endsWith(\"`\")?_jsx(`code`,{children:part.slice(1,-1)},index):_jsx(`span`,{children:part},index))}):null;const constraints=({schema})=>{const labels={minimum:`Minimum`,maximum:`Maximum`,exclusiveMinimum:`Greater than`,exclusiveMaximum:`Less than`,minLength:`Minimum length`,maxLength:`Maximum length`,minItems:`Minimum items`,maxItems:`Maximum items`,pattern:`Pattern`,multipleOf:`Multiple of`,default:`Default`,const:`Value`};return Object.entries(labels).map(([key,label])=>schema[key]!==undefined?_jsxs(`div`,{className:`api-reference-constraint`,children:[label,`: `,_jsx(`code`,{children:JSON.stringify(schema[key])})]},key):null)};const schemaTable=({fields,spec,helpers,depth=0})=>_jsxs(`div`,{className:`api-reference-fields`,role:`table`,\"aria-label\":depth?`Nested fields`:`Schema fields`,children:[_jsxs(`div`,{className:`api-reference-field-head`,role:`row`,children:[_jsx(`span`,{role:`columnheader`,children:`Property`}),_jsx(`span`,{role:`columnheader`,children:`Type`}),_jsx(`span`,{role:`columnheader`,children:`Description`})]}),fields.map((field,index)=>{const children=schemaDetails({schema:field.schema,spec,helpers,depth,placement:`nested`});return _jsxs(`div`,{className:`api-reference-field-group`,role:`rowgroup`,children:[_jsxs(`div`,{className:`api-reference-field`,role:`row`,children:[_jsxs(`div`,{role:`cell`,children:[_jsx(`code`,{children:field.name}),field.location\u0026\u0026_jsx(`span`,{className:`api-reference-location`,children:field.location})]}),_jsxs(`div`,{role:`cell`,className:`api-reference-type`,children:[_jsx(`code`,{children:helpers.schemaType(spec,field.schema)}),field.required\u0026\u0026_jsx(`span`,{className:`api-reference-required`,children:`required`}),field.schema.deprecated\u0026\u0026_jsx(`span`,{children:`deprecated`})]}),_jsxs(`div`,{role:`cell`,children:[description({text:field.description||field.schema.description}),schemaDetails({schema:field.schema,spec,helpers,depth,placement:`inline`})]})]}),children\u0026\u0026_jsx(`div`,{role:`row`,className:`api-reference-child-row`,children:_jsx(`div`,{role:`cell`,\"aria-colspan\":3,children})})]},`${field.location||``}:${field.name}:${index}`)})]});const responseSection=({model,spec,helpers})=>{const response=model.responses.find(item=>item.status===selected)||model.responses[0];if(!response)return _jsx(`p`,{children:`No response schema is published for this operation.`});const fields=helpers.schemaFields(spec,response.schema||{});return _jsxs(_Fragment,{children:[_jsxs(`div`,{className:`api-reference-response-bar`,children:[_jsxs(`label`,{children:[`Status`,` `,_jsx(`select`,{value:response.status,onChange:event=>setSelected(event.target.value),children:model.responses.map(item=>_jsx(`option`,{value:item.status,children:item.status},item.status))})]}),_jsx(`code`,{children:response.contentType})]}),description({text:response.description}),fields.length>0?schemaTable({fields,spec,helpers}):schemaDetails({schema:response.schema||{},spec,helpers}),response.example!==undefined\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-response-example`,children:[_jsx(`summary`,{children:`JSON example`}),_jsx(CodeBlock,{language:`json`,children:JSON.stringify(response.example,null,2)})]})]})};const[state,setState]=useState({spec:null,error:``});const[attempt,setAttempt]=useState(0);const[selected,setSelected]=useState(``);const model=useMemo(()=>state.spec?helpers.createOperationModel(state.spec,path,method):null,[state.spec,path,method]);useEffect(()=>{const controller=new AbortController;let active=true;const timeout=setTimeout(()=>controller.abort(),15e3);setState({spec:null,error:``});fetch(`https://orchestration.flashnet.xyz/openapi.json`,{signal:controller.signal,credentials:`omit`}).then(response=>{if(!response.ok)throw new Error(`The API specification is unavailable.`);return response.json()}).then(spec=>{helpers.createOperationModel(spec,path,method);if(active)setState({spec,error:``})}).catch(error=>{console.error(`Could not render the official OpenAPI operation`,error);if(active)setState({spec:null,error:`Could not load this endpoint from the official API specification.`})}).finally(()=>clearTimeout(timeout));return()=>{active=false;clearTimeout(timeout);controller.abort()}},[path,method,attempt]);if(state.error)return _jsxs(`div`,{className:`api-reference`,role:`alert`,children:[_jsx(`p`,{children:state.error}),_jsx(`button`,{onClick:()=>setAttempt(attempt+1),children:`Retry`}),` `,_jsx(`a`,{href:`https://orchestration.flashnet.xyz/docs`,children:`Open official reference`})]});if(!state.spec)return _jsx(`div`,{className:`api-reference`,role:`status`,\"aria-live\":`polite`,children:`Loading endpoint...`});return _jsxs(`div`,{className:`api-reference api-reference-layout`,children:[_jsxs(`div`,{className:`api-reference-main`,children:[description({text:model.description}),model.security?.length>0\u0026\u0026!model.security.some(requirement=>Object.keys(requirement).length===0)\u0026\u0026_jsxs(`p`,{className:`api-reference-auth`,children:[_jsx(_components.a,{href:`/api/authentication`,children:`Authentication`}),` required by the published specification.`]}),_jsxs(`section`,{id:`parameters`,children:[_jsx(`h2`,{children:`Parameters`}),model.parameters.length>0?schemaTable({fields:model.parameters,spec:state.spec,helpers}):_jsx(`p`,{children:`No path, query, or header parameters.`}),model.requestBody\u0026\u0026_jsxs(_Fragment,{children:[_jsx(`h3`,{children:`Request body`}),description({text:model.requestBody.description}),schemaDetails({schema:model.requestBody.schema,spec:state.spec,helpers})]})]}),_jsxs(`section`,{id:`request`,children:[_jsx(`h2`,{children:`Request`}),_jsx(RequestComponent,{model,CodeBlock})]}),_jsxs(`section`,{id:`response`,children:[_jsx(`h2`,{children:`Response`}),responseSection({model,spec:state.spec,helpers})]}),_jsx(`p`,{className:`api-reference-source`,children:_jsx(`a`,{href:`https://orchestration.flashnet.xyz/openapi.json`,children:`Official OpenAPI specification`})})]}),_jsx(`aside`,{className:`api-reference-toc`,children:_jsxs(`nav`,{\"aria-label\":`On this page`,children:[_jsx(`span`,{children:`On this page`}),_jsx(`a`,{href:`#parameters`,children:`Parameters`}),_jsx(`a`,{href:`#request`,children:`Request`}),_jsx(`a`,{href:`#response`,children:`Response`})]})})]})};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(`div`,{className:`api-reference-page`,children:_jsx(_MdxComponentBoundary,{name:`LiveApiPage`,children:_jsx(LiveApiPage,{path:`/v1/orchestration/offramp`,method:`post`,helpers:createApiHelpers(),RequestComponent:ApiRequest,CodeBlock:ApiCode})})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{createApiHelpers,ApiCode,ApiRequest,LiveApiPage,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create offramp quote","sidebarTitle":"Create offramp quote","description":"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/offramp","href":"/api-reference/orchestration/create-offramp-quote"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[19,69,"jsx:_jsx}=arguments["],[155,31260,"null;const ApiCode=()=>null;const ApiRequest=()=>null;const LiveApiPage=()=>null"],[31627,31654,""]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create Lightning offramp quote","description":"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.","operationId":"postV1OrchestrationOfframp","security":["3d4a97ed-ca25-481c-935b-d8bbc3cf2b1b"],"tags":["Orchestration"],"x-group":"Orchestration","parameters":["3aaab2da-7996-48d7-97fa-5b290969ab6c"],"requestBody":"76cc067b-5206-49ad-a86d-ca99a60cffa0","responses":{"200":"ce53d87f-773f-476e-9801-11d855ab5734","400":"532d6eb3-0dba-457e-bb96-772907faf102","401":"ce2ef712-f35e-4f8d-9b79-a6aa4e1e29ad","403":"2348f765-dae3-439a-ba9a-bffe69d8ab7d","409":"a06762e0-4f65-4b1b-8725-0a318cd735f3","429":"01ada121-0dc2-4606-bb27-5a2b7cee8540","500":"079eff9e-c7a6-46e5-9525-e2ae8684dc63","503":"933f7f63-da5f-4a05-a6d5-9307b451b231"},"method":"post","type":"path","servers":["e7e15f1e-43d8-4a04-a08f-b8f090bb10d7"],"path":"/v1/orchestration/offramp","baseUrlOptions":["https://orchestration.flashnet.xyz"],"title":"Create Lightning offramp quote","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3aaab2da-7996-48d7-97fa-5b290969ab6c":{"schema":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"X-Idempotency-Key","in":"header"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Exact-in variable Lightning payout. Unknown fields are rejected.","required":["sourceChain","sourceAsset","amount","recipientAddress","refundAddress"],"properties":{"sourceChain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"sourceChain","typeLabel":"enum\u003cstring>"},"sourceAsset":{"oneOf":[{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","enum":["AAPL","AI","AMD","AMZN","BNB","BONER","BTC","CASHCAT","COIN","COST","DAI","DELTA","DJT","ETH","GLD","GME","GOOGL","GRAM","HIMS","HSUSD","HYPE","IF","LTC","META","MON","MSFT","MSTR","MU","NVDA","OUSD","PIPEDOG","PLTR","POL","PONS","PYUSD","PathUSD","QQQ","RDDT","SHX","SKHY","SLV","SNDK","SOL","SPCX","SPY","STONKBROKER","TENDIES","TRX","TSLA","TSM","UP","USDB","USDC","USDC.e","USDG","USDT","USDe","USD₮0","USO","WBNB","WBTC","WEN","XMR","XO","XPL","XRP","ZEC","cbBTC","tBTC"],"isRequired":true,"uniqueKey":"sourceAsset.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","enum":["TON"],"isRequired":true,"uniqueKey":"sourceAsset.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","isRequired":true,"uniqueKey":"sourceAsset.oneOf.2","typeLabel":"string"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$","isRequired":true,"uniqueKey":"sourceAsset.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"sourceAsset","typeLabel":"enum\u003cstring> · enum\u003cstring> · string · string"},"amount":{"type":"string","pattern":"^[0-9]+$","description":"Amount in smallest units of the source asset.","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"recipientAddress":{"type":"string","minLength":1,"description":"Cash App username (username or $username), or Lightning address (username@domain). Cash App usernames resolve to [email protected]. BOLT11 invoices and URLs are not accepted.","isRequired":true,"uniqueKey":"recipientAddress","typeLabel":"string"},"refundAddress":{"type":"string","minLength":1,"description":"Required refund address on the source chain, or the supplied refundChain.","isRequired":true,"uniqueKey":"refundAddress","typeLabel":"string"},"includeCalldata":{"type":"boolean","description":"Include transaction calldata to fund the order. Supported for EVM native and ERC-20 sources only; unsupported sources return calldata_unsupported_source. Defaults to false.","uniqueKey":"includeCalldata","typeLabel":"boolean"},"refundChain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"uniqueKey":"refundChain","typeLabel":"enum\u003cstring>"},"slippageBps":{"type":"integer","minimum":0,"maximum":1000,"description":"Slippage tolerance in basis points, subject to the route minimum.","uniqueKey":"slippageBps","typeLabel":"integer"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","minLength":1,"description":"Fee recipient address; sanctioned addresses are rejected.","isRequired":true,"uniqueKey":"appFees.items.[INDEX].recipient","typeLabel":"string"},"fee":{"type":"integer","minimum":1,"maximum":9999,"isRequired":true,"uniqueKey":"appFees.items.[INDEX].fee","typeLabel":"integer"}},"required":["recipient","fee"],"description":"Unknown top-level fields are ignored rather than rejected.","uniqueKey":"appFees.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":16,"description":"Inline app fees, requiring a server key or dashboard session.","uniqueKey":"appFees","typeLabel":"object[]"},"affiliateErrorMode":{"type":"string","enum":["legacy","specific"],"description":"Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode. Changing this field requires a new idempotency key.","uniqueKey":"affiliateErrorMode","typeLabel":"enum\u003cstring>"},"affiliateId":{"type":"string","description":"Registered affiliate ID for accrued fees, also accepted from client keys.","uniqueKey":"affiliateId","typeLabel":"string"},"affiliateIds":{"type":"array","items":{"oneOf":[{"type":"string","description":"Registered affiliate ID or { affiliateId, feeBps } override.","minLength":1,"uniqueKey":"affiliateIds.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"Registered affiliate ID or { affiliateId, feeBps } override.","required":["affiliateId","feeBps"],"properties":{"affiliateId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"affiliateIds.items.[INDEX].oneOf.1.affiliateId","typeLabel":"string"},"feeBps":{"type":"integer","minimum":1,"maximum":9999,"description":"Fee override for this quote only; the stored affiliate profile is unchanged.","isRequired":true,"uniqueKey":"affiliateIds.items.[INDEX].oneOf.1.feeBps","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"affiliateIds.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"affiliateIds.items.[INDEX]","typeLabel":"string | object"},"minItems":1,"maxItems":16,"description":"Registered affiliate IDs or fee overrides; mutually exclusive with appFees, with overrides requiring a server key or dashboard session.","uniqueKey":"affiliateIds","typeLabel":"(string | object)[]"},"tag":{"oneOf":[{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"Your own reporting label, such as an integrator ID. Every order this quote funds carries it, and the dashboard filters and groups by it. Self-reported: anyone holding the key that creates the quote chooses it.","uniqueKey":"tag.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"Your own reporting label, such as an integrator ID. Every order this quote funds carries it, and the dashboard filters and groups by it. Self-reported: anyone holding the key that creates the quote chooses it.","uniqueKey":"tag.oneOf.1","typeLabel":"null"}],"uniqueKey":"tag","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"sourceChain":"solana","sourceAsset":"USDC","amount":"50000000","recipientAddress":"$username","refundAddress":"YOUR_SOURCE_CHAIN_REFUND_ADDRESS"},"examples":{"Example":{"title":"Example","value":{"sourceChain":"solana","sourceAsset":"USDC","amount":"50000000","recipientAddress":"$username","refundAddress":"YOUR_SOURCE_CHAIN_REFUND_ADDRESS"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ce53d87f-773f-476e-9801-11d855ab5734":{"description":"Quote created","content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"type":"string","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string"},"depositAddress":{"type":"string","isRequired":true,"uniqueKey":"depositAddress","typeLabel":"string"},"amountIn":{"type":"string","isRequired":true,"uniqueKey":"amountIn","typeLabel":"string"},"estimatedOut":{"type":"string","isRequired":true,"uniqueKey":"estimatedOut","typeLabel":"string"},"feeAmount":{"type":"string","isRequired":true,"uniqueKey":"feeAmount","typeLabel":"string"},"totalFeeAmount":{"type":"string","isRequired":true,"uniqueKey":"totalFeeAmount","typeLabel":"string"},"feeAsset":{"type":"string","isRequired":true,"uniqueKey":"feeAsset","typeLabel":"string"},"feeBps":{"type":"integer","isRequired":true,"uniqueKey":"feeBps","typeLabel":"integer"},"route":{"type":"array","items":{"type":"string","uniqueKey":"route.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"route","typeLabel":"string[]"},"expiresAt":{"type":"string","isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string"},"sourcePaymentMode":{"type":"string","enum":["shielded"],"uniqueKey":"sourcePaymentMode","typeLabel":"enum\u003cstring>"},"priceValidUntil":{"type":"string","format":"date-time","description":"Two-minute indicative pricing deadline. Execution reprices after verified receipt and must preserve lockedMinAmountOut.","uniqueKey":"priceValidUntil","typeLabel":"string\u003cdate-time>"},"execution":{"type":"object","properties":{"policy":{"type":"object","properties":{"routing":{"type":"string","enum":["best_return"],"uniqueKey":"execution.policy.routing","typeLabel":"enum\u003cstring>"},"allowedProviders":{"type":"array","items":{"type":"string","enum":["near-intents","hyperunit"],"uniqueKey":"execution.policy.allowedProviders.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"maxItems":2,"uniqueKey":"execution.policy.allowedProviders","typeLabel":"enum\u003cstring>[]"},"maxEstimatedSettlementSeconds":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"execution.policy.maxEstimatedSettlementSeconds","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"execution.policy","typeLabel":"object"},"quotedProvider":{"type":"string","enum":["near-intents","hyperunit"],"isRequired":true,"uniqueKey":"execution.quotedProvider","typeLabel":"enum\u003cstring>"},"eligibleProviders":{"type":"array","items":{"type":"string","enum":["near-intents","hyperunit"],"uniqueKey":"execution.eligibleProviders.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"maxItems":2,"isRequired":true,"uniqueKey":"execution.eligibleProviders","typeLabel":"enum\u003cstring>[]"},"estimatedSettlementSeconds":{"type":"integer","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"execution.estimatedSettlementSeconds","typeLabel":"integer"},"providerLocked":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"execution.providerLocked","typeLabel":"enum\u003cboolean>"}},"required":["policy","quotedProvider","eligibleProviders","estimatedSettlementSeconds","providerLocked"],"additionalProperties":false,"uniqueKey":"execution","typeLabel":"object"},"funding":{"type":"object","properties":{"senderVisibility":{"type":"string","enum":["shielded"],"description":"Receipt proof does not identify the sender or originating wallet software.","isRequired":true,"uniqueKey":"funding.senderVisibility","typeLabel":"enum\u003cstring>"},"sourceHistoryScreening":{"type":"string","enum":["unavailable"],"description":"Hidden source history is unavailable. Screening of visible counterparties is separate from receipt verification.","isRequired":true,"uniqueKey":"funding.sourceHistoryScreening","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["zcash_shielded"],"isRequired":true,"uniqueKey":"funding.type","typeLabel":"enum\u003cstring>"},"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"funding.version","typeLabel":"enum\u003cnumber>"},"network":{"type":"string","enum":["mainnet"],"isRequired":true,"uniqueKey":"funding.network","typeLabel":"enum\u003cstring>"},"receiverPool":{"type":"string","enum":["orchard"],"isRequired":true,"uniqueKey":"funding.receiverPool","typeLabel":"enum\u003cstring>"},"address":{"type":"string","isRequired":true,"uniqueKey":"funding.address","typeLabel":"string"},"amount":{"type":"string","isRequired":true,"uniqueKey":"funding.amount","typeLabel":"string"},"payBy":{"type":"string","format":"date-time","description":"30-minute funding deadline, also returned as expiresAt. This does not extend price validity.","isRequired":true,"uniqueKey":"funding.payBy","typeLabel":"string\u003cdate-time>"},"requiredConfirmations":{"type":"integer","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"funding.requiredConfirmations","typeLabel":"integer"},"refundAddress":{"type":"string","isRequired":true,"uniqueKey":"funding.refundAddress","typeLabel":"string"},"refundFeePolicy":{"type":"string","enum":["actual_network_cost_up_to_per_transaction_cap"],"isRequired":true,"uniqueKey":"funding.refundFeePolicy","typeLabel":"enum\u003cstring>"},"maxSourceFeeZats":{"type":"string","isRequired":true,"uniqueKey":"funding.maxSourceFeeZats","typeLabel":"string"},"maxRefundFeeZats":{"type":"string","description":"Maximum network cost in zatoshis for each refund transaction; multiple refund transactions may each incur this cap.","isRequired":true,"uniqueKey":"funding.maxRefundFeeZats","typeLabel":"string"}},"required":["senderVisibility","sourceHistoryScreening","type","version","network","receiverPool","address","amount","payBy","requiredConfirmations","refundAddress","refundFeePolicy","maxSourceFeeZats","maxRefundFeeZats"],"additionalProperties":false,"uniqueKey":"funding","typeLabel":"object"},"reviewedAssets":{"type":"array","items":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"reviewedAssets.items.[INDEX].mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"reviewedAssets.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":32,"description":"Exact immutable reviewed token identities frozen by the native quote. Omitted for legacy or invalid snapshots; caller metadata cannot set these pins.","uniqueKey":"reviewedAssets","typeLabel":"object[]"},"transaction":{"type":"object","properties":{"chainId":{"type":"integer","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"transaction.chainId","typeLabel":"integer"},"to":{"type":"string","description":"Token contract for ERC-20; deposit address for native input.","isRequired":true,"uniqueKey":"transaction.to","typeLabel":"string"},"data":{"type":"string","description":"ERC-20 transfer(depositAddress, amountIn) calldata, or 0x for native input.","isRequired":true,"uniqueKey":"transaction.data","typeLabel":"string"},"value":{"type":"string","description":"Native value in smallest units: amountIn for native input, otherwise 0.","isRequired":true,"uniqueKey":"transaction.value","typeLabel":"string"}},"required":["chainId","to","data","value"],"description":"Unsigned deposit transfer, returned only with includeCalldata=true on supported EVM sources. No approval is needed. This funds the deposit; it does not execute the swap.","uniqueKey":"transaction","typeLabel":"object"},"depositMemo":{"type":"string","description":"Memo or tag required with the deposit when present.","uniqueKey":"depositMemo","typeLabel":"string"},"lightningReceiveRequestId":{"type":"string","uniqueKey":"lightningReceiveRequestId","typeLabel":"string"},"flexibleAmount":{"type":"boolean","enum":[true],"description":"The invoice is amountless. amountIn and estimatedOut price the indicative amount and are rescaled to the amount actually paid.","uniqueKey":"flexibleAmount","typeLabel":"enum\u003cboolean>"},"amountMode":{"type":"string","enum":["exact_in","exact_out"],"uniqueKey":"amountMode","typeLabel":"enum\u003cstring>"},"targetAmountOut":{"type":"string","uniqueKey":"targetAmountOut","typeLabel":"string"},"requiredAmountIn":{"type":"string","uniqueKey":"requiredAmountIn","typeLabel":"string"},"maxAcceptedAmountIn":{"type":"string","uniqueKey":"maxAcceptedAmountIn","typeLabel":"string"},"inputBufferBps":{"type":"integer","uniqueKey":"inputBufferBps","typeLabel":"integer"},"deliveryMode":{"type":"string","enum":["fixed"],"uniqueKey":"deliveryMode","typeLabel":"enum\u003cstring>"},"priceLockMode":{"type":"string","enum":["strict_requote","approval_required"],"description":"Action required when the locked price can no longer be honored.","uniqueKey":"priceLockMode","typeLabel":"enum\u003cstring>"},"lockedMinAmountOut":{"type":"string","description":"Minimum locked destination amount in smallest units.","uniqueKey":"lockedMinAmountOut","typeLabel":"string"},"roundingFeeAmount":{"type":"string","uniqueKey":"roundingFeeAmount","typeLabel":"string"},"networkCostAmount":{"type":"string","description":"Quoted network cost in smallest units of networkCostAsset.","uniqueKey":"networkCostAmount","typeLabel":"string"},"networkCostAsset":{"type":"string","description":"Asset used to pay the quoted network cost.","uniqueKey":"networkCostAsset","typeLabel":"string"},"networkCostRequired":{"type":"boolean","description":"Whether the quoted network cost must be paid.","uniqueKey":"networkCostRequired","typeLabel":"boolean"},"networkCosts":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset","assumption"],"properties":{"type":{"type":"string","enum":["solana_associated_token_account"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["SOL"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.amount","typeLabel":"string"},"asset":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.asset","typeLabel":"string"},"assumption":{"type":"string","enum":["assumed_missing","observed_missing","observed_exists"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.assumption","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset"],"properties":{"type":{"type":"string","enum":["solana_mayan_order_accounts"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["SOL"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.amount","typeLabel":"string"},"asset":{"type":"string","enum":["USDC"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.asset","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset"],"properties":{"type":{"type":"string","enum":["tron_execution"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["TRX"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.amount","typeLabel":"string"},"asset":{"type":"string","enum":["TRX"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.asset","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"networkCosts.items.[INDEX]","typeLabel":"object"},"description":"Itemized network costs and quote-time assumptions.","uniqueKey":"networkCosts","typeLabel":"object[]"},"sweepFeeAmount":{"type":"string","uniqueKey":"sweepFeeAmount","typeLabel":"string"},"appFeeAmount":{"type":"string","uniqueKey":"appFeeAmount","typeLabel":"string"},"appFeePlatformCutAmount":{"type":"string","uniqueKey":"appFeePlatformCutAmount","typeLabel":"string"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"appFees.items.[INDEX].recipient","typeLabel":"string"},"feeBps":{"type":"integer","minimum":1,"maximum":9999,"isRequired":true,"uniqueKey":"appFees.items.[INDEX].feeBps","typeLabel":"integer"},"amount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].amount","typeLabel":"string"},"platformCutAmount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].platformCutAmount","typeLabel":"string"},"recipientAmount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].recipientAmount","typeLabel":"string"},"affiliateId":{"type":"string","uniqueKey":"appFees.items.[INDEX].affiliateId","typeLabel":"string"}},"required":["recipient","feeBps","amount","platformCutAmount","recipientAmount"],"additionalProperties":false,"uniqueKey":"appFees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appFees","typeLabel":"object[]"},"feeAssetDetails":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"feeAssetDetails.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"feeAssetDetails.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"feeAssetDetails.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"feeAssetDetails.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"feeAssetDetails.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"feeAssetDetails.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"uniqueKey":"feeAssetDetails","typeLabel":"object"},"feeAmountUsd":{"type":"string","uniqueKey":"feeAmountUsd","typeLabel":"string"},"totalFeeAmountUsd":{"type":"string","uniqueKey":"totalFeeAmountUsd","typeLabel":"string"},"minAmountOut":{"type":"string","description":"Unlisted destinations only: the least amount of the token, in its smallest units, the recipient receives when the swap succeeds. Enforced on chain at the recipient.","uniqueKey":"minAmountOut","typeLabel":"string"},"fallback":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"fallback.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Hub asset delivered instead of the token.","isRequired":true,"uniqueKey":"fallback.asset","typeLabel":"string"},"minAmount":{"type":"string","description":"Least amount of the hub the recipient receives, in its smallest units.","isRequired":true,"uniqueKey":"fallback.minAmount","typeLabel":"string"}},"required":["chain","asset","minAmount"],"additionalProperties":false,"description":"Unlisted destinations only: what the recipient receives if the swap into the token cannot deliver minAmountOut.","uniqueKey":"fallback","typeLabel":"object"},"source":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"source.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"source.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"source.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"source.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"source.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"source.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"source.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"source.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"source.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"source.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"source.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"source.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"source.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"source.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"source.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"source.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"uniqueKey":"source","typeLabel":"object"},"destination":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"destination.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"destination.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"destination.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"destination.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"destination.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"destination.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"destination.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"destination.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"destination.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"destination.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"destination.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"destination.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"uniqueKey":"destination","typeLabel":"object"},"tag":{"oneOf":[{"type":"string","description":"The request's tag; null when none was sent.","uniqueKey":"tag.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request's tag; null when none was sent.","uniqueKey":"tag.oneOf.1","typeLabel":"null"}],"uniqueKey":"tag","typeLabel":"string | null"},"readToken":{"type":"string","description":"Client-key read token for this quote and its order, including private ZeroConf outcomes.","uniqueKey":"readToken","typeLabel":"string"}},"required":["quoteId","depositAddress","amountIn","estimatedOut","feeAmount","totalFeeAmount","feeAsset","feeBps","route","expiresAt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","value":{"amountMode":"exact_in","estimatedOut":"49500","feeAmount":"250000","roundingFeeAmount":"0","totalFeeAmount":"250000","feeBps":50,"feeAsset":"USDC","route":["USDC","USDB","BTC"],"quoteId":"q_7e450ab4-935b-4f8d-a6c4-4987a3cd2831","depositAddress":"7EcDhSYGxXyscszYEp35KHN8vvw3svAuLKTzXwCFLtV","amountIn":"50000000","expiresAt":"2026-09-12T12:02:00.000Z","source":{"chain":"solana","asset":"USDC","assetDisplayName":"USDC","assetDisplaySymbol":"USDC","contractAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","decimals":6,"chainId":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","chainDisplayName":"Solana","chainIcon":"/chain-solana.svg"},"destination":{"chain":"lightning","asset":"BTC","assetDisplayName":"Bitcoin","assetDisplaySymbol":"BTC","contractAddress":null,"decimals":8,"chainId":null,"chainDisplayName":"Lightning","chainIcon":"/chain-lightning.svg"}}}},"exampleType":"examples"}},"exampleType":"examples"},"532d6eb3-0dba-457e-bb96-772907faf102":{"description":"Invalid request or unsupported route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ce2ef712-f35e-4f8d-9b79-a6aa4e1e29ad":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2348f765-dae3-439a-ba9a-bffe69d8ab7d":{"description":"Forbidden, OFAC or enforced Hermod hit (`sanctioned_address`), or screening block (`screening_blocked`). Quote screening rejections before durable preparation may be retried with the same idempotency key and body after policy changes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a06762e0-4f65-4b1b-8725-0a318cd735f3":{"description":"Idempotency conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"01ada121-0dc2-4606-bb27-5a2b7cee8540":{"description":"Rate limited (`rate_limited`); see the [rate-limits guide](/api/rate-limits). Retry after Retry-After seconds when present (per-key limiter only), otherwise at X-RateLimit-Reset, an absolute epoch timestamp in milliseconds; both limiters also return X-RateLimit-Limit and X-RateLimit-Remaining.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"079eff9e-c7a6-46e5-9525-e2ae8684dc63":{"description":"Internal error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"933f7f63-da5f-4a05-a6d5-9307b451b231":{"description":"Screening unavailable (`screening_unavailable`) for unhealthy screening controls, enforced invalid subjects or missing address evidence, or missing/unreadable frozen quote terms on replay; cached funding instructions are withheld. Hermod service failures and unverified chain coverage log and continue. A durable quote preparation in progress returns `quote_preparation_pending` and retains its idempotency result.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3d4a97ed-ca25-481c-935b-d8bbc3cf2b1b":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Partner API key in the form `Authorization: Bearer fn_...`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"e7e15f1e-43d8-4a04-a08f-b8f090bb10d7":{"url":"https://orchestration.flashnet.xyz"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Partner API key in the form `Authorization: Bearer fn_...`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Partner API key in the form `Authorization: Bearer fn_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://orchestration.flashnet.xyz/openapi.json"},"subdomain":"flashnet-9a0adcc4","siteName":"Flashnet","title":"Create offramp quote - Flashnet","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-11T01:11:07.678Z","originalFileLocation":"api-reference/orchestration/create-offramp-quote.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flashnet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create offramp quote - Flashnet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flashnet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flashnet-9a0adcc4.mintlify.app/_mintlify/api/og/v2?division=Orchestration\u0026amp;title=Create+offramp+quote\u0026amp;description=Create+an+exact-in%2C+variable+quote+to+a+Cash+App+username+or+Lightning+address.+Returns+the+normal+quote+response+and+deposit+instructions%3B+paying+creates+the+o\u0026amp;theme=9d43cf28474df4091f62278d\u0026amp;signature=8d1dda6041b862c782ce62c95cc36357849323165e833000616ebd26ad0271b7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create offramp quote - Flashnet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flashnet-9a0adcc4.mintlify.app/_mintlify/api/og/v2?division=Orchestration\u0026amp;title=Create+offramp+quote\u0026amp;description=Create+an+exact-in%2C+variable+quote+to+a+Cash+App+username+or+Lightning+address.+Returns+the+normal+quote+response+and+deposit+instructions%3B+paying+creates+the+o\u0026amp;theme=9d43cf28474df4091f62278d\u0026amp;signature=8d1dda6041b862c782ce62c95cc36357849323165e833000616ebd26ad0271b7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flashnet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#161514\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orchestration/create-offramp-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flashnet.xyz/#organization\",\"name\":\"Flashnet\",\"url\":\"https://docs.flashnet.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=d4fecbaa9d67a76ffb1251ccec3ecbfd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flashnet.xyz#website\",\"name\":\"Flashnet\",\"url\":\"https://docs.flashnet.xyz\",\"publisher\":{\"@id\":\"https://docs.flashnet.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote#webpage\",\"url\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote\",\"name\":\"Create offramp quote\",\"description\":\"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\",\"dateModified\":\"2026-10-11T01:11:07.678Z\",\"isPartOf\":{\"@id\":\"https://docs.flashnet.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/list-routes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orchestration\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/list-routes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create offramp quote\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote#apireference\",\"headline\":\"Create offramp quote\",\"name\":\"Create offramp quote\",\"description\":\"Create an exact-in, variable quote to a Cash App username or Lightning address. Returns the normal quote response and deposit instructions; paying creates the order. The recipient is resolved at delivery, so an unavailable account or an amount outside its limits can fail after funding. Completion confirms Lightning delivery. Cash App USD conversion depends on the recipient setting and is not guaranteed. Successful idempotency replays recheck the frozen quote recipient, refund and fee addresses against the current OFAC list without overwriting the successful quote or creating a replacement.\",\"url\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/create-offramp-quote#webpage\"},\"dateModified\":\"2026-10-11T01:11:07.678Z\",\"publisher\":{\"@id\":\"https://docs.flashnet.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flashnet.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flashnet\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Flashnet","nav":{"global":null,"tabs":[{"tab":"Orchestra","pages":[{"title":"Orchestra","href":""}]},{"tab":"API Reference","groups":[{"group":"Get started","pages":[{"title":"API overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/book-open.svg","href":"/api/overview"},{"title":"Authentication","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/key.svg","href":"/api/authentication"},{"title":"Errors","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/triangle-alert.svg","href":"/api/errors"},{"title":"Rate limits","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/hourglass.svg","href":"/api/rate-limits"}]},{"group":"Endpoints","pages":[{"group":"Orchestration","expanded":true,"pages":[{"title":"List routes","sidebarTitle":"List routes","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v2/orchestration/routes","href":"/api-reference/orchestration/list-routes"},{"title":"Get route limits","sidebarTitle":"Get route limits","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/limits","href":"/api-reference/orchestration/get-route-limits"},{"title":"Resolve a token address","sidebarTitle":"Resolve a token address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/assets/resolve","href":"/api-reference/orchestration/resolve-a-token-address"},{"title":"Estimate a swap","sidebarTitle":"Estimate a swap","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/estimate","href":"/api-reference/orchestration/estimate-a-swap"},{"title":"Create quote","sidebarTitle":"Create quote","description":"Firm price for 2 minutes plus a deposit address. Paying the address creates the order. Fresh quotes and successful idempotency replays screen the effective recipient, refund and fee addresses with Hermod; replays use frozen quote terms. Hermod starts in log-only mode and rejects hits with the existing sanctioned_address response only when enforcement is enabled. OFAC screening remains independently enforced. A screening rejection does not overwrite the successful quote or start a replacement quote. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/quote","href":"/api-reference/orchestration/create-quote"},{"title":"Create offramp quote","sidebarTitle":"Create offramp quote","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/offramp","href":"/api-reference/orchestration/create-offramp-quote"},{"title":"Submit deposit proof","sidebarTitle":"Submit deposit proof","description":"Attach a deposit transaction to a quote when automatic detection missed it. Returns the existing order if one exists. Hermod screens newly created orders and verified deposit senders; in enforcement mode a hit, invalid subject or missing address evidence holds the admitted order with awaiting_approval status for operator review. Hermod service failures and unverified chain coverage log and continue. Log-only mode records the result without a Hermod hold. A screening hold never initiates a refund.","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/submit","href":"/api-reference/orchestration/submit-deposit-proof"},{"title":"Create onramp order","sidebarTitle":"Create onramp order","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/onramp","href":"/api-reference/orchestration/create-onramp-order"},{"title":"Get quote and order","sidebarTitle":"Get quote and order","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/order","href":"/api-reference/orchestration/get-quote-and-order"},{"title":"Get order status","sidebarTitle":"Get order status","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/status","href":"/api-reference/orchestration/get-order-status"},{"title":"List order history","sidebarTitle":"List order history","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/history","href":"/api-reference/orchestration/list-order-history"},{"title":"Accept ZeroConf offer","sidebarTitle":"Accept ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/zeroconf/accept","href":"/api-reference/orchestration/accept-zeroconf-offer"},{"title":"Decline ZeroConf offer","sidebarTitle":"Decline ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/zeroconf/decline","href":"/api-reference/orchestration/decline-zeroconf-offer"}]},{"group":"Standing deposit addresses","pages":[{"title":"Register standing address","sidebarTitle":"Register standing address","openapi":"https://orchestration.flashnet.xyz/openapi.json PUT /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/register-standing-address"},{"title":"Get standing address","sidebarTitle":"Get standing address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/get-standing-address"},{"title":"Pause or resume conversion","sidebarTitle":"Pause or resume conversion","openapi":"https://orchestration.flashnet.xyz/openapi.json PATCH /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/pause-or-resume-conversion"},{"title":"List deposits","sidebarTitle":"List deposits","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/standing-deposit-addresses/{ref}/deposits","href":"/api-reference/standing-deposit-addresses/list-deposits"},{"title":"Request deposit refund","sidebarTitle":"Request deposit refund","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/resolve","href":"/api-reference/standing-deposit-addresses/request-deposit-refund"},{"title":"Accept deposit ZeroConf offer","sidebarTitle":"Accept deposit ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/deposits/{depositId}/zeroconf/accept","href":"/api-reference/standing-deposit-addresses/accept-deposit-zeroconf-offer"},{"title":"Decline deposit ZeroConf offer","sidebarTitle":"Decline deposit ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/deposits/{depositId}/zeroconf/decline","href":"/api-reference/standing-deposit-addresses/decline-deposit-zeroconf-offer"}]},{"group":"Status delivery","pages":[{"title":"Webhook events","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/bell.svg","href":"/api/webhook-events"},{"title":"SSE","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/radio.svg","href":"/api/sse"},{"title":"Register webhook","sidebarTitle":"Register webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/webhooks","href":"/api-reference/webhooks/register-webhook"},{"title":"List webhooks","sidebarTitle":"List webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Delete webhook","sidebarTitle":"Delete webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Register recovery webhook","sidebarTitle":"Register recovery webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/webhooks/recovery","href":"/api-reference/webhooks/register-recovery-webhook"},{"title":"List recovery webhooks","sidebarTitle":"List recovery webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/webhooks/recovery","href":"/api-reference/webhooks/list-recovery-webhooks"},{"title":"Delete recovery webhook","sidebarTitle":"Delete recovery webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/webhooks/recovery/{id}","href":"/api-reference/webhooks/delete-recovery-webhook"}]},{"group":"Pay links","pages":[{"title":"Pay links API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/qr-code.svg","href":"/api/pay-links"}]},{"group":"Affiliates","pages":[{"title":"Upsert affiliate","sidebarTitle":"Upsert affiliate","openapi":"https://orchestration.flashnet.xyz/openapi.json PUT /v1/affiliates/{affiliateId}","href":"/api-reference/affiliates/upsert-affiliate"},{"title":"List affiliates","sidebarTitle":"List affiliates","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates","href":"/api-reference/affiliates/list-affiliates"},{"title":"Disable affiliate","sidebarTitle":"Disable affiliate","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/affiliates/{affiliateId}","href":"/api-reference/affiliates/disable-affiliate"},{"title":"Claim affiliate balance","sidebarTitle":"Claim affiliate balance","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/affiliates/{affiliateId}/claim","href":"/api-reference/affiliates/claim-affiliate-balance"},{"title":"List affiliate claims","sidebarTitle":"List affiliate claims","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates/{affiliateId}/claims","href":"/api-reference/affiliates/list-affiliate-claims"},{"title":"Get affiliate claim","sidebarTitle":"Get affiliate claim","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates/{affiliateId}/claims/{id}","href":"/api-reference/affiliates/get-affiliate-claim"}]},{"group":"Legacy","pages":[{"title":"Create accumulation address","sidebarTitle":"Create accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses","href":"/api-reference/accumulation-addresses/create-accumulation-address"},{"title":"List accumulation addresses","sidebarTitle":"List accumulation addresses","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/accumulation-addresses","href":"/api-reference/accumulation-addresses/list-accumulation-addresses"},{"title":"Get accumulation address","sidebarTitle":"Get accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/accumulation-addresses/{id}","href":"/api-reference/accumulation-addresses/get-accumulation-address"},{"title":"Delete accumulation address","sidebarTitle":"Delete accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/accumulation-addresses/{id}","href":"/api-reference/accumulation-addresses/delete-accumulation-address"},{"title":"Reindex accumulation address","sidebarTitle":"Reindex accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses/{idOrAddress}/reindex","href":"/api-reference/accumulation-addresses/reindex-accumulation-address"},{"title":"Sync accumulation webhooks","sidebarTitle":"Sync accumulation webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses/sync","href":"/api-reference/accumulation-addresses/sync-accumulation-webhooks"},{"title":"Create liquidation address","sidebarTitle":"Create liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/liquidation-addresses","href":"/api-reference/liquidations/create-liquidation-address"},{"title":"List liquidation addresses","sidebarTitle":"List liquidation addresses","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses","href":"/api-reference/liquidations/list-liquidation-addresses"},{"title":"List liquidation orders","sidebarTitle":"List liquidation orders","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses/orders","href":"/api-reference/liquidations/list-liquidation-orders"},{"title":"Get liquidation address","sidebarTitle":"Get liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses/{id}","href":"/api-reference/liquidations/get-liquidation-address"},{"title":"Delete liquidation address","sidebarTitle":"Delete liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/liquidation-addresses/{id}","href":"/api-reference/liquidations/delete-liquidation-address"}]}]}]},{"tab":"USDB","pages":[{"title":"USDB","href":"/usdb/overview"}]}]},"basePath":"","title":"Create offramp quote - Flashnet","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-m07pfKpT.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}