{
"error": "ConcurrentModification",
"code": 10232,
"msg": "pair changed since it was inspected; re-read its status and retry with the current version",
"cause": "<string>"
}
{
"error": "AccountHolderUnsupported",
"code": 10022,
"msg": "destination.details.accountHolder must be customer",
"cause": "<string>"
}
Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.
{
"error": "ConcurrentModification",
"code": 10232,
"msg": "pair changed since it was inspected; re-read its status and retry with the current version",
"cause": "<string>"
}
{
"error": "AccountHolderUnsupported",
"code": 10022,
"msg": "destination.details.accountHolder must be customer",
"cause": "<string>"
}
Per-side breakdown of fees deducted in-line from the transaction. End-of-month billable fees will be reported separately in the future (planned feesInvoice sibling). Denominated in that side's asset.
On-chain address. For an EVM network the address must be all-lowercase, all-uppercase, or a valid EIP-55 checksummed form; an inconsistent mixed-case address is rejected as a likely casing typo, and the zero address is rejected. Solana/SUI are validated per their own network rules.
Per-side breakdown of fees deducted in-line from the transaction. End-of-month billable fees will be reported separately in the future (planned feesInvoice sibling). Denominated in that side's asset.
The request has succeeded and a new resource has been created as a result.
A code-based cash deposit. The customer takes the issued code to a retail location and deposits cash, which OMS converts to crypto and delivers to the destination. Amounts start as estimates and are finalized once the cash is deposited.
The cash amount, what arrives in the wallet, the rate and the fees. pricing.source.amount is the indicated amount before the cash is paid, then the amount authorised at the register once the cash is paid.
Fee kind. OPEN — clients must tolerate an unrecognised type. Known values today: "developer", "oms", "gas", "retailer" (a cash provider's retail fee, on CashIn.providerFee), "exchange" (the exchange fee the crypto purchase realized, on the linked transaction once it completes).
On the source, the gross amount the customer pays; on the destination, the amount that arrives. A decimal string at the asset's precision. Always set on the source; set on the destination once priced.
On the source, the gross amount the customer pays; on the destination, the amount that arrives. A decimal string at the asset's precision. Always set on the source; set on the destination once priced.
Mid-market rate from the source asset to the destination asset, set together with the destination amount. Identity: (source.amount − Σ source fees) × exchangeRate = destination.amount + Σ destination fees.
Expiry of the cashInCode — the single expiry field for a cash-in. Refreshing the cash-in issues a new cashInCode but does not extend this expiry. Once it has passed, the cash-in can no longer be refreshed.
The cash provider's retail fee, paid at the register on top of the cash amount and not part of pricing. Absent when the provider charges none, or when its fee could not be recorded; the raw template response keeps the original value.
Fee kind. OPEN — clients must tolerate an unrecognised type. Known values today: "developer", "oms", "gas", "retailer" (a cash provider's retail fee, on CashIn.providerFee), "exchange" (the exchange fee the crypto purchase realized, on the linked transaction once it completes).
Leg 2 done: when the crypto purchase was confirmed.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Polygon Developer Docs","colors":{"primary":"#670DE5","light":"#9551F5","dark":"#500AB2"},"logo":{"light":"https://mintcdn.com/polygon-labs/ll1LL3IdpC3YxXZu/logo/light.svg?fit=max\u0026auto=format\u0026n=ll1LL3IdpC3YxXZu\u0026q=85\u0026s=d54ddb30492807a0eadf38093c075f2f","dark":"https://mintcdn.com/polygon-labs/ll1LL3IdpC3YxXZu/logo/dark.svg?fit=max\u0026auto=format\u0026n=ll1LL3IdpC3YxXZu\u0026q=85\u0026s=3b2b67f82ff1720328da11b176a86499"},"favicon":"https://mintcdn.com/polygon-labs/Xy_MJE0q00vmTroE/favicon.svg?fit=max\u0026auto=format\u0026n=Xy_MJE0q00vmTroE\u0026q=85\u0026s=3c26f9a9ab4a7a50ac3da5c9ad26c954","api":{"openapi":"api-reference/openapi.yaml","params":{"expanded":"all"},"playground":{"display":"interactive"},"mdx":{"server":["https://sandbox-api.polygon.technology/v0.13","https://api.polygon.technology/v0.13"]}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"/resources/build-with-ai","label":"Build with AI"},{"href":"https://polygon.technology/get-access?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=oms_access","label":"Request OMS Access"}]},"footer":{"socials":{"x":"https://x.com/0xPolygon","github":"https://github.com/0xPolygon","linkedin":"https://www.linkedin.com/company/polygonlabs","discord":"https://discord.com/invite/polygon-support-635865020172861441"},"links":[{"items":[{"label":"Support","href":"https://support.polygon.technology/support/home"}]}]},"fonts":{"family":"Fustat"},"integrations":{"ga4":{"measurementId":"G-RJ6JC0EEY5"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polygon-labs","hasAudioNarration":false,"actualSubdomain":"polygon-labs","customDomains":["docs.polygon.technology"],"gitSource":{"type":"github","owner":"0xpolygon","repo":"new-polygon-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"contextualFeedback":{"allowEmail":true},"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5ebd99b695fda38d499f5","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Polygon Chain","count":385},{"language":"default","tag":"Wallets","count":174},{"language":"default","tag":"Developer Tools","count":94},{"language":"default","tag":"API Reference","count":85},{"language":"default","tag":"Agglayer","count":73},{"language":"default","tag":"Platform","count":70},{"language":"default","tag":"SDK","count":62},{"language":"default","tag":"Non-custodial","count":60},{"language":"default","tag":"Matic.js","count":59},{"language":"default","tag":"Guides","count":48}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@polygon.technology","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"starterQuestions":[{"_id":"69cbd3d67f226f107dbd9b72","deploymentId":"69a9bcc427671ec5a2e05f92","questionText":"Can I move assets between different chains with OMS?","status":"active","generatedBy":"manual","createdAt":"2026-03-31T14:01:58.134Z","updatedAt":"2026-03-31T14:01:58.134Z","__v":0},{"_id":"69cbd3b07f226f107dbd9a9b","deploymentId":"69a9bcc427671ec5a2e05f92","questionText":"What are my options for integrating a wallet?","status":"active","generatedBy":"manual","createdAt":"2026-03-31T14:01:20.206Z","updatedAt":"2026-03-31T14:01:20.206Z","__v":0},{"_id":"69cbd3737f226f107dbd9910","deploymentId":"69a9bcc427671ec5a2e05f92","questionText":"How does KYC / KYB work in OMS?","status":"active","generatedBy":"manual","createdAt":"2026-03-31T14:00:19.974Z","updatedAt":"2026-03-31T14:00:19.974Z","__v":0}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":".nav-tabs{gap:0!important;align-items:center!important}div:has(>.nav-tabs){height:58px!important}.nav-tabs a.nav-tabs-item{padding:7px 12px!important;font-size:14px;font-weight:500;color:#64708F!important;transition:color 120ms ease, background 120ms ease}.nav-tabs a.nav-tabs-item:hover{color:#141635!important}html.dark .nav-tabs a.nav-tabs-item{color:rgba(255, 255, 255, 0.55)!important}html.dark .nav-tabs a.nav-tabs-item:hover{color:#fff!important}.fam-grp{display:inline-flex;align-items:center;gap:4px}.fam-gap{width:1px;height:22px;background:#DFE3F0;margin:0 16px;flex-shrink:0}.fam-grp .nav-tabs-item>div{display:none!important}.fam-grp .nav-tabs-item{padding:7px 12px!important;border-radius:8px;font-size:14px;font-weight:500;color:#64708F!important;white-space:nowrap;text-decoration:none;transition:color 120ms ease, background 120ms ease!important}.fam-grp .nav-tabs-item:hover{color:#141635!important}.fam-grp .nav-tabs-item.fam-active-tab{background:#EAE4F5!important;color:#500AB2!important;font-weight:500!important}.fam-grp .nav-tabs-item.fam-active-tab svg{color:#500AB2!important}html.dark .fam-gap{background:rgba(255, 255, 255, 0.14)}html.dark .fam-grp .nav-tabs-item{color:rgba(255, 255, 255, 0.55)!important}html.dark .fam-grp .nav-tabs-item:hover{color:#fff!important}html.dark .fam-grp .nav-tabs-item.fam-active-tab{background:rgba(103, 13, 229, 0.22)!important;color:#A78BFA!important}html.dark .fam-grp .nav-tabs-item.fam-active-tab svg{color:#A78BFA!important}#navbar a[href*=\"build-with-ai\"]{background:#fff!important;color:#141635!important;border:1px solid #C8CFE1!important;font-weight:600!important;transition:border-color 140ms ease, background 140ms ease!important}#navbar a[href*=\"build-with-ai\"]:hover{border-color:#141635!important;background:#F6F6FC!important}html.dark #navbar a[href*=\"build-with-ai\"]{background:transparent!important;color:#fff!important;border-color:rgba(255, 255, 255, 0.25)!important}html.dark #navbar a[href*=\"build-with-ai\"]:hover{border-color:#fff!important;background:rgba(255, 255, 255, 0.06)!important}#navbar a[href*=\"get-access\"]{background:#0B0814!important;color:#fff!important;border:1px solid #0B0814!important;transition:background 140ms ease!important}#navbar a[href*=\"get-access\"]:hover{background:#2A2640!important}html.dark #navbar a[href*=\"get-access\"]{background:#FFFFFF!important;color:#0B0814!important;border-color:#FFFFFF!important}html.dark #navbar a[href*=\"get-access\"]:hover{background:#E5E7EB!important;border-color:#E5E7EB!important}#sidebar-content a.text-primary,#sidebar-content a[class*=\"text-primary-light\"]{background-color:transparent!important}#sidebar-content a:not(.text-primary):not([class*=\"text-primary-light\"]):hover{background-color:rgba(103, 13, 229, 0.06)!important}#content-area:has(.api-section) #page-title{font-size:1.75rem;line-height:2.25rem}#content-area:has(.api-section) #header .prose{font-size:0.9375rem;line-height:1.6}@container page-header (min-width: 520px){#content-area:has(.api-section) #header:has(.eyebrow) .eyebrow{display:flex;align-items:center;min-height:2.25rem;padding-right:11rem}#content-area:has(.api-section) #header:has(.eyebrow) .eyebrow~div:has(#page-context-menu){position:static}#content-area:has(.api-section) #header:has(.eyebrow) .eyebrow~div #page-context-menu{position:absolute;top:0;right:0;margin:0}}.api-section[data-api-section=\"authorizations\"]:has(+.api-section[data-api-section=\"headers\"]) .api-section-heading-title{font-size:0}.api-section[data-api-section=\"authorizations\"]:has(+.api-section[data-api-section=\"headers\"]) .api-section-heading-title::after{content:\"Authorization and headers\";font-size:1.125rem}.api-section[data-api-section=\"authorizations\"]+.api-section[data-api-section=\"headers\"] .api-section-heading{display:none}.api-section[data-api-section=\"authorizations\"]:has(+.api-section[data-api-section=\"headers\"]) .primitive-param-field:last-child{border-bottom-width:1px}.api-section .api-section-heading .border-b,.api-section .primitive-param-field{border-color:#D1D5DB}html.dark .api-section .api-section-heading .border-b,html.dark .api-section .primitive-param-field{border-color:#374151}.api-section .primitive-param-field>.py-6{padding-top:0.875rem;padding-bottom:0.875rem}.api-section .primitive-param-field .mt-4{margin-top:0.5rem}@media (min-width: 1600px){#body-content:has(.api-section){max-width:1760px}#body-content:has(.api-section) #content-container{max-width:1440px}}"},{"filePath":"oms-visuals.css","content":"@font-face{font-family:\"Fustat\";src:url(\"/fonts/Fustat-VariableFont_wght.woff2\") format(\"woff2\");font-weight:200 900;font-style:normal;font-display:swap}@font-face{font-family:\"Geist Mono\";src:url(\"/fonts/GeistMono-VariableFont_wght.woff2\") format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap}.oms-v{--oms-purple-50: #f6f3fb;--oms-purple-100: #eae4f5;--oms-purple-200: #d5c4f2;--oms-purple-300: #b78eef;--oms-purple-400: #9551f5;--oms-purple-500: #670de5;--oms-purple-600: #500ab2;--oms-purple-700: #400a8e;--oms-slate-50: #f6f6fc;--oms-slate-100: #eef0f9;--oms-slate-200: #dfe3f0;--oms-slate-300: #c8cfe1;--oms-slate-400: #929eba;--oms-slate-500: #64708f;--oms-slate-600: #48526f;--oms-slate-700: #363e5c;--oms-slate-800: #222744;--oms-slate-900: #141635;--oms-slate-950: #090624;--oms-btn-primary: #090624;--oms-btn-primary-hover: #222744;--oms-btn-primary-text: #ffffff;--ss-font: \"Fustat\", \"Inter\", system-ui, sans-serif;--ss-mono: \"Geist Mono\", \"JetBrains Mono\", ui-monospace, monospace;--ss-accent: #670de5;--ss-accent-2: #9551f5;--ss-accent-soft: #eae4f5;--ss-accent-text: #500ab2;--ss-canvas: #f6f6fc;--ss-well: #f6f6fc;--ss-surface: #ffffff;--ss-raised: #ffffff;--ss-chrome: #ffffff;--ss-fill: #eef0f9;--ss-line: #c8cfe1;--ss-line-faint: #dfe3f0;--ss-text-strong: #141635;--ss-text: #48526f;--ss-text-faint: #64708f;--ss-icon: #48526f;--ss-icon-faint: #929eba;--ss-ink-1: rgba(20, 22, 53, 0.04);--ss-ink-2: rgba(20, 22, 53, 0.06);--ss-ink-3: rgba(20, 22, 53, 0.08);--ss-ink-4: rgba(20, 22, 53, 0.10);--ss-ink-5: rgba(20, 22, 53, 0.15);--ss-success: #10b981;--ss-success-soft: #ecfdf5;--ss-success-text: #047857;--ss-warning: #b45309;--ss-warning-soft: #fff7ed;--ss-warning-text: #b45309;--ss-danger: #dc2626;--ss-danger-soft: #fef2f2;--ss-danger-text: #b91c1c;--ss-radius-sm: 6px;--ss-radius-md: 8px;--ss-radius-lg: 12px;--ss-radius-window: 12px;--ss-radius-pill: 999px;--ss-shadow-window: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.08);--ss-shadow-float: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);--ss-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);--ss-shadow-hero: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);--ss-shadow-lift: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 12px 28px -6px rgba(50, 50, 93, 0.28), 0 6px 12px -6px rgba(0, 0, 0, 0.16);--ss-shadow-satellite: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 14px 32px -8px rgba(50, 50, 93, 0.24), 0 4px 10px -4px rgba(0, 0, 0, 0.1);--ss-shadow-ground: 0 0 0 1px rgba(50, 50, 93, 0.06), 0 24px 48px -24px rgba(50, 50, 93, 0.18);--ss-ease: cubic-bezier(0.16, 1, 0.3, 1);font-family:var(--ss-font);color:var(--ss-text);-webkit-font-smoothing:antialiased}html.dark .oms-v{--oms-btn-primary: #ffffff;--oms-btn-primary-hover: #e5e7eb;--oms-btn-primary-text: #090624;--ss-accent: #9551f5;--ss-accent-2: #b78eef;--ss-accent-soft: rgba(149, 81, 245, 0.16);--ss-accent-text: #b78eef;--ss-canvas: #0b0a10;--ss-well: #131218;--ss-surface: #1a1922;--ss-raised: #23212d;--ss-chrome: #16151d;--ss-fill: #2a2834;--ss-line: rgba(255, 255, 255, 0.10);--ss-line-faint: rgba(255, 255, 255, 0.06);--ss-text-strong: #eef0f9;--ss-text: #c8cfe1;--ss-text-faint: #929eba;--ss-icon: #c8cfe1;--ss-icon-faint: #64708f;--ss-ink-1: rgba(255, 255, 255, 0.05);--ss-ink-2: rgba(255, 255, 255, 0.07);--ss-ink-3: rgba(255, 255, 255, 0.10);--ss-ink-4: rgba(255, 255, 255, 0.13);--ss-ink-5: rgba(255, 255, 255, 0.20);--ss-success: #34d399;--ss-success-soft: rgba(16, 185, 129, 0.16);--ss-success-text: #34d399;--ss-shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.4);--ss-shadow-float: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.3);--ss-shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.05);--ss-shadow-hero: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -12px rgba(0, 0, 0, 0.6);--ss-shadow-lift: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 28px -6px rgba(0, 0, 0, 0.6);--ss-shadow-satellite: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 32px -8px rgba(0, 0, 0, 0.7), 0 4px 10px -4px rgba(0, 0, 0, 0.5);--ss-shadow-ground: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 48px -24px rgba(0, 0, 0, 0.6)}.oms-v-fit{position:relative;width:100%}.oms-v-stage{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.oms-v *,.oms-v *::before,.oms-v *::after{box-sizing:border-box}.oms-v :where(h1,h2,h3,h4,p,ul,ol){margin:0}.oms-v .oms-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border-radius:16px;border:0.5px solid transparent;font-family:var(--ss-font);font-weight:500;font-size:12px;line-height:1;white-space:nowrap;text-box:trim-both cap alphabetic}.oms-v .oms-badge--info{background:#f6f3fb;border-color:#d5c4f2;color:#500ab2}.oms-v .oms-badge--neutral{background:#f6f6fc;border-color:#c8cfe1;color:#141635}.oms-v .oms-badge--success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.oms-v .oms-badge--warning{background:#fff7ed;border-color:#fed7aa;color:#b45309}.oms-v .oms-badge--danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c}html.dark .oms-v .oms-badge--info{background:rgba(149, 81, 245, 0.14);border-color:rgba(183, 142, 239, 0.35);color:#c9b0f5}html.dark .oms-v .oms-badge--neutral{background:rgba(255, 255, 255, 0.05);border-color:rgba(255, 255, 255, 0.14);color:#c8cfe1}html.dark .oms-v .oms-badge--success{background:rgba(16, 185, 129, 0.14);border-color:rgba(52, 211, 153, 0.35);color:#6ee7b7}html.dark .oms-v .oms-badge--warning{background:rgba(251, 191, 36, 0.12);border-color:rgba(251, 191, 36, 0.3);color:#fcd34d}html.dark .oms-v .oms-badge--danger{background:rgba(248, 113, 113, 0.12);border-color:rgba(248, 113, 113, 0.3);color:#fca5a5}.oms-v .oms-phone{position:relative;flex-shrink:0;--oms-phone-glass: #0b0b0c;--oms-phone-rim: #2c2c2d;--oms-phone-band-1: #e3e3e6;--oms-phone-band-2: #9a9ba0;--oms-phone-band-3: #cfd0d4;--oms-phone-band-4: #85868b;--oms-phone-band-5: #c9cacd;box-shadow:0 calc(var(--ps) * 40) calc(var(--ps) * 80) calc(var(--ps) * -16) rgba(50, 50, 93, 0.25),\n 0 calc(var(--ps) * 24) calc(var(--ps) * 48) calc(var(--ps) * -24) rgba(0, 0, 0, 0.3)}html.dark .oms-v .oms-phone{--oms-phone-band-1: #5b5c61;--oms-phone-band-2: #2b2c2f;--oms-phone-band-3: #48494d;--oms-phone-band-4: #232427;--oms-phone-band-5: #404145}.oms-v .oms-phone__bands{position:absolute;inset:0;overflow:visible;pointer-events:none}.oms-v .oms-phone__glass{position:relative;height:100%}.oms-v .oms-phone__window{position:relative;overflow:hidden;isolation:isolate}.oms-v .oms-phone__screen{position:absolute;top:0;left:0;width:402px;height:874px;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#000;font-family:-apple-system, system-ui, sans-serif;font-size:15px;letter-spacing:-0.015em;transform-origin:0 0;-webkit-font-smoothing:antialiased}.oms-v .oms-phone[data-dark] .oms-phone__screen{background:#000;color:#fff}.oms-v .oms-phone__status{position:absolute;top:0;right:0;left:0;z-index:2;height:62px;transition:color 0.3s ease;will-change:transform}.oms-v .oms-phone__time{position:absolute;top:21.5px;left:0;width:138.5px;line-height:22px;text-align:center;font-family:\"SF Pro Text\", -apple-system, system-ui, sans-serif;font-variation-settings:\"opsz\" 17;font-size:17.67px;font-weight:590;letter-spacing:0}.oms-v .oms-phone__glyphs{position:absolute;top:25.33px;left:285.25px;display:flex;align-items:flex-start;gap:8px}.oms-v .oms-phone__glyphs svg{display:block}.oms-v .oms-phone__signal{margin-top:1px}.oms-v .oms-phone__battery{margin-top:0.33px}.oms-v .oms-phone__island{position:absolute;top:14px;left:50%;z-index:3;width:95px;height:37px;border-radius:18.5px;background:#000;transform:translateX(-50%)}.oms-v .oms-phone__content{position:relative;flex:1;min-height:0;padding-top:62px}.oms-v .oms-phone__home{position:absolute;bottom:8px;left:50%;z-index:2;width:144px;height:5px;border-radius:2.5px;background:currentColor;transform:translateX(-50%);transition:color 0.3s ease;will-change:transform}.obz{overflow:hidden;border-radius:14px;background:linear-gradient(110deg, rgba(255, 255, 255, 0.18) 0%, transparent 22%, transparent 32%, rgba(255, 255, 255, 0.1) 44%, transparent 60%),\n linear-gradient(135deg, var(--obz-from) 0%, var(--obz-to) 100%);--obz-ink: var(--ss-text-strong);--obz-faint: var(--oms-slate-500);--obz-app: var(--oms-slate-50);--obz-card: #fff;--obz-rule: var(--oms-slate-200)}.obz--payouts{--obz-from: #7c3aed;--obz-to: #3b0764}.obz--rewards{--obz-from: #10b981;--obz-to: #064e3b}html.dark .obz{--obz-faint: var(--oms-slate-400);--obz-app: #0b0a10;--obz-card: #1a1922;--obz-rule: rgba(255, 255, 255, 0.08)}.obz .obz-phone{position:absolute;top:30px;left:30px}.obz .obz-app{position:absolute;inset:0;padding-top:62px;background:var(--obz-app);color:var(--obz-ink);text-align:left;font-family:var(--ss-font)}.obz .obz-btn .obz-states,.obz .obz-status,.obz .obz-big--count{transition:opacity 0.38s ease}.obz .obz-app[data-fade] :is(.obz-btn .obz-states,.obz-status,.obz-big--count){opacity:0}.obz .obz-title{transition:opacity 0.2s ease}.obz .obz-app[data-notif] .obz-title{opacity:0}.obz .obz-head{display:flex;align-items:baseline;justify-content:space-between;padding:8px 36px 14px}.obz--payouts .obz-head{padding-bottom:10px}.obz--rewards .obz-head{padding-bottom:34px}.obz .obz-title{font-size:32px;font-weight:700;line-height:38px;letter-spacing:-0.02em;color:var(--obz-ink)}.obz .obz-head__meta{font-size:19px;line-height:25px;color:var(--obz-faint)}.obz .obz-card{display:block;margin:0 16px 12px;border-radius:22px;background:var(--obz-card);box-shadow:0 0 0 0.5px var(--obz-rule)}.obz .obz-batch,.obz .obz-balance{display:grid;justify-items:start;padding:18px 20px 20px}.obz--payouts .obz-batch{padding-bottom:16px}.obz .obz-label{font-size:19px;line-height:25px;color:var(--obz-faint)}.obz .obz-big{margin-top:2px;font-size:50px;font-weight:700;line-height:58px;letter-spacing:-0.03em;color:var(--obz-ink)}.obz .obz-big--count{margin:4px 0 2px;font-size:60px;line-height:68px}.obz .obz-count{display:inline-flex;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums}.obz .obz-count__char{display:inline-block;font-variant-numeric:normal}.obz .obz-count__digit{display:inline-block;height:1em;overflow:hidden;line-height:1;vertical-align:baseline;mask-image:linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent)}.obz .obz-count__strip{display:flex;flex-direction:column;will-change:transform;transition:transform 900ms cubic-bezier(0.3, 0.75, 0.1, 1)}.obz .obz-count__strip>span{display:block;height:1em;line-height:1}.obz .obz-count__unit{display:inline-block;margin-left:8px;font-size:22px;font-weight:600;letter-spacing:0;color:var(--obz-faint)}.obz .obz-btn{position:relative;isolation:isolate;display:grid;place-items:center;justify-self:stretch;height:58px;margin-top:14px;border-radius:16px;color:var(--oms-btn-primary-text);font-size:20px;font-weight:600}.obz .obz-btn::before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--oms-btn-primary);transition:transform 0.15s ease, background-color 0.2s ease}.obz .obz-btn[data-pressed]::before{transform:scale(0.97);background:var(--oms-btn-primary-hover)}.obz .obz-btn__group{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:180px;height:26px}.obz .obz-btn__group--icon{justify-content:flex-start;padding-left:44px}.obz .obz-btn__group svg{flex:none}.obz .obz-spin{animation:obz-spin 0.8s linear infinite}@keyframes obz-spin{to{transform:rotate(360deg)}}.obz .obz-touch{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(255, 255, 255, 0.35);box-shadow:0 0 0 1.5px rgba(255, 255, 255, 0.55);opacity:0;transform:scale(0.6);transition:opacity 0.3s ease, transform 0.3s ease;pointer-events:none}.obz .obz-touch[data-on]{opacity:1;transform:scale(1);transition:opacity 0.08s ease, transform 0.12s ease}.obz .obz-states{display:inline-grid;align-items:center;justify-items:center}.obz .obz-states__item{display:inline-flex;grid-area:1 / 1;align-items:center;opacity:0;filter:blur(2px);will-change:transform;transform:translate3d(0, 4px, 0);transition:opacity 0.15s ease, filter 0.15s ease, transform 0s 0.15s}.obz .obz-states__item[data-on]{opacity:1;filter:none;transform:translate3d(0, 0, 0);transition:opacity 0.25s ease-out 0.07s, filter 0.25s ease-out 0.07s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.07s}.obz .obz-status{display:inline-grid;justify-items:end;margin-right:10px;flex:none}.obz--payouts .obz-status{margin-right:6px}.obz--rewards .obz-status{width:96px}.obz .obz-list{padding:4px 0}.obz .obz-row{display:flex;align-items:center;gap:14px;padding:14px;will-change:transform}.obz .obz-list>.obz-row+.obz-row,.obz .obz-list>.obz-collapse+.obz-row{box-shadow:0 -0.5px 0 var(--obz-rule)}.obz .obz-row__body{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.obz .obz-row__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:21px;font-weight:600;line-height:28px;color:var(--obz-ink)}.obz .obz-row__sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;line-height:28px;color:var(--ss-text)}.obz--payouts .obz-row__sub{font-size:18px}.obz .obz-bar{display:block;border-radius:5px;background:var(--ss-ink-3)}.obz .obz-bar--title{height:11px;margin:8.5px 0;background:var(--ss-ink-4)}.obz .obz-bar--sub{height:9px;margin:9.5px 0}.obz .obz-avatar{display:inline-grid;flex:none;place-items:center;width:48px;height:48px;border-radius:50%;color:#fff;font-size:20px;font-weight:600;line-height:1;will-change:transform}.obz .obz-avatar>span{display:block;text-box:trim-both cap alphabetic}.obz .obz-avatar--plain{background:var(--ss-fill)}.obz .obz-tile{display:grid;flex:none;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--ss-success-soft);color:var(--ss-success-text)}.obz .obz-tile--plain{background:var(--ss-ink-1)}html.dark .obz .obz-tile{background:rgba(16, 185, 129, 0.14);color:#34d399}html.dark .obz .obz-tile--plain{background:rgba(255, 255, 255, 0.06)}.obz .oms-badge.obz-badge{padding:5px 12px;border-radius:16px;font-size:19px;line-height:22px}.obz .obz-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1) 0.05s, opacity 0.42s cubic-bezier(0, 0.8, 0.5, 1)}.obz .obz-collapse[data-open]{grid-template-rows:1fr;opacity:1;transition:grid-template-rows 0.5s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s ease 0.24s}.obz .obz-collapse__inner{min-height:0;overflow:visible}.obz .obz-collapse__inner>*{transform:translateY(-10px);transition:transform 0.3s ease}.obz .obz-collapse[data-open]>.obz-collapse__inner>*{transform:none;transition:transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s}.obz .obz-banner{position:absolute;inset:0;z-index:2;pointer-events:none;will-change:transform;transform:translateY(-52px) scale(0.96);opacity:0;transition:transform 0.45s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.3s ease 0.1s}.obz .obz-banner[data-show]{transform:none;opacity:1;transition:transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.2s ease}.obz .obz-notif{position:absolute;top:56px;left:18px;right:18px;display:flex;align-items:center;gap:13px;padding:14px 17px 14px 14px;border-radius:23px;background:rgba(255, 255, 255, 0.92);box-shadow:0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.12);color:#000;text-align:left;will-change:transform}.obz .obz-banner[data-dark] .obz-notif{background:rgba(252, 252, 253, 0.76);backdrop-filter:blur(30px) saturate(1.25);box-shadow:0 4px 24px rgba(0, 0, 0, 0.06)}.obz .obz-notif__icon{display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:9px;overflow:hidden;background:linear-gradient(160deg, #10b981, #047857);color:#fff}.obz .obz-notif__text{display:flex;flex:1;flex-direction:column;min-width:0;font-size:15px;line-height:18px;letter-spacing:-0.016em}.obz .obz-notif__head{display:flex;align-items:baseline;gap:8px}.obz .obz-notif__title{flex:1;min-width:0;overflow:hidden;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.obz .obz-notif__time{flex:none;font-size:12px;letter-spacing:-0.005em;color:rgba(60, 60, 67, 0.6)}.obz .obz-notif__body{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}@media (prefers-reduced-motion: reduce){.obz .obz-spin{animation:none}}"}],"page":{"pagePath":"api-reference/cashins/create-a-cash-in-deposit-code","slug":"/api-reference/cashins/create-a-cash-in-deposit-code","pageMetadata":{"title":"Create a cash-in deposit code","description":"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins","href":"/api-reference/cashins/create-a-cash-in-deposit-code","autogeneratedByOpenApi":true},"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: \"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a cash-in deposit code","description":"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins","href":"/api-reference/cashins/create-a-cash-in-deposit-code","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/polygon-labs/3aef159c73509324/analytics.js","/_mintlify/custom/polygon-labs/3af50e0aa9bbe82e/custom.js"],"openApiReferenceData":{"operation":{"operationId":"createCashIn","summary":"Create a cash-in deposit code","description":"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.","parameters":["e30b4b84-bc8c-4705-a974-a39e63f33241"],"responses":{"201":"00ddffc1-8871-4fe7-a09f-dc2470a229f6","400":"4d21a457-9620-4b6a-ade4-50048335d6fb","401":"3fbf6ad1-ec74-42c9-9316-e3ccec48acae","403":"ca6aef32-304e-4d45-bc92-af53a8e25f09","404":"48553ae8-10fe-47ae-9ef6-133387bfbc40","409":"9ed0717e-fe47-41db-afb1-ec0b07d5b20a","422":"1b945b5e-2bc8-4f7c-8700-003183ea71be","500":"a3cd42e4-990f-4cb5-a362-2957e4a67eef"},"tags":["CashIns"],"requestBody":"815c4b39-b79d-48e4-9663-25bb98b5c514","method":"post","type":"path","servers":["3954f129-f90f-427b-a9e2-446f69cc945f","e460259f-c88c-4163-8908-b2237c61abb1"],"security":["b1aea6a0-4459-40bf-b820-54b4185236ba"],"path":"/cash-ins","baseUrlOptions":["https://sandbox-api.polygon.technology/v0.13","https://api.polygon.technology/v0.13"],"title":"Create a cash-in deposit code","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e30b4b84-bc8c-4705-a974-a39e63f33241":{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.","schema":{"type":"string","isRequired":true,"description":"Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customerId","source","destination","cash"],"properties":{"customerId":{"type":"string","description":"The customer depositing cash (`cst_` prefix).","isRequired":true,"uniqueKey":"customerId","typeLabel":"string"},"source":{"type":"object","description":"Where the customer will deposit cash.","required":["asset"],"properties":{"asset":{"type":"string","description":"Canonical asset identifier.","isRequired":true,"uniqueKey":"source.asset","typeLabel":"string"},"network":{"type":"string","description":"Network identifier.","uniqueKey":"source.network","typeLabel":"string"},"email":{"type":"string","description":"Email address.","uniqueKey":"source.email","typeLabel":"string"},"indicatedAmount":{"type":"string","description":"The cash amount the customer indicated they will deposit.","uniqueKey":"source.indicatedAmount","typeLabel":"string"},"amount":{"type":"string","description":"The cash amount, as a decimal string.","uniqueKey":"source.amount","typeLabel":"string"},"amountGross":{"type":"string","description":"Amount on this side before fees are applied.","uniqueKey":"source.amountGross","typeLabel":"string"},"amountNet":{"type":"string","description":"Amount after fees - what is actually pulled from a source, or delivered to a destination.","uniqueKey":"source.amountNet","typeLabel":"string"},"feesDeducted":{"type":"object","required":["total","developer","oms","gas"],"properties":{"total":{"type":"string","isRequired":true,"uniqueKey":"source.feesDeducted.total","typeLabel":"string"},"developer":{"type":"string","description":"Per-side aggregated developer fee total in this side's asset. Always \"0\" in alpha - alpha invariant, mirrors the gas line.","isRequired":true,"uniqueKey":"source.feesDeducted.developer","typeLabel":"string"},"oms":{"type":"string","isRequired":true,"uniqueKey":"source.feesDeducted.oms","typeLabel":"string"},"gas":{"type":"string","isRequired":true,"uniqueKey":"source.feesDeducted.gas","typeLabel":"string"}},"description":"Per-side breakdown of fees deducted in-line from the transaction. End-of-month billable fees will be reported separately in the future (planned `feesInvoice` sibling). Denominated in that side's asset.","uniqueKey":"source.feesDeducted","typeLabel":"object"}},"isRequired":true,"uniqueKey":"source","typeLabel":"object"},"destination":{"type":"object","description":"Crypto instrument to deliver to (walletCrypto or walletExternal).","properties":{"wallet":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier.","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","uniqueKey":"destination.wallet.id","typeLabel":"string"},"externalAccount":{"type":"string","description":"Registered External Account receiving the funds, when applicable.","uniqueKey":"destination.wallet.externalAccount","typeLabel":"string"},"blockchainAddress":{"type":"string","description":"On-chain address. For an EVM network the address must be all-lowercase, all-uppercase, or a valid EIP-55 checksummed form; an inconsistent mixed-case address is rejected as a likely casing typo, and the zero address is rejected. Solana/SUI are validated per their own network rules.","uniqueKey":"destination.wallet.blockchainAddress","typeLabel":"string"}},"description":"The wallet receiving the converted funds.","uniqueKey":"destination.wallet","typeLabel":"object"},"asset":{"type":"string","description":"Canonical asset identifier.","uniqueKey":"destination.asset","typeLabel":"string"},"network":{"type":"string","description":"Network identifier.","uniqueKey":"destination.network","typeLabel":"string"},"amountGross":{"type":"string","description":"Amount on this side before fees are applied.","uniqueKey":"destination.amountGross","typeLabel":"string"},"amountNet":{"type":"string","description":"Amount after fees - what is actually pulled from a source, or delivered to a destination.","uniqueKey":"destination.amountNet","typeLabel":"string"},"feesDeducted":{"type":"object","required":["total","developer","oms","gas"],"properties":{"total":{"type":"string","isRequired":true,"uniqueKey":"destination.feesDeducted.total","typeLabel":"string"},"developer":{"type":"string","description":"Per-side aggregated developer fee total in this side's asset. Always \"0\" in alpha - alpha invariant, mirrors the gas line.","isRequired":true,"uniqueKey":"destination.feesDeducted.developer","typeLabel":"string"},"oms":{"type":"string","isRequired":true,"uniqueKey":"destination.feesDeducted.oms","typeLabel":"string"},"gas":{"type":"string","isRequired":true,"uniqueKey":"destination.feesDeducted.gas","typeLabel":"string"}},"description":"Per-side breakdown of fees deducted in-line from the transaction. End-of-month billable fees will be reported separately in the future (planned `feesInvoice` sibling). Denominated in that side's asset.","uniqueKey":"destination.feesDeducted","typeLabel":"object"}},"isRequired":true,"uniqueKey":"destination","typeLabel":"object"},"cash":{"type":"object","description":"The cash amount to deposit.","required":["locationId","locationReference"],"properties":{"locationId":{"type":"string","description":"Cash location ID from `GET /cash-locations`.","isRequired":true,"uniqueKey":"cash.locationId","typeLabel":"string"},"locationReference":{"type":"string","description":"Provider reference for the location, from `GET /cash-locations`.","isRequired":true,"uniqueKey":"cash.locationReference","typeLabel":"string"}},"isRequired":true,"uniqueKey":"cash","typeLabel":"object"},"sponsorGas":{"type":"boolean","description":"When `true`, OMS absorbs the on-chain gas cost for the destination delivery. Only `true` is currently supported.","uniqueKey":"sponsorGas","typeLabel":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Free-form key-value pairs stored on the resource and echoed back on reads.","uniqueKey":"metadata","typeLabel":"object"}},"description":"Request body for creating a cash-in. Names the customer, the cash source location, and the crypto destination.","example":{"customerId":"cst_vfa0nxw6zvyws9g237jrxn4y7k","source":{"asset":"usd","indicatedAmount":"200.00"},"destination":{"asset":"usdc","network":"polygon","wallet":{"id":"wlt_5h4jzzpr9xre3bamd9ca7qyghn"}},"cash":{"locationId":"loc_01H9Xd","locationReference":"R1JFRU5ET1QtMjQzNA=="},"sponsorGas":true,"metadata":{"orderId":"order_12345"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customerId":"cst_vfa0nxw6zvyws9g237jrxn4y7k","source":{"asset":"usd","indicatedAmount":"200.00"},"destination":{"asset":"usdc","network":"polygon","wallet":{"id":"wlt_5h4jzzpr9xre3bamd9ca7qyghn"}},"cash":{"locationId":"loc_01H9Xd","locationReference":"R1JFRU5ET1QtMjQzNA=="},"sponsorGas":true,"metadata":{"orderId":"order_12345"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"00ddffc1-8871-4fe7-a09f-dc2470a229f6":{"description":"The request has succeeded and a new resource has been created as a result.","content":{"application/json":{"schema":{"type":"object","required":["id","status","customer","source","destination","depositInstructions","pricing","createdAt","updatedAt","expiresAt"],"properties":{"id":{"type":"string","description":"Cash-in ID (`ci_` prefix).","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","description":"Current lifecycle status of the cash-in.","enum":["pending","processing","completed","failed","expired","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"customer":{"type":"object","description":"The customer that owns this record.","required":["id"],"properties":{"id":{"type":"string","description":"The customer id (`cst_` prefix).","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","isRequired":true,"uniqueKey":"customer.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"customer","typeLabel":"object"},"source":{"type":"object","title":"Cash","description":"The retail location the customer deposits cash at.","required":["type","asset"],"properties":{"type":{"type":"string","enum":["cash"],"isRequired":true,"uniqueKey":"source.type","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Lowercase asset.","isRequired":true,"uniqueKey":"source.asset","typeLabel":"string"},"details":{"type":"object","properties":{"locationId":{"type":"string","uniqueKey":"source.details.locationId","typeLabel":"string"},"locationName":{"type":"string","uniqueKey":"source.details.locationName","typeLabel":"string"},"locationAddress":{"type":"object","properties":{"line1":{"type":"string","description":"Street address, line 1.","uniqueKey":"source.details.locationAddress.line1","typeLabel":"string"},"line2":{"type":"string","description":"Street address, line 2.","uniqueKey":"source.details.locationAddress.line2","typeLabel":"string"},"city":{"type":"string","description":"City.","uniqueKey":"source.details.locationAddress.city","typeLabel":"string"},"state":{"type":"string","description":"State / province / region.","uniqueKey":"source.details.locationAddress.state","typeLabel":"string"},"country":{"type":"string","description":"ISO 3166-1 alpha-2","uniqueKey":"source.details.locationAddress.country","typeLabel":"string"},"zipCode":{"type":"string","description":"ZIP / postal code.","uniqueKey":"source.details.locationAddress.zipCode","typeLabel":"string"}},"description":"A postal address. country is an ISO 3166-1 alpha-2 country code.","uniqueKey":"source.details.locationAddress","typeLabel":"object"},"locationProvider":{"type":"string","description":"The cash network the location belongs to, lowercase, such as `greendot`.","uniqueKey":"source.details.locationProvider","typeLabel":"string"}},"description":"Cash location details.","uniqueKey":"source.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"source","typeLabel":"Cash · object"},"destination":{"oneOf":[{"type":"object","title":"OMS wallet","description":"The customer's wallet the converted funds are delivered to.","required":["type","asset","network"],"properties":{"type":{"type":"string","enum":["walletCrypto"],"isRequired":true,"uniqueKey":"destination.oneOf.0.type","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Lowercase asset.","isRequired":true,"uniqueKey":"destination.oneOf.0.asset","typeLabel":"string"},"network":{"type":"string","description":"Lowercase blockchain.","isRequired":true,"uniqueKey":"destination.oneOf.0.network","typeLabel":"string"},"id":{"type":"string","description":"The wallet (`wlt_`); an older wallet keeps its original `wlt_\u003cuuid>` id. Left out while a deposit's receiving wallet is not resolved yet.","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","uniqueKey":"destination.oneOf.0.id","typeLabel":"string"},"owner":{"type":"object","required":["kind","id"],"properties":{"kind":{"type":"string","enum":["counterparty","customer"],"description":"`counterparty`, or `customer` for another customer's account.","isRequired":true,"uniqueKey":"destination.oneOf.0.owner.kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The counterparty (`ctp_`) or customer (`cst_`).","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","isRequired":true,"uniqueKey":"destination.oneOf.0.owner.id","typeLabel":"string"},"name":{"type":"string","description":"The counterparty's name. A customer's name is on the customer resource.","uniqueKey":"destination.oneOf.0.owner.name","typeLabel":"string"}},"description":"Who owns an account that is not the resource's customer's.","uniqueKey":"destination.oneOf.0.owner","typeLabel":"object"},"details":{"type":"object","properties":{"address":{"type":"string","description":"On-chain address.","uniqueKey":"destination.oneOf.0.details.address","typeLabel":"string"}},"description":"OMS crypto wallet details.","uniqueKey":"destination.oneOf.0.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"destination.oneOf.0","typeLabel":"OMS wallet · object"},{"type":"object","title":"External wallet","description":"The customer's wallet the converted funds are delivered to.","required":["type","asset","network"],"properties":{"type":{"type":"string","enum":["walletExternal"],"isRequired":true,"uniqueKey":"destination.oneOf.1.type","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Lowercase asset.","isRequired":true,"uniqueKey":"destination.oneOf.1.asset","typeLabel":"string"},"network":{"type":"string","description":"Lowercase blockchain.","isRequired":true,"uniqueKey":"destination.oneOf.1.network","typeLabel":"string"},"id":{"type":"string","description":"The external account (`ext_`). Left out for a sender OMS has no record of.","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","uniqueKey":"destination.oneOf.1.id","typeLabel":"string"},"owner":{"type":"object","required":["kind","id"],"properties":{"kind":{"type":"string","enum":["counterparty","customer"],"description":"`counterparty`, or `customer` for another customer's account.","isRequired":true,"uniqueKey":"destination.oneOf.1.owner.kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The counterparty (`ctp_`) or customer (`cst_`).","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","isRequired":true,"uniqueKey":"destination.oneOf.1.owner.id","typeLabel":"string"},"name":{"type":"string","description":"The counterparty's name. A customer's name is on the customer resource.","uniqueKey":"destination.oneOf.1.owner.name","typeLabel":"string"}},"description":"Who owns an account that is not the resource's customer's.","uniqueKey":"destination.oneOf.1.owner","typeLabel":"object"},"details":{"type":"object","properties":{"address":{"type":"string","description":"On-chain address.","uniqueKey":"destination.oneOf.1.details.address","typeLabel":"string"},"custodian":{"type":"string","description":"Who custodies the wallet, in lowerCamelCase.","uniqueKey":"destination.oneOf.1.details.custodian","typeLabel":"string"},"otherCustodian":{"type":"string","description":"The custodian's name when `custodian` is `other`.","uniqueKey":"destination.oneOf.1.details.otherCustodian","typeLabel":"string"},"networkFamily":{"type":"string","enum":["evm","solana","tron"],"description":"Crypto network family for a registered external wallet. A walletExternal is registered per family (an EVM address is valid across every EVM chain), and the registration covers every served network in that family. A create for a family the provider that provisions this project's walletExternal accounts does not serve is refused before anything is written, with 422 `NetworkFamilyNotServed`; depending on the provider, the refusal can be 403 `VendorConfigMissing` instead.","uniqueKey":"destination.oneOf.1.details.networkFamily","typeLabel":"enum\u003cstring>"}},"description":"External wallet details.","uniqueKey":"destination.oneOf.1.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"destination.oneOf.1","typeLabel":"External wallet · object"}],"isRequired":true,"uniqueKey":"destination","typeLabel":"OMS wallet · object | External wallet · object"},"depositInstructions":{"type":"object","description":"The code the customer presents at the retail location.","required":["cashInCode"],"properties":{"cashInCode":{"type":"string","description":"Machine-readable code the customer presents at the register.","isRequired":true,"uniqueKey":"depositInstructions.cashInCode","typeLabel":"string"}},"isRequired":true,"uniqueKey":"depositInstructions","typeLabel":"object"},"pricing":{"type":"object","description":"The cash amount, what arrives in the wallet, the rate and the fees. `pricing.source.amount` is the indicated amount before the cash is paid, then the amount authorised at the register once the cash is paid.","required":["fees"],"properties":{"fees":{"type":"array","items":{"type":"object","required":["type","side","asset","amount"],"properties":{"type":{"type":"string","description":"Fee kind. OPEN — clients must tolerate an unrecognised type. Known values today: \"developer\", \"oms\", \"gas\", \"retailer\" (a cash provider's retail fee, on `CashIn.providerFee`), \"exchange\" (the exchange fee the crypto purchase realized, on the linked transaction once it completes).","isRequired":true,"uniqueKey":"pricing.fees.items.[INDEX].type","typeLabel":"string"},"side":{"type":"string","enum":["source","destination"],"description":"Which side this fee was deducted from.","isRequired":true,"uniqueKey":"pricing.fees.items.[INDEX].side","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Currency this fee is denominated in — that side's asset.","isRequired":true,"uniqueKey":"pricing.fees.items.[INDEX].asset","typeLabel":"string"},"amount":{"type":"string","description":"Fee amount in `asset`, at the asset's precision.","isRequired":true,"uniqueKey":"pricing.fees.items.[INDEX].amount","typeLabel":"string"}},"description":"A fee charged on one side of a quote, transaction or cash-in. A fee is listed only when it is not zero.","uniqueKey":"pricing.fees.items.[INDEX]","typeLabel":"object"},"description":"Every fee charged across both sides. `[]` when there are none — never omitted, never null.","isRequired":true,"uniqueKey":"pricing.fees","typeLabel":"object[]"},"source":{"type":"object","description":"The source side, in the source asset.","required":["asset"],"properties":{"asset":{"type":"string","description":"Lowercase asset of this side, the same as the side's instrument asset.","isRequired":true,"uniqueKey":"pricing.source.asset","typeLabel":"string"},"amount":{"type":"string","description":"On the source, the gross amount the customer pays; on the destination, the amount that arrives. A decimal string at the asset's precision. Always set on the source; set on the destination once priced.","uniqueKey":"pricing.source.amount","typeLabel":"string"}},"uniqueKey":"pricing.source","typeLabel":"object"},"destination":{"type":"object","description":"The destination side, in the destination asset.","required":["asset"],"properties":{"asset":{"type":"string","description":"Lowercase asset of this side, the same as the side's instrument asset.","isRequired":true,"uniqueKey":"pricing.destination.asset","typeLabel":"string"},"amount":{"type":"string","description":"On the source, the gross amount the customer pays; on the destination, the amount that arrives. A decimal string at the asset's precision. Always set on the source; set on the destination once priced.","uniqueKey":"pricing.destination.amount","typeLabel":"string"}},"uniqueKey":"pricing.destination","typeLabel":"object"},"exchangeRate":{"type":"string","description":"Mid-market rate from the source asset to the destination asset, set together with the destination amount. Identity: (source.amount − Σ source fees) × exchangeRate = destination.amount + Σ destination fees.","uniqueKey":"pricing.exchangeRate","typeLabel":"string"},"fixedAmountSide":{"type":"string","enum":["source","destination"],"description":"The side whose amount was fixed at creation. OMS calculated the other side.","uniqueKey":"pricing.fixedAmountSide","typeLabel":"enum\u003cstring>"},"sponsorGas":{"type":"boolean","description":"Present and `true` when OMS absorbs the destination gas cost; omitted otherwise.","uniqueKey":"pricing.sponsorGas","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"pricing","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","description":"When the cash-in was created.","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"When the cash-in was last updated.","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"expiresAt":{"type":"string","format":"date-time","description":"Expiry of the `cashInCode` — the single expiry field for a cash-in. Refreshing the cash-in issues a new `cashInCode` but does not extend this expiry. Once it has passed, the cash-in can no longer be refreshed.","isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"},"failure":{"type":"object","description":"Why the cash-in failed. Present only when `status` is `failed`.","required":["code","message","retryable"],"properties":{"code":{"type":"string","description":"What went wrong.","enum":["providerError","providerRejected","providerTimeout","expired","systemError","provisioningTimeout","insufficientFunds","providerAmountBelowMinimum","limitExceeded","outsideSellBounds","outsideSellVelocityBounds","unusableAmount","unsupportedCorridor","outgoingRailNotEnabled","ssnNotVerified","riskRejected","cardDeclined","bankSellDeclined","payoutFailed","priceMoved","returningToSender","returnedToSender","returnFailed","depositFailed","attributionTimeout","assetMismatch","chainMismatch","misattributedArrival","depositAddressNotActive","virtualAccountNotActive","counterpartyArchived","destinationUnavailable","walletClaimed","walletBoundToCustodialFlow","projectSuspended","memoInvalid","cashDepositFailed","noMatchingNetwork","blockchainAddressInUse","bankAccountInUse","bankAccountRejected","deletePendingTimeout","providerAccountMissing","cardInUse","cardLimitReached","countryProhibited","countryNotSupported","cardVerificationDeclined","bankVerificationDeclined","accountClosed","accountFrozenByBank","routingOrAccountNumberInvalid","accountHolderDeceased","accountDoesNotSupportTransfers","payeeNameMismatch","walletUnreachableOnNetwork","billingAddressMismatch","cardExpired","cardClosedOrLostStolen","pushToCardUnsupported","cardDeclinedByIssuer"],"isRequired":true,"uniqueKey":"failure.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A fixed, vendor-neutral sentence for `code`.","isRequired":true,"uniqueKey":"failure.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether trying the same thing again can succeed.","isRequired":true,"uniqueKey":"failure.retryable","typeLabel":"boolean"},"bankCode":{"type":"string","description":"The bank's own return code, only on an external account a bank return made invalid.","uniqueKey":"failure.bankCode","typeLabel":"string"}},"uniqueKey":"failure","typeLabel":"object"},"providerFee":{"type":"object","description":"The cash provider's retail fee, paid at the register on top of the cash amount and not part of `pricing`. Absent when the provider charges none, or when its fee could not be recorded; the raw template response keeps the original value.","required":["type","side","asset","amount"],"properties":{"type":{"type":"string","description":"Fee kind. OPEN — clients must tolerate an unrecognised type. Known values today: \"developer\", \"oms\", \"gas\", \"retailer\" (a cash provider's retail fee, on `CashIn.providerFee`), \"exchange\" (the exchange fee the crypto purchase realized, on the linked transaction once it completes).","isRequired":true,"uniqueKey":"providerFee.type","typeLabel":"string"},"side":{"type":"string","enum":["source","destination"],"description":"Which side this fee was deducted from.","isRequired":true,"uniqueKey":"providerFee.side","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Currency this fee is denominated in — that side's asset.","isRequired":true,"uniqueKey":"providerFee.asset","typeLabel":"string"},"amount":{"type":"string","description":"Fee amount in `asset`, at the asset's precision.","isRequired":true,"uniqueKey":"providerFee.amount","typeLabel":"string"}},"uniqueKey":"providerFee","typeLabel":"object"},"transactionId":{"type":"string","description":"The Transaction linked to this cash-in. Set once the linked transaction exists; null while pending.","pattern":"^[a-z]+_([0-9a-hjkmnp-tv-z]{26}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$","x-go-type":"string","uniqueKey":"transactionId","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Free-form key-value pairs supplied at creation or update.","uniqueKey":"metadata","typeLabel":"object"},"completedAt":{"type":"string","format":"date-time","description":"When the cash-in completed. Present only when `status` is `completed`.","uniqueKey":"completedAt","typeLabel":"string\u003cdate-time>"},"consumedAt":{"type":"string","format":"date-time","description":"Leg 1 start: when the customer scanned the cash-in code at the retail location.","uniqueKey":"consumedAt","typeLabel":"string\u003cdate-time>"},"fulfilledAt":{"type":"string","format":"date-time","description":"Leg 1 done: when the cash was loaded and the provider can no longer cancel it.","uniqueKey":"fulfilledAt","typeLabel":"string\u003cdate-time>"},"buyConfirmedAt":{"type":"string","format":"date-time","description":"Leg 2 done: when the crypto purchase was confirmed.","uniqueKey":"buyConfirmedAt","typeLabel":"string\u003cdate-time>"}},"description":"A code-based cash deposit. The customer takes the issued code to a retail location and deposits cash, which OMS converts to crypto and delivers to the destination. Amounts start as estimates and are finalized once the cash is deposited.","example":{"id":"ci_44vxe2xk8gfsjehfcw3npt5bg8","status":"pending","customer":{"id":"cst_vfa0nxw6zvyws9g237jrxn4y7k"},"source":{"type":"cash","asset":"usd","details":{"locationId":"loc_01H9Xd","locationName":"CVS Pharmacy #4521","locationAddress":{"line1":"123 Main St","city":"San Francisco","state":"CA","zipCode":"94105","country":"US"},"locationProvider":"greendot"}},"destination":{"type":"walletCrypto","id":"wlt_5h4jzzpr9xre3bamd9ca7qyghn","asset":"usdc","network":"polygon","details":{"address":"0x7b3a9f2c4d1ea8bf6390ce5d2b7fa104c8e3d9b1"}},"pricing":{"source":{"asset":"usd","amount":"200.00"},"destination":{"asset":"usdc","amount":"200.000000"},"fees":[],"exchangeRate":"1.0000","fixedAmountSide":"source","sponsorGas":true},"depositInstructions":{"cashInCode":"483 291"},"expiresAt":"2026-05-15T18:32:48Z","createdAt":"2026-05-15T17:32:48Z","updatedAt":"2026-05-15T17:32:48Z"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"ci_44vxe2xk8gfsjehfcw3npt5bg8","status":"pending","customer":{"id":"cst_vfa0nxw6zvyws9g237jrxn4y7k"},"source":{"type":"cash","asset":"usd","details":{"locationId":"loc_01H9Xd","locationName":"CVS Pharmacy #4521","locationAddress":{"line1":"123 Main St","city":"San Francisco","state":"CA","zipCode":"94105","country":"US"},"locationProvider":"greendot"}},"destination":{"type":"walletCrypto","id":"wlt_5h4jzzpr9xre3bamd9ca7qyghn","asset":"usdc","network":"polygon","details":{"address":"0x7b3a9f2c4d1ea8bf6390ce5d2b7fa104c8e3d9b1"}},"pricing":{"source":{"asset":"usd","amount":"200.00"},"destination":{"asset":"usdc","amount":"200.000000"},"fees":[],"exchangeRate":"1.0000","fixedAmountSide":"source","sponsorGas":true},"depositInstructions":{"cashInCode":"483 291"},"expiresAt":"2026-05-15T18:32:48Z","createdAt":"2026-05-15T17:32:48Z","updatedAt":"2026-05-15T17:32:48Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"4d21a457-9620-4b6a-ade4-50048335d6fb":{"description":"The server could not understand the request due to invalid syntax.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["InvalidAmountFormat"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10016],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["amount must be positive"],"isRequired":true,"uniqueKey":"oneOf.0.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.0.cause","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["InvalidAsset"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10107],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["source.asset must be 'usd' for cash deposits"],"isRequired":true,"uniqueKey":"oneOf.1.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.1.cause","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["InvalidLocation"],"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10102],"isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["cash.locationId must start with 'loc_' prefix"],"isRequired":true,"uniqueKey":"oneOf.2.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.2.cause","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["InvalidWalletAddress"],"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10112],"isRequired":true,"uniqueKey":"oneOf.3.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.wallet.blockchainAddress is not valid for destination.network"],"isRequired":true,"uniqueKey":"oneOf.3.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.3.cause","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MetadataKeyTooLong"],"isRequired":true,"uniqueKey":"oneOf.4.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10075],"isRequired":true,"uniqueKey":"oneOf.4.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["metadata key must be 64 characters or fewer"],"isRequired":true,"uniqueKey":"oneOf.4.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.4.cause","typeLabel":"string"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MetadataTooManyKeys"],"isRequired":true,"uniqueKey":"oneOf.5.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10074],"isRequired":true,"uniqueKey":"oneOf.5.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["metadata may have at most 20 keys"],"isRequired":true,"uniqueKey":"oneOf.5.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.5.cause","typeLabel":"string"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MetadataValueTooLong"],"isRequired":true,"uniqueKey":"oneOf.6.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10076],"isRequired":true,"uniqueKey":"oneOf.6.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["metadata value must be 500 characters or fewer"],"isRequired":true,"uniqueKey":"oneOf.6.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.6.cause","typeLabel":"string"}},"uniqueKey":"oneOf.6","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MissingCustomer"],"isRequired":true,"uniqueKey":"oneOf.7.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10100],"isRequired":true,"uniqueKey":"oneOf.7.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["request must include customer"],"isRequired":true,"uniqueKey":"oneOf.7.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.7.cause","typeLabel":"string"}},"uniqueKey":"oneOf.7","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MissingLocation"],"isRequired":true,"uniqueKey":"oneOf.8.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10101],"isRequired":true,"uniqueKey":"oneOf.8.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["cash.locationId is required"],"isRequired":true,"uniqueKey":"oneOf.8.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.8.cause","typeLabel":"string"}},"uniqueKey":"oneOf.8","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MissingLocationReference"],"isRequired":true,"uniqueKey":"oneOf.9.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10109],"isRequired":true,"uniqueKey":"oneOf.9.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["cash.locationReference is required"],"isRequired":true,"uniqueKey":"oneOf.9.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.9.cause","typeLabel":"string"}},"uniqueKey":"oneOf.9","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MissingParameter"],"isRequired":true,"uniqueKey":"oneOf.10.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10108],"isRequired":true,"uniqueKey":"oneOf.10.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.asset and destination.network are required"],"isRequired":true,"uniqueKey":"oneOf.10.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.10.cause","typeLabel":"string"}},"uniqueKey":"oneOf.10","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MissingWallet"],"isRequired":true,"uniqueKey":"oneOf.11.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10104],"isRequired":true,"uniqueKey":"oneOf.11.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.wallet.id or destination.wallet.blockchainAddress is required"],"isRequired":true,"uniqueKey":"oneOf.11.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.11.cause","typeLabel":"string"}},"uniqueKey":"oneOf.11","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["UnsupportedValue"],"isRequired":true,"uniqueKey":"oneOf.12.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10017],"isRequired":true,"uniqueKey":"oneOf.12.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["unsupported value"],"isRequired":true,"uniqueKey":"oneOf.12.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.12.cause","typeLabel":"string"}},"uniqueKey":"oneOf.12","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["ZeroAddressNotAllowed"],"isRequired":true,"uniqueKey":"oneOf.13.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10050],"isRequired":true,"uniqueKey":"oneOf.13.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["blockchainAddress must not be the zero (burn) address"],"isRequired":true,"uniqueKey":"oneOf.13.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.13.cause","typeLabel":"string"}},"uniqueKey":"oneOf.13","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"InvalidAmountFormat","code":10016,"msg":"amount must be positive","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3fbf6ad1-ec74-42c9-9316-e3ccec48acae":{"description":"Access is unauthorized.","content":{"application/json":{"schema":{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["Unauthorized"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[1000],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["unauthorized access"],"isRequired":true,"uniqueKey":"msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"cause","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized","code":1000,"msg":"unauthorized access","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ca6aef32-304e-4d45-bc92-af53a8e25f09":{"description":"Access is forbidden.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["CustomerNotFound"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10001],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["customer not found"],"isRequired":true,"uniqueKey":"oneOf.0.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.0.cause","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["KYCPending"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10009],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["customer KYC is pending; retry shortly"],"isRequired":true,"uniqueKey":"oneOf.1.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.1.cause","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["KYCRequired"],"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10008],"isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["customer KYC verification is required"],"isRequired":true,"uniqueKey":"oneOf.2.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.2.cause","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["WalletNotOwned"],"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10111],"isRequired":true,"uniqueKey":"oneOf.3.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination wallet does not belong to this customer"],"isRequired":true,"uniqueKey":"oneOf.3.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.3.cause","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"CustomerNotFound","code":10001,"msg":"customer not found","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"48553ae8-10fe-47ae-9ef6-133387bfbc40":{"description":"The server cannot find the requested resource.","content":{"application/json":{"schema":{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["WalletNotFound"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10015],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["fiat wallet not found"],"isRequired":true,"uniqueKey":"msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"cause","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"WalletNotFound","code":10015,"msg":"fiat wallet not found","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9ed0717e-fe47-41db-afb1-ec0b07d5b20a":{"description":"The request conflicts with the current state of the server.","content":{"application/json":{"schema":{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["ConcurrentModification"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10232],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["pair changed since it was inspected; re-read its status and retry with the current version"],"isRequired":true,"uniqueKey":"msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"cause","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"ConcurrentModification","code":10232,"msg":"pair changed since it was inspected; re-read its status and retry with the current version","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1b945b5e-2bc8-4f7c-8700-003183ea71be":{"description":"Client error","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["AccountHolderUnsupported"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10022],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.details.accountHolder must be customer"],"isRequired":true,"uniqueKey":"oneOf.0.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.0.cause","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["BuyNotAllowedAtLocation"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10120],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["the specified cash location does not allow buy transactions"],"isRequired":true,"uniqueKey":"oneOf.1.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.1.cause","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["CashNotAvailableInCountry"],"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10105],"isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["cash deposit is only available in the customer's registered country"],"isRequired":true,"uniqueKey":"oneOf.2.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.2.cause","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["CashNotAvailableInState"],"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10106],"isRequired":true,"uniqueKey":"oneOf.3.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["cash onramp not available in this customer's state"],"isRequired":true,"uniqueKey":"oneOf.3.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.3.cause","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DailyCountExceeded"],"isRequired":true,"uniqueKey":"oneOf.4.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10224],"isRequired":true,"uniqueKey":"oneOf.4.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["daily transaction count limit reached"],"isRequired":true,"uniqueKey":"oneOf.4.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.4.cause","typeLabel":"string"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DailyLimitExceeded"],"isRequired":true,"uniqueKey":"oneOf.5.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10010],"isRequired":true,"uniqueKey":"oneOf.5.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["daily limit exceeded"],"isRequired":true,"uniqueKey":"oneOf.5.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.5.cause","typeLabel":"string"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DestinationAssetUnsupported"],"isRequired":true,"uniqueKey":"oneOf.6.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10182],"isRequired":true,"uniqueKey":"oneOf.6.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.details.asset is not a fiat asset the resolved bank flavour settles"],"isRequired":true,"uniqueKey":"oneOf.6.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.6.cause","typeLabel":"string"}},"uniqueKey":"oneOf.6","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DestinationInvalidReference"],"isRequired":true,"uniqueKey":"oneOf.7.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10177],"isRequired":true,"uniqueKey":"oneOf.7.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["invalid destination.details.id"],"isRequired":true,"uniqueKey":"oneOf.7.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.7.cause","typeLabel":"string"}},"uniqueKey":"oneOf.7","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DestinationRequired"],"isRequired":true,"uniqueKey":"oneOf.8.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10176],"isRequired":true,"uniqueKey":"oneOf.8.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.details.id is required"],"isRequired":true,"uniqueKey":"oneOf.8.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.8.cause","typeLabel":"string"}},"uniqueKey":"oneOf.8","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DestinationTypeInvalid"],"isRequired":true,"uniqueKey":"oneOf.9.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10175],"isRequired":true,"uniqueKey":"oneOf.9.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination type is not a known bank-EA discriminator"],"isRequired":true,"uniqueKey":"oneOf.9.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.9.cause","typeLabel":"string"}},"uniqueKey":"oneOf.9","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["DestinationWalletMismatch"],"isRequired":true,"uniqueKey":"oneOf.10.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10360],"isRequired":true,"uniqueKey":"oneOf.10.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination wallet cannot receive this cash-in: its asset and network are missing or do not match destination.asset and destination.network"],"isRequired":true,"uniqueKey":"oneOf.10.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.10.cause","typeLabel":"string"}},"uniqueKey":"oneOf.10","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["ExternalAccountIDRequired"],"isRequired":true,"uniqueKey":"oneOf.11.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10212],"isRequired":true,"uniqueKey":"oneOf.11.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination.type walletExternal requires destination.details.id"],"isRequired":true,"uniqueKey":"oneOf.11.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.11.cause","typeLabel":"string"}},"uniqueKey":"oneOf.11","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["ExternalAccountNotSupported"],"isRequired":true,"uniqueKey":"oneOf.12.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10123],"isRequired":true,"uniqueKey":"oneOf.12.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["external account destinations are not yet supported"],"isRequired":true,"uniqueKey":"oneOf.12.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.12.cause","typeLabel":"string"}},"uniqueKey":"oneOf.12","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MemoNotSupported"],"isRequired":true,"uniqueKey":"oneOf.13.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10023],"isRequired":true,"uniqueKey":"oneOf.13.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["memo is not supported on this rail"],"isRequired":true,"uniqueKey":"oneOf.13.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.13.cause","typeLabel":"string"}},"uniqueKey":"oneOf.13","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MonthlyCountExceeded"],"isRequired":true,"uniqueKey":"oneOf.14.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10226],"isRequired":true,"uniqueKey":"oneOf.14.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["monthly transaction count limit reached"],"isRequired":true,"uniqueKey":"oneOf.14.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.14.cause","typeLabel":"string"}},"uniqueKey":"oneOf.14","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["MonthlyLimitExceeded"],"isRequired":true,"uniqueKey":"oneOf.15.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10221],"isRequired":true,"uniqueKey":"oneOf.15.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["monthly limit exceeded"],"isRequired":true,"uniqueKey":"oneOf.15.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.15.cause","typeLabel":"string"}},"uniqueKey":"oneOf.15","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["NoRouteAvailable"],"isRequired":true,"uniqueKey":"oneOf.16.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10013],"isRequired":true,"uniqueKey":"oneOf.16.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["no route available for this corridor"],"isRequired":true,"uniqueKey":"oneOf.16.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.16.cause","typeLabel":"string"}},"uniqueKey":"oneOf.16","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["ProviderUserAccountNotFound"],"isRequired":true,"uniqueKey":"oneOf.17.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10029],"isRequired":true,"uniqueKey":"oneOf.17.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["provider account not provisioned for this customer"],"isRequired":true,"uniqueKey":"oneOf.17.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.17.cause","typeLabel":"string"}},"uniqueKey":"oneOf.17","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["RouteDisabled"],"isRequired":true,"uniqueKey":"oneOf.18.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10014],"isRequired":true,"uniqueKey":"oneOf.18.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["route is currently disabled"],"isRequired":true,"uniqueKey":"oneOf.18.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.18.cause","typeLabel":"string"}},"uniqueKey":"oneOf.18","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["UnsupportedDestination"],"isRequired":true,"uniqueKey":"oneOf.19.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10146],"isRequired":true,"uniqueKey":"oneOf.19.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["destination network does not resolve to a supported fiat-out rail"],"isRequired":true,"uniqueKey":"oneOf.19.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.19.cause","typeLabel":"string"}},"uniqueKey":"oneOf.19","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["Validation"],"isRequired":true,"uniqueKey":"oneOf.20.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10030],"isRequired":true,"uniqueKey":"oneOf.20.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["request validation failed"],"isRequired":true,"uniqueKey":"oneOf.20.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.20.cause","typeLabel":"string"}},"uniqueKey":"oneOf.20","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["WalletBoundToCustodialFlow"],"isRequired":true,"uniqueKey":"oneOf.21.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10317],"isRequired":true,"uniqueKey":"oneOf.21.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["this wallet's blockchain address is already bound to an active custodial deposit address or virtual account and cannot be used for this operation"],"isRequired":true,"uniqueKey":"oneOf.21.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.21.cause","typeLabel":"string"}},"uniqueKey":"oneOf.21","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["WeeklyCountExceeded"],"isRequired":true,"uniqueKey":"oneOf.22.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10225],"isRequired":true,"uniqueKey":"oneOf.22.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["weekly transaction count limit reached"],"isRequired":true,"uniqueKey":"oneOf.22.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.22.cause","typeLabel":"string"}},"uniqueKey":"oneOf.22","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["WeeklyLimitExceeded"],"isRequired":true,"uniqueKey":"oneOf.23.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10222],"isRequired":true,"uniqueKey":"oneOf.23.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["weekly limit exceeded"],"isRequired":true,"uniqueKey":"oneOf.23.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.23.cause","typeLabel":"string"}},"uniqueKey":"oneOf.23","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"AccountHolderUnsupported","code":10022,"msg":"destination.details.accountHolder must be customer","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a3cd42e4-990f-4cb5-a362-2957e4a67eef":{"description":"Server error","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["Internal"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10124],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["internal error"],"isRequired":true,"uniqueKey":"oneOf.0.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.0.cause","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error","code","msg"],"properties":{"error":{"type":"string","enum":["LimitMisconfigured"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"},"code":{"type":"number","enum":[10227],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cnumber>"},"msg":{"type":"string","enum":["transfer limit is misconfigured"],"isRequired":true,"uniqueKey":"oneOf.1.msg","typeLabel":"enum\u003cstring>"},"cause":{"type":"string","uniqueKey":"oneOf.1.cause","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Internal","code":10124,"msg":"internal error","cause":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b1aea6a0-4459-40bf-b820-54b4185236ba":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Token from POST /auth/token","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"3954f129-f90f-427b-a9e2-446f69cc945f":{"url":"https://sandbox-api.polygon.technology/v0.13","description":"Sandbox"},"e460259f-c88c-4163-8908-b2237c61abb1":{"url":"https://api.polygon.technology/v0.13","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Token from POST /auth/token","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Token from POST /auth/token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"polygon-labs","siteName":"Polygon Developer Docs","title":"Create a cash-in deposit code - Polygon Developer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T13:53:05.594Z","originalFileLocation":"api-reference/cashins/create-a-cash-in-deposit-code.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=\"light\"}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=\"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Polygon Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_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/polygon-labs/mGaxVdHZf09e3t79/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a cash-in deposit code - Polygon Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Polygon Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polygon-labs.mintlify.site/_mintlify/api/og/v2?division=Cash-In\u0026amp;title=Create+a+cash-in+deposit+code\u0026amp;description=Creates+a+cash-in%3A+reserves+a+deposit+code+the+customer+presents+at+a+physical+cash+location+to+deposit+fiat%2C+which+is+then+converted+to+crypto+and+credited+to+\u0026amp;theme=b36bd2d42ef34b1589e85268\u0026amp;signature=a9ad8eb6e50e1cd2fe0956b696c18d0fb2fc37231d91325e671f41830fbf5506\">\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 a cash-in deposit code - Polygon Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polygon-labs.mintlify.site/_mintlify/api/og/v2?division=Cash-In\u0026amp;title=Create+a+cash-in+deposit+code\u0026amp;description=Creates+a+cash-in%3A+reserves+a+deposit+code+the+customer+presents+at+a+physical+cash+location+to+deposit+fiat%2C+which+is+then+converted+to+crypto+and+credited+to+\u0026amp;theme=b36bd2d42ef34b1589e85268\u0026amp;signature=a9ad8eb6e50e1cd2fe0956b696c18d0fb2fc37231d91325e671f41830fbf5506\">\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/polygon-labs/mGaxVdHZf09e3t79/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Polygon Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#670DE5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/cashins/create-a-cash-in-deposit-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.polygon.technology/#organization\",\"name\":\"Polygon Developer Docs\",\"url\":\"https://docs.polygon.technology\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polygon-labs/ll1LL3IdpC3YxXZu/logo/light.svg?fit=max\u0026auto=format\u0026n=ll1LL3IdpC3YxXZu\u0026q=85\u0026s=d54ddb30492807a0eadf38093c075f2f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.polygon.technology#website\",\"name\":\"Polygon Developer Docs\",\"url\":\"https://docs.polygon.technology\",\"publisher\":{\"@id\":\"https://docs.polygon.technology/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code#webpage\",\"url\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code\",\"name\":\"Create a cash-in deposit code\",\"description\":\"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\",\"dateModified\":\"2026-11-12T13:53:05.594Z\",\"isPartOf\":{\"@id\":\"https://docs.polygon.technology#website\"},\"breadcrumb\":{\"@id\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Move money\",\"item\":\"https://docs.polygon.technology/api-reference/quote/create-a-payment-quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a cash-in deposit code\",\"item\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code#apireference\",\"headline\":\"Create a cash-in deposit code\",\"name\":\"Create a cash-in deposit code\",\"description\":\"Creates a cash-in: reserves a deposit code the customer presents at a physical cash location to deposit fiat, which is then converted to crypto and credited to the destination wallet. The 201 response includes the cash-in and its deposit instructions (the code and its expiry). Pass an Idempotency-Key header to safely retry without creating duplicates.\",\"url\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.polygon.technology/api-reference/cashins/create-a-cash-in-deposit-code#webpage\"},\"dateModified\":\"2026-11-12T13:53:05.594Z\",\"publisher\":{\"@id\":\"https://docs.polygon.technology/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.polygon.technology#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/cashins/create-a-cash-in-deposit-code.md","siteName":"Polygon Developer Docs","nav":{"global":null,"tabs":[{"tab":"Platform","icon":"layer-group","pages":[{"title":"Platform","href":""}]},{"tab":"Payments","pages":[{"title":"Payments","href":"/payments/overview"}]},{"tab":"Wallets","pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Cross-chain","pages":[{"title":"Cross-chain","href":"/cross-chain"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Open Money Stack API","href":"/api-reference/overview"}]},{"group":"Move money","pages":[{"group":"Quotes","pages":[{"title":"Create a payment quote","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /quotes","href":"/api-reference/quote/create-a-payment-quote"},{"title":"Get quote by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /quotes/{quoteId}","href":"/api-reference/quote/get-quote-by-id"}]},{"group":"Transactions","pages":[{"title":"Execute a transaction (send)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /transactions","href":"/api-reference/transaction/execute-a-transaction-send"},{"title":"List transactions with filters","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /transactions","href":"/api-reference/transaction/list-transactions-with-filters"},{"title":"Get transaction by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /transactions/{transactionId}","href":"/api-reference/transaction/get-transaction-by-id"}]},{"group":"Transfers","pages":[{"title":"Get transfer by ID","description":"Retrieves one transfer of a transaction by ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /transfers/{transferId}","href":"/api-reference/transfer/get-transfer-by-id"}]},{"group":"Cash-In","pages":[{"title":"Create a cash-in deposit code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins","href":"/api-reference/cashins/create-a-cash-in-deposit-code"},{"title":"List cash-ins","description":"Returns a paginated list of cash-ins, optionally filtered by customer, status, type, date range, or free-text search. Results are ordered newest-first. Date filters `createdAfter` and `createdBefore` are inclusive, matching `GET /transactions`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /cash-ins","href":"/api-reference/cashins/list-cash-ins"},{"title":"Get a cash-in by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /cash-ins/{cashInId}","href":"/api-reference/cashins/get-a-cash-in-by-id"},{"title":"Refresh a cash-in deposit code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins/{cashInId}/refresh","href":"/api-reference/cashins/refresh-a-cash-in-deposit-code"},{"title":"Cancel a cash-in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins/{cashInId}/cancel","href":"/api-reference/cashins/cancel-a-cash-in"}]}]},{"group":"Routes","pages":[{"group":"Deposit Addresses","pages":[{"title":"Create a Deposit Address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /deposit-addresses","href":"/api-reference/depositaddress/create-a-deposit-address"},{"title":"List all Deposit Addresses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /deposit-addresses","href":"/api-reference/depositaddress/list-all-deposit-addresses"},{"title":"Get a Deposit Address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /deposit-addresses/{depositAddressId}","href":"/api-reference/depositaddress/get-a-deposit-address"},{"title":"Update a Deposit Address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /deposit-addresses/{depositAddressId}","href":"/api-reference/depositaddress/update-a-deposit-address"}]},{"group":"Virtual Accounts","pages":[{"title":"Create a Virtual Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /virtual-accounts","href":"/api-reference/virtualaccount/create-a-virtual-account"},{"title":"List all Virtual Accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /virtual-accounts","href":"/api-reference/virtualaccount/list-all-virtual-accounts"},{"title":"Get a Virtual Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /virtual-accounts/{virtualAccountId}","href":"/api-reference/virtualaccount/get-a-virtual-account"},{"title":"Update a Virtual Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /virtual-accounts/{virtualAccountId}","href":"/api-reference/virtualaccount/update-a-virtual-account"},{"title":"Delete a Virtual Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /virtual-accounts/{virtualAccountId}","href":"/api-reference/virtualaccount/delete-a-virtual-account"}]}]},{"group":"External Payment Methods","pages":[{"group":"Counterparties","pages":[{"title":"Create a Counterparty","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /counterparties","href":"/api-reference/counterparty/create-a-counterparty"},{"title":"List Counterparties","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /counterparties","href":"/api-reference/counterparty/list-counterparties"},{"title":"Get a Counterparty","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /counterparties/{counterpartyId}","href":"/api-reference/counterparty/get-a-counterparty"},{"title":"Update a Counterparty","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /counterparties/{counterpartyId}","href":"/api-reference/counterparty/update-a-counterparty"},{"title":"Delete a Counterparty","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /counterparties/{counterpartyId}","href":"/api-reference/counterparty/delete-a-counterparty"}]},{"group":"External Accounts","pages":[{"title":"Create an External Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /external-accounts","href":"/api-reference/externalaccount/create-an-external-account"},{"title":"Register a card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /external-accounts/cards","href":"/api-reference/externalaccount/register-a-card"},{"title":"List External Accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /external-accounts","href":"/api-reference/externalaccount/list-external-accounts"},{"title":"Get an External Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /external-accounts/{externalAccountId}","href":"/api-reference/externalaccount/get-an-external-account"},{"title":"Update an External Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /external-accounts/{externalAccountId}","href":"/api-reference/externalaccount/update-an-external-account"},{"title":"Delete an External Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /external-accounts/{externalAccountId}","href":"/api-reference/externalaccount/delete-an-external-account"}]}]},{"group":"Platform","pages":[{"group":"Auth","pages":[{"title":"Get bearer token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /auth/token","href":"/api-reference/auth/get-bearer-token"}]},{"group":"Customers","pages":[{"title":"Create a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers","href":"/api-reference/customers/create-a-customer"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers","href":"/api-reference/customers/list-customers"},{"title":"Get customer by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customerId}","href":"/api-reference/customers/get-customer-by-id"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /customers/{customerId}","href":"/api-reference/customers/update-a-customer"},{"title":"Delete a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customers/{customerId}","href":"/api-reference/customers/delete-a-customer"},{"title":"Create a browser token for a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customerId}/token","href":"/api-reference/customertokens/create-a-browser-token-for-a-customer"},{"title":"Get browser risk configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /risk/config","href":"/api-reference/get-browser-risk-configuration"}]},{"group":"Business onboarding","pages":[{"title":"Create a business beneficiary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customerId}/beneficiaries","href":"/api-reference/business-onboarding/create-a-business-beneficiary"},{"title":"List business beneficiaries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customerId}/beneficiaries","href":"/api-reference/business-onboarding/list-business-beneficiaries"},{"title":"Get a business beneficiary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customerId}/beneficiaries/{beneficiaryId}","href":"/api-reference/business-onboarding/get-a-business-beneficiary"},{"title":"Update a business beneficiary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /customers/{customerId}/beneficiaries/{beneficiaryId}","href":"/api-reference/business-onboarding/update-a-business-beneficiary"},{"title":"Delete a business beneficiary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /customers/{customerId}/beneficiaries/{beneficiaryId}","href":"/api-reference/business-onboarding/delete-a-business-beneficiary"},{"title":"Submit a business onboarding","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customerId}/onboardings","href":"/api-reference/business-onboarding/submit-a-business-onboarding"},{"title":"List business onboardings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customerId}/onboardings","href":"/api-reference/business-onboarding/list-business-onboardings"},{"title":"Get a business onboarding","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /customers/{customerId}/onboardings/{onboardingId}","href":"/api-reference/business-onboarding/get-a-business-onboarding"}]},{"group":"Wallets","pages":[{"title":"List wallets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /wallets","href":"/api-reference/wallet/list-wallets"},{"title":"Create a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /wallets","href":"/api-reference/wallet/create-a-wallet"},{"title":"Get a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /wallets/{id}","href":"/api-reference/wallet/get-a-wallet"},{"title":"Update a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /wallets/{id}","href":"/api-reference/wallet/update-a-wallet"},{"title":"Get a wallet-provisioning operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /wallets/operations/{operationId}","href":"/api-reference/wallet/get-a-wallet-provisioning-operation"},{"title":"Associate an embedded wallet with a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /customers/{customerId}/wallets/associate","href":"/api-reference/wallets/associate-an-embedded-wallet-with-a-customer"}]},{"group":"Cash Locations","pages":[{"title":"List cash locations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /cash-locations","href":"/api-reference/cashlocation/list-cash-locations"}]},{"group":"Webhooks","pages":[{"title":"Webhook events","href":"/api-reference/webhook-events"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Get webhook by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhooks/{webhookId}","href":"/api-reference/webhooks/get-webhook-by-id"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /webhooks/{webhookId}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /webhooks/{webhookId}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Enable a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks/{webhookId}/enable","href":"/api-reference/webhooks/enable-a-webhook"},{"title":"Disable a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks/{webhookId}/disable","href":"/api-reference/webhooks/disable-a-webhook"},{"title":"Rotate the signing key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks/{webhookId}/rotate-key","href":"/api-reference/webhooks/rotate-the-signing-key"},{"title":"Send a test delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks/{webhookId}/test","href":"/api-reference/webhooks/send-a-test-delivery"},{"title":"List deliveries for a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhooks/{webhookId}/deliveries","href":"/api-reference/webhooks/list-deliveries-for-a-webhook"},{"title":"Get a delivery with its attempts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /webhooks/{webhookId}/deliveries/{deliveryId}","href":"/api-reference/webhooks/get-a-delivery-with-its-attempts"},{"title":"Retry deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /webhooks/{webhookId}/deliveries/retry","href":"/api-reference/webhooks/retry-deliveries"}]},{"group":"Reference","pages":[{"title":"List supported networks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /networks","href":"/api-reference/reference/list-supported-networks"},{"title":"Get account-type requirements","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /reference/account-type-requirements","href":"/api-reference/reference/get-account-type-requirements"}]},{"group":"Sandbox Simulations","pages":[{"title":"Simulate inbound transfer on a Virtual Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /virtual-accounts/{virtualAccountId}/simulate/inbound-transfer","href":"/api-reference/sandbox/simulate-inbound-transfer-on-a-virtual-account"},{"title":"Simulate cash-in present code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins/{cashInId}/simulate/present-code","href":"/api-reference/sandbox/simulate-cash-in-present-code"},{"title":"Simulate cash-in deposit cash","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins/{cashInId}/simulate/deposit-cash","href":"/api-reference/sandbox/simulate-cash-in-deposit-cash"},{"title":"Simulate cash-in cancel","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /cash-ins/{cashInId}/simulate/cancel","href":"/api-reference/sandbox/simulate-cash-in-cancel"}]}]},{"group":"Read onchain data","pages":[{"group":"Token Balances","pages":[{"title":"Get token balance summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTokenBalancesSummary","href":"/api-reference/indexer/get-token-balance-summary"},{"title":"Get token balance details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTokenBalancesDetails","href":"/api-reference/indexer/get-token-balance-details"},{"title":"Get token balances by contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTokenBalancesByContract","href":"/api-reference/indexer/get-token-balances-by-contract"},{"title":"Get native token balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetNativeTokenBalance","href":"/api-reference/indexer/get-native-token-balance"},{"title":"Get balance updates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetBalanceUpdates","href":"/api-reference/indexer/get-balance-updates"},{"title":"Get Solana token balances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/SolanaIndexerGateway/GetTokenBalancesDetails","href":"/api-reference/indexer/get-solana-token-balances"},{"title":"Get Tron token balances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/TronIndexerGateway/GetTokenBalancesDetails","href":"/api-reference/indexer/get-tron-token-balances"}]},{"group":"Token Prices","pages":[{"title":"Get token price","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTokenPrice","href":"/api-reference/indexer/get-token-price"},{"title":"Get token prices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTokenPrices","href":"/api-reference/indexer/get-token-prices"}]},{"group":"Transaction History","pages":[{"title":"Get transaction history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetTransactionHistory","href":"/api-reference/indexer/get-transaction-history"}]},{"group":"Chains","pages":[{"title":"List chains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/IndexerGateway/GetChains","href":"/api-reference/indexer/list-chains"}]}]}]},{"tab":"Infrastructure","icon":"server","pages":[{"title":"Infrastructure","href":"/infrastructure"}]},{"tab":"Polygon Chain","pages":[{"title":"Polygon Chain","href":"/pos/overview"}]},{"tab":"Polygon CDK","pages":[{"title":"Polygon CDK","href":"/chain-development/cdk"}]},{"tab":"Agglayer","pages":[{"title":"Agglayer","href":"/interoperability/overview"}]},{"tab":"Agentic","pages":[{"title":"Agentic","href":"/payment-services/agentic-payments/agent-integration/intro"}]}]},"basePath":"","title":"Create a cash-in deposit code - Polygon Developer Docs","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}