NanoGPT supports multiple deposit methods (crypto, stablecoins, and cards). This page documents the public endpoints you can use to:
Create a deposit payment intent
Check deposit limits
Track deposit status (polling or SSE)
Deposits are credited automatically after payment confirmation.
Automating deposits
Choose a payment method and create its invoice or payment window using your
account API key. Check the endpoint’s amount units and current limits.
Save the complete response, including the transaction ID, destination, amount
and expiry, before sending funds. Use the specified asset and network.
Send the payment once. A reused address does not necessarily mean continuous
monitoring; methods with payment windows require a new window for each top-up.
Poll the method’s status endpoint until balance credit is confirmed. Payment
detection or blockchain confirmation alone is not proof of credited balance.
On a timeout or expired window, reconcile the original request and wallet
transaction before trying again. Do not resend funds merely because polling
failed. Keep the transaction ID and blockchain hash for support.
Retry protection, amount matching, expiry and fees differ by method. Only send an
Idempotency-Key where the endpoint explicitly supports it. Follow Retry-After
and polling headers, and use bounded backoff for temporary failures.
Monitored deposits
POST /api/deposit/create creates a network-specific payment window, separate
from the invoice endpoints below. Authenticate with the same account API key.
Two flows are documented: native POL on Polygon PoS, and
USDT on BNB Smart Chain. The native POL contract:
Request or response
Native POL
Request
network: "polygon", token: "POL" (POLYGON is also accepted), amount in gross USD
Network
Polygon PoS, chain ID 137; native POL only
Limits
Currently $0.10-$25,000 USD per request; check minimumDepositUsd in the response
Amount to send
quotedTokenAmount (decimal string) or quotedTokenAmountAtomic (integer string, 18 decimals)
Destination and expiry
Use the returned address and expiresAt (Unix seconds); the default window is 30 minutes
Optional expiry
expires_at, a future Unix timestamp in seconds, at most 30 minutes from creation
Status
Poll the returned statusUrl, or /api/transaction/status/polygon/{txId} with the complete ID URL-encoded
Confirmed credit
status: "COMPLETED" and balanceCredited: true; actual USD credit is settlement.creditedUsdExact
Save atomic amounts as integers or strings, never floating-point numbers.
For this flow, the legacy amountCrypto creation field contains the USD estimate,
not the token quantity. The quote is not price-locked: one slightly smaller or
larger transfer is valued from the amount actually received. Do not split a
payment across multiple transfers.Native POL (and USDT on BNB Smart Chain) supports an optional Idempotency-Key of 8-128 visible ASCII characters
without spaces, retained for 24 hours. Use a unique key per top-up and keep the key
and request unchanged on retries. A replay neither extends expiry nor authorizes
another wallet transfer. If creation returns an existing pending payment or an
uncertain outcome (409/503), reconcile that request before sending. Other
methods do not inherit this support.Send early enough for inclusion on-chain within the window. Confirmation can
continue afterward, but late arrivals are not guaranteed automatic credit.
An expired status does not mean that a transfer was reversed or that no funds
were sent. Contact support with the original transaction ID and hash if needed.
USDT on BNB Smart Chain
The same endpoint opens a window for USDT (BEP-20) on BNB Smart Chain. It suits
server wallets and contract wallets such as a Safe: the window matches the USDT
transfer to your address, whoever sends it.
Request or response
USDT on BNB Smart Chain
Request
network: "bnb", token: "USDT" (uppercase), amount in USD
Up to $25,000 per window. After the quoted consolidation fee the credit must be at least $0.10; a smaller amount returns 400 with requiredGrossUsd
Amount to send
quotedTokenAmount USDT (decimal string), or quotedTokenAmountAtomic as the uint256 of transfer(address,uint256). 1 USDT is credited as $1
Destination and expiry
The returned address and expiresAt (Unix seconds); the default window is 30 minutes
Optional expiry
expires_at, a future Unix timestamp in seconds, at most 30 minutes from creation
Status
Poll the returned statusUrl, or /api/transaction/status/bnb/{txId} with the complete ID URL-encoded
Confirmed credit
status: "COMPLETED" and balanceCredited: true; the USD credited is settlement.creditedUsdExact
Your address is the same every time, but it is only watched while a window is
open. Open the window first, wait for the 200 response, then broadcast the
transfer. A transfer mined before the window opened, or after it expired, is not
credited automatically; contact support with the transaction hash. For a Safe,
open the window just before you execute the transaction, not when you propose it.
Send one USDT transfer per window. Any amount is credited; it does not have to
equal quotedTokenAmount. A second transfer in the same window is not credited
automatically, so open a new window for the next payment.
Send USDT only. Other tokens (USDC, BNB, BUSD) are not credited by a USDT window.
One USDT window can be open per account. Creating another while one is open
returns 409 with code: "deposit_already_pending" and the open window in
transaction; pay into that one or wait for it to finish. Match windows by
jobId: the address inside txId can differ in letter case between responses,
and either form works on the status endpoint.
Idempotency-Key works the same way as for native POL. Keyed calls, including
replays, are limited to 30 per 10 minutes per account, and every create call
counts toward 30 per 10 minutes per account. Follow Retry-After on 429 and
503.
PROCESSING means the transfer was seen and the ledger credit is on its way;
keep polling. EXPIRED means the window closed without a credited transfer.
# 1. Open a window (amount is USD = USDT to send)curl -X POST https://nano-gpt.com/api/deposit/create \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: topup-2026-11-17-0001" \ -d '{"network":"bnb","token":"USDT","amount":150}'# Response (abridged)# {# "txId": "0xYourAddress:6f1c...:1795392000",# "address": "0xYourAddress",# "network": "bnb", "token": "USDT", "chainId": 56,# "tokenContract": "0x55d398326f99059fF775485246999027B3197955",# "tokenDecimals": 18,# "quotedTokenAmount": "150",# "quotedTokenAmountAtomic": "150000000000000000000",# "expiresAt": 1795392000,# "statusUrl": "/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000",# "status": "PENDING"# }# 2. Send 150 USDT to "address" on BNB Smart Chain before expiresAt# 3. Poll until COMPLETED with balanceCredited: truecurl "https://nano-gpt.com/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000" \ -H "x-api-key: YOUR_API_KEY"
For USDT, settlement credits the USDT received at $1, minus the consolidation fee
quoted for the window (consolidationFeeUsdExact), plus the 3% bonus for eligible
deposits. creditEstimate itemizes this for the requested amount.
Deposit fees and credit
Review the payment quote for conversion spreads, consolidation fees and bonus
eligibility. Your wallet pays any sending network fee separately. Do not treat
an estimated credit as a guaranteed final amount.For native POL, settlement applies a 1% conversion spread, the current $0.00
consolidation fee, then the 3% bonus for eligible deposits. The bonus is included
with the credit for API-created deposits too. creditEstimate itemizes the quote;
settlement.creditedUsdExact reports the completed ledger credit. Other methods
can have different fees and settlement rules.
Supported Payment Methods
Limits vary by method and can change. Use GET /api/transaction/limits/{ticker} for the authoritative min/max.
Crypto (invoice / address)
Ticker
Name
Provider
BTC
Bitcoin
BTCPay
BTC-LN
Bitcoin Lightning
BTCPay
LTC
Litecoin
BTCPay
LTC-MWEB
Litecoin MWEB
BTCPay
XMR
Monero
BTCPay
DOGE
Dogecoin
BTCPay
DASH
Dash
BTCPay
ZEC
Zcash
BTCPay
BCH
Bitcoin Cash
Prompt.Cash
BAN
Banano
Nanswap (legacy)
KAS
Kaspa
Nanswap
TON
Toncoin
Nanswap
NEAR
NEAR Protocol
Nanswap
EGLD
MultiversX
Nanswap
VVV
VVV
Nanswap
ZANO
Zano
Zano proxy
FUSD
Freedom Dollar
Zano proxy
Stablecoins and multi-chain (Daimo Pay)
These methods settle as USDC and can be paid from multiple chains/wallets.
Ticker
Name
USDC
USD Coin
USDT
Tether
ETH
Ethereum
SOL
Solana
Fiat (card)
Ticker
Name
Provider
USD
US Dollar
Stripe
EUR
Euro
Stripe
GBP
British Pound
Stripe
Nano (direct deposit)
Nano deposits use a direct-send flow to your assigned Nano deposit address (no invoice creation).See: Check Balance and Receive Nano.
Authentication
The deposit creation and status endpoints require API key authentication using one of these methods:
BTC-LN: Lightning deposits may include a bonus on the credited amount (if enabled).
XNO: Paying with Nano balance may include a usage discount (if enabled).
USDC via Daimo: USDC stablecoin deposits typically credit close to $1 per 1 USDC.
Error Handling
HTTP Status Codes
Code
Description
200
Success
400
Invalid amount, unsupported ticker, or below/above limits
401
Authentication failure
429
Rate limited
500
Provider unavailable or internal error
Common Error Messages
Amount Validation Errors
"No amount specified" - Missing amount in request body
"Invalid amount. Must be a positive number." - Amount validation failed
"Minimum amount is X" - Below minimum threshold
"Maximum amount is X" - Above maximum threshold
Provider Errors
"Unsupported ticker" - Ticker not supported
"This payment method is currently not available" - Provider temporarily unavailable
Rate Limits
Limits vary by endpoint. Native POL creation with Idempotency-Key, including
replays, is limited to 30 requests per 10 minutes per account and tenant.
Use status polling for known payments and follow Retry-After on rate-limit
responses; follow X-Poll-After where provided for polling.
Payment Flow
1
Create Invoice
Call /api/transaction/create/{ticker} with desired amount
2
Get Address
Extract address from response
3
Send Payment
User sends crypto to the provided address
4
Auto-Credit
Account balance automatically updated when payment confirms
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NanoGPT API Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/nano-gpt/6FCMRUAo4M2hGCVC/logo/light.svg?fit=max\u0026auto=format\u0026n=6FCMRUAo4M2hGCVC\u0026q=85\u0026s=d89f6de57aa2b12dc2ea56df5d7ec9f6","dark":"https://mintcdn.com/nano-gpt/6FCMRUAo4M2hGCVC/logo/dark.svg?fit=max\u0026auto=format\u0026n=6FCMRUAo4M2hGCVC\u0026q=85\u0026s=8717638b8ac464bcb371e66f6429ec5d"},"favicon":"https://mintcdn.com/nano-gpt/1yMRHEfiogPQFOKv/favicon.ico?fit=max\u0026auto=format\u0026n=1yMRHEfiogPQFOKv\u0026q=85\u0026s=c3c8e62fe0b2e0c9b152dad359de4eae","api":{"openapi":"api-reference/openapi.json","playground":{}},"navbar":{"links":[{"href":"/volume-pricing","label":"Volume Pricing"},{"href":"mailto:support@nano-gpt.com","label":"Support"}],"primary":{"type":"button","label":"Back to NanoGPT","href":"https://nano-gpt.com"}},"footer":{"socials":{"x":"https://x.com/nanogptcom","discord":"https://discord.gg/KaQt8gPG6V","linkedin":"https://linkedin.com/company/nanogpt"}},"variables":{"example-text-model":"openai/gpt-6.1-sol","example-text-model-name":"GPT 6.1 Sol"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Back to NanoGPT","icon":"book-open-cover","href":"https://nano-gpt.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/KaQt8gPG6V"},{"anchor":"Blog","icon":"newspaper","href":"https://nano-gpt.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nano-gpt","hasAudioNarration":false,"actualSubdomain":"nano-gpt","customDomains":["docs.nano-gpt.com"],"gitSource":{"type":"github","owner":"nano-gpt-com","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0855d3c08b84f405f98f90","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Endpoint Examples","count":56},{"language":"default","tag":"Miscellaneous","count":36},{"language":"default","tag":"Integrations","count":24},{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"Get Started","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/crypto-deposits","slug":"/api-reference/endpoint/crypto-deposits","pageMetadata":{"title":"Deposits (Crypto + Fiat)","api":"POST https://nano-gpt.com/api/transaction/create/{ticker}","description":"Create deposit payment intents and track status programmatically","href":"/api-reference/endpoint/crypto-deposits"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create deposit payment intents and track status programmatically\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,Heading,ParamField,ResponseField,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`NanoGPT supports multiple deposit methods (crypto, stablecoins, and cards). This page documents the public endpoints you can use to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create a deposit payment intent`}),`\n`,_jsx(_components.li,{children:`Check deposit limits`}),`\n`,_jsx(_components.li,{children:`Track deposit status (polling or SSE)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Deposits are credited automatically after payment confirmation.`}),`\n`,_jsx(Heading,{level:`2`,id:`automating-deposits`,children:`Automating deposits`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Choose a payment method and create its invoice or payment window using your\naccount API key. Check the endpoint’s amount units and current limits.`}),`\n`,_jsx(_components.li,{children:`Save the complete response, including the transaction ID, destination, amount\nand expiry, before sending funds. Use the specified asset and network.`}),`\n`,_jsx(_components.li,{children:`Send the payment once. A reused address does not necessarily mean continuous\nmonitoring; methods with payment windows require a new window for each top-up.`}),`\n`,_jsx(_components.li,{children:`Poll the method’s status endpoint until balance credit is confirmed. Payment\ndetection or blockchain confirmation alone is not proof of credited balance.`}),`\n`,_jsx(_components.li,{children:`On a timeout or expired window, reconcile the original request and wallet\ntransaction before trying again. Do not resend funds merely because polling\nfailed. Keep the transaction ID and blockchain hash for support.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Retry protection, amount matching, expiry and fees differ by method. Only send an\n`,_jsx(_components.code,{children:`Idempotency-Key`}),` where the endpoint explicitly supports it. Follow `,_jsx(_components.code,{children:`Retry-After`}),`\nand polling headers, and use bounded backoff for temporary failures.`]}),`\n`,_jsx(Heading,{level:`2`,id:`monitored-deposits`,children:`Monitored deposits`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /api/deposit/create`}),` creates a network-specific payment window, separate\nfrom the invoice endpoints below. Authenticate with the same account API key.\nTwo flows are documented: native POL on Polygon PoS, and\n`,_jsx(_components.a,{href:`#usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`. The native POL contract:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request or response`}),_jsx(_components.th,{children:`Native POL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`network: \"polygon\"`}),`, `,_jsx(_components.code,{children:`token: \"POL\"`}),` (`,_jsx(_components.code,{children:`POLYGON`}),` is also accepted), `,_jsx(_components.code,{children:`amount`}),` in gross USD`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Network`}),_jsxs(_components.td,{children:[`Polygon PoS, chain ID `,_jsx(_components.code,{children:`137`}),`; native POL only`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limits`}),_jsxs(_components.td,{children:[`Currently `,`$0.10-$`,`25,000 USD per request; check `,_jsx(_components.code,{children:`minimumDepositUsd`}),` in the response`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Amount to send`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`quotedTokenAmount`}),` (decimal string) or `,_jsx(_components.code,{children:`quotedTokenAmountAtomic`}),` (integer string, 18 decimals)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destination and expiry`}),_jsxs(_components.td,{children:[`Use the returned `,_jsx(_components.code,{children:`address`}),` and `,_jsx(_components.code,{children:`expiresAt`}),` (Unix seconds); the default window is 30 minutes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional expiry`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expires_at`}),`, a future Unix timestamp in seconds, at most 30 minutes from creation`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Status`}),_jsxs(_components.td,{children:[`Poll the returned `,_jsx(_components.code,{children:`statusUrl`}),`, or `,_jsx(_components.code,{children:`/api/transaction/status/polygon/{txId}`}),` with the complete ID URL-encoded`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Confirmed credit`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`status: \"COMPLETED\"`}),` and `,_jsx(_components.code,{children:`balanceCredited: true`}),`; actual USD credit is `,_jsx(_components.code,{children:`settlement.creditedUsdExact`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Save atomic amounts as integers or strings, never floating-point numbers.\nFor this flow, the legacy `,_jsx(_components.code,{children:`amountCrypto`}),` creation field contains the USD estimate,\nnot the token quantity. The quote is not price-locked: one slightly smaller or\nlarger transfer is valued from the amount actually received. Do not split a\npayment across multiple transfers.`]}),`\n`,_jsxs(_components.p,{children:[`Native POL (and `,_jsx(_components.a,{href:`#usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`) supports an optional `,_jsx(_components.code,{children:`Idempotency-Key`}),` of 8-128 visible ASCII characters\nwithout spaces, retained for 24 hours. Use a unique key per top-up and keep the key\nand request unchanged on retries. A replay neither extends expiry nor authorizes\nanother wallet transfer. If creation returns an existing pending payment or an\nuncertain outcome (`,_jsx(_components.code,{children:`409`}),`/`,_jsx(_components.code,{children:`503`}),`), reconcile that request before sending. Other\nmethods do not inherit this support.`]}),`\n`,_jsx(_components.p,{children:`Send early enough for inclusion on-chain within the window. Confirmation can\ncontinue afterward, but late arrivals are not guaranteed automatic credit.\nAn expired status does not mean that a transfer was reversed or that no funds\nwere sent. Contact support with the original transaction ID and hash if needed.`}),`\n`,_jsx(Heading,{level:`3`,id:`usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`\n`,_jsx(_components.p,{children:`The same endpoint opens a window for USDT (BEP-20) on BNB Smart Chain. It suits\nserver wallets and contract wallets such as a Safe: the window matches the USDT\ntransfer to your address, whoever sends it.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request or response`}),_jsx(_components.th,{children:`USDT on BNB Smart Chain`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`network: \"bnb\"`}),`, `,_jsx(_components.code,{children:`token: \"USDT\"`}),` (uppercase), `,_jsx(_components.code,{children:`amount`}),` in USD`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Network`}),_jsxs(_components.td,{children:[`BNB Smart Chain, chain ID `,_jsx(_components.code,{children:`56`}),`; USDT contract `,_jsx(_components.code,{children:`0x55d398326f99059fF775485246999027B3197955`}),`, 18 decimals`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limits`}),_jsxs(_components.td,{children:[`Up to `,`$25,000 per window. After the quoted consolidation fee the credit must be at least $`,`0.10; a smaller `,_jsx(_components.code,{children:`amount`}),` returns `,_jsx(_components.code,{children:`400`}),` with `,_jsx(_components.code,{children:`requiredGrossUsd`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Amount to send`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`quotedTokenAmount`}),` USDT (decimal string), or `,_jsx(_components.code,{children:`quotedTokenAmountAtomic`}),` as the `,_jsx(_components.code,{children:`uint256`}),` of `,_jsx(_components.code,{children:`transfer(address,uint256)`}),`. 1 USDT is credited as $1`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destination and expiry`}),_jsxs(_components.td,{children:[`The returned `,_jsx(_components.code,{children:`address`}),` and `,_jsx(_components.code,{children:`expiresAt`}),` (Unix seconds); the default window is 30 minutes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional expiry`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expires_at`}),`, a future Unix timestamp in seconds, at most 30 minutes from creation`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Status`}),_jsxs(_components.td,{children:[`Poll the returned `,_jsx(_components.code,{children:`statusUrl`}),`, or `,_jsx(_components.code,{children:`/api/transaction/status/bnb/{txId}`}),` with the complete ID URL-encoded`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Confirmed credit`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`status: \"COMPLETED\"`}),` and `,_jsx(_components.code,{children:`balanceCredited: true`}),`; the USD credited is `,_jsx(_components.code,{children:`settlement.creditedUsdExact`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Your address is the same every time, but it is only watched while a window is\nopen. `,_jsxs(_components.strong,{children:[`Open the window first, wait for the `,_jsx(_components.code,{children:`200`}),` response, then broadcast the\ntransfer.`]}),` A transfer mined before the window opened, or after it expired, is not\ncredited automatically; contact support with the transaction hash. For a Safe,\nopen the window just before you execute the transaction, not when you propose it.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Send one USDT transfer per window. Any amount is credited; it does not have to\nequal `,_jsx(_components.code,{children:`quotedTokenAmount`}),`. A second transfer in the same window is not credited\nautomatically, so open a new window for the next payment.`]}),`\n`,_jsx(_components.li,{children:`Send USDT only. Other tokens (USDC, BNB, BUSD) are not credited by a USDT window.`}),`\n`,_jsxs(_components.li,{children:[`One USDT window can be open per account. Creating another while one is open\nreturns `,_jsx(_components.code,{children:`409`}),` with `,_jsx(_components.code,{children:`code: \"deposit_already_pending\"`}),` and the open window in\n`,_jsx(_components.code,{children:`transaction`}),`; pay into that one or wait for it to finish. Match windows by\n`,_jsx(_components.code,{children:`jobId`}),`: the address inside `,_jsx(_components.code,{children:`txId`}),` can differ in letter case between responses,\nand either form works on the status endpoint.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Idempotency-Key`}),` works the same way as for native POL. Keyed calls, including\nreplays, are limited to 30 per 10 minutes per account, and every create call\ncounts toward 30 per 10 minutes per account. Follow `,_jsx(_components.code,{children:`Retry-After`}),` on `,_jsx(_components.code,{children:`429`}),` and\n`,_jsx(_components.code,{children:`503`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROCESSING`}),` means the transfer was seen and the ledger credit is on its way;\nkeep polling. `,_jsx(_components.code,{children:`EXPIRED`}),` means the window closed without a credited transfer.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1. Open a window (amount is USD = USDT to send)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/deposit/create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: topup-2026-11-17-0001\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"network\":\"bnb\",\"token\":\"USDT\",\"amount\":150}'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Response (abridged)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"txId\": \"0xYourAddress:6f1c...:1795392000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"address\": \"0xYourAddress\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"network\": \"bnb\", \"token\": \"USDT\", \"chainId\": 56,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"tokenContract\": \"0x55d398326f99059fF775485246999027B3197955\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"tokenDecimals\": 18,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"quotedTokenAmount\": \"150\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"quotedTokenAmountAtomic\": \"150000000000000000000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"expiresAt\": 1795392000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"statusUrl\": \"/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"status\": \"PENDING\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 2. Send 150 USDT to \"address\" on BNB Smart Chain before expiresAt`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 3. Poll until COMPLETED with balanceCredited: true`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For USDT, settlement credits the USDT received at $1, minus the consolidation fee\nquoted for the window (`,_jsx(_components.code,{children:`consolidationFeeUsdExact`}),`), plus the 3% bonus for eligible\ndeposits. `,_jsx(_components.code,{children:`creditEstimate`}),` itemizes this for the requested amount.`]}),`\n`,_jsx(Heading,{level:`2`,id:`deposit-fees-and-credit`,children:`Deposit fees and credit`}),`\n`,_jsx(_components.p,{children:`Review the payment quote for conversion spreads, consolidation fees and bonus\neligibility. Your wallet pays any sending network fee separately. Do not treat\nan estimated credit as a guaranteed final amount.`}),`\n`,_jsxs(_components.p,{children:[`For native POL, settlement applies a 1% conversion spread, the current $0.00\nconsolidation fee, then the 3% bonus for eligible deposits. The bonus is included\nwith the credit for API-created deposits too. `,_jsx(_components.code,{children:`creditEstimate`}),` itemizes the quote;\n`,_jsx(_components.code,{children:`settlement.creditedUsdExact`}),` reports the completed ledger credit. Other methods\ncan have different fees and settlement rules.`]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-payment-methods`,children:`Supported Payment Methods`}),`\n`,_jsxs(_components.p,{children:[`Limits vary by method and can change. Use `,_jsx(_components.code,{children:`GET /api/transaction/limits/{ticker}`}),` for the authoritative min/max.`]}),`\n`,_jsx(Heading,{level:`3`,id:`crypto-invoice-/-address`,children:`Crypto (invoice / address)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Provider`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BTC`})}),_jsx(_components.td,{children:`Bitcoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BTC-LN`})}),_jsx(_components.td,{children:`Bitcoin Lightning`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LTC`})}),_jsx(_components.td,{children:`Litecoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LTC-MWEB`})}),_jsx(_components.td,{children:`Litecoin MWEB`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`XMR`})}),_jsx(_components.td,{children:`Monero`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DOGE`})}),_jsx(_components.td,{children:`Dogecoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DASH`})}),_jsx(_components.td,{children:`Dash`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ZEC`})}),_jsx(_components.td,{children:`Zcash`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BCH`})}),_jsx(_components.td,{children:`Bitcoin Cash`}),_jsx(_components.td,{children:`Prompt.Cash`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BAN`})}),_jsx(_components.td,{children:`Banano`}),_jsx(_components.td,{children:`Nanswap (legacy)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KAS`})}),_jsx(_components.td,{children:`Kaspa`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TON`})}),_jsx(_components.td,{children:`Toncoin`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NEAR`})}),_jsx(_components.td,{children:`NEAR Protocol`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EGLD`})}),_jsx(_components.td,{children:`MultiversX`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VVV`})}),_jsx(_components.td,{children:`VVV`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ZANO`})}),_jsx(_components.td,{children:`Zano`}),_jsx(_components.td,{children:`Zano proxy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FUSD`})}),_jsx(_components.td,{children:`Freedom Dollar`}),_jsx(_components.td,{children:`Zano proxy`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`stablecoins-and-multi-chain-daimo-pay`,children:`Stablecoins and multi-chain (Daimo Pay)`}),`\n`,_jsx(_components.p,{children:`These methods settle as USDC and can be paid from multiple chains/wallets.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDC`})}),_jsx(_components.td,{children:`USD Coin`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDT`})}),_jsx(_components.td,{children:`Tether`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ETH`})}),_jsx(_components.td,{children:`Ethereum`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SOL`})}),_jsx(_components.td,{children:`Solana`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`fiat-card`,children:`Fiat (card)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Provider`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USD`})}),_jsx(_components.td,{children:`US Dollar`}),_jsx(_components.td,{children:`Stripe`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EUR`})}),_jsx(_components.td,{children:`Euro`}),_jsx(_components.td,{children:`Stripe`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GBP`})}),_jsx(_components.td,{children:`British Pound`}),_jsx(_components.td,{children:`Stripe`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`nano-direct-deposit`,children:`Nano (direct deposit)`}),`\n`,_jsx(_components.p,{children:`Nano deposits use a direct-send flow to your assigned Nano deposit address (no invoice creation).`}),`\n`,_jsxs(_components.p,{children:[`See: `,_jsx(_components.a,{href:`/api-reference/endpoint/check-balance`,children:`Check Balance`}),` and `,_jsx(_components.a,{href:`/api-reference/endpoint/receive-nano`,children:`Receive Nano`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`The deposit creation and status endpoints require API key authentication using one of these methods:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Method 1: Authorization header`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Method 2: x-api-key header `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint-summary`,children:`Endpoint Summary`}),`\n`,_jsx(_components.p,{children:`Pick the endpoint based on the payment method:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Monitored deposits (native POL on Polygon, USDT on BNB Smart Chain): `,_jsx(_components.code,{children:`POST /api/deposit/create`}),` (see `,_jsx(_components.a,{href:`#monitored-deposits`,children:`Monitored deposits`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Crypto invoice / swap deposits: `,_jsx(_components.code,{children:`POST /api/transaction/create/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Daimo Pay (multi-chain): `,_jsx(_components.code,{children:`POST /api/transaction/create/daimo/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Card (Stripe): `,_jsx(_components.code,{children:`POST /api/transaction/create/usd`})]}),`\n`,_jsxs(_components.li,{children:[`Limits: `,_jsx(_components.code,{children:`GET /api/transaction/limits/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Status polling: `,_jsx(_components.code,{children:`GET /api/transaction/status/{ticker}/{txId}`})]}),`\n`,_jsxs(_components.li,{children:[`Status SSE: `,_jsx(_components.code,{children:`GET /api/transaction/status/events?ticker={ticker}\u0026txId={txId}`})]}),`\n`,_jsxs(_components.li,{children:[`Nano (XNO): send to `,_jsx(_components.code,{children:`nanoDepositAddress`}),` (from `,_jsx(_components.a,{href:`/api-reference/endpoint/check-balance`,children:`Check Balance`}),`); optionally call `,_jsx(_components.a,{href:`/api-reference/endpoint/receive-nano`,children:`Receive Nano`})]}),`\n`]}),`\n`,_jsx(Card,{title:`Create Crypto Deposit`,icon:`plus`,color:`#ca8a04`,children:_jsx(_components.p,{children:`Create an invoice / pay-in address for supported crypto tickers`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker`,children:_jsxs(_components.p,{children:[`Ticker symbol. Examples: `,_jsx(_components.code,{children:`btc`}),`, `,_jsx(_components.code,{children:`btc-ln`}),`, `,_jsx(_components.code,{children:`ltc`}),`, `,_jsx(_components.code,{children:`zec`}),`, `,_jsx(_components.code,{children:`bch`}),`, `,_jsx(_components.code,{children:`kas`}),`, `,_jsx(_components.code,{children:`vvv`}),`, `,_jsx(_components.code,{children:`zano`}),`, `,_jsx(_components.code,{children:`fusd`})]})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Amount of cryptocurrency to deposit. Must be between minimum and maximum limits.`})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id`,children:_jsx(_components.p,{children:`Unique transaction identifier for tracking`})}),`\n`,_jsx(ResponseField,{name:`address`,type:`string`,id:`param-address`,children:_jsx(_components.p,{children:`Deposit address for sending crypto`})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Requested deposit amount`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Payment status. Common values include: `,_jsx(_components.code,{children:`New`}),`, `,_jsx(_components.code,{children:`Pending`}),`, `,_jsx(_components.code,{children:`Processing`}),`, `,_jsx(_components.code,{children:`Paid`}),`, `,_jsx(_components.code,{children:`Completed`}),`, `,_jsx(_components.code,{children:`Expired`}),`, `,_jsx(_components.code,{children:`Failed`})]})}),`\n`,_jsx(ResponseField,{name:`paymentLink`,type:`string`,id:`param-payment-link`,children:_jsxs(_components.p,{children:[`URI for wallet apps (e.g., `,_jsx(_components.code,{children:`bitcoin:address`}),`)`]})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO timestamp of creation`})}),`\n`,_jsx(ResponseField,{name:`expiresAt`,type:`string`,id:`param-expires-at`,children:_jsx(_components.p,{children:`ISO timestamp when address expires`})}),`\n`,_jsx(Card,{title:`Check Payment Limits`,icon:`chart-line`,color:`#16a34a`,children:_jsx(_components.p,{children:`Get minimum and maximum deposit amounts for a payment method`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker-1`,children:_jsxs(_components.p,{children:[`Payment method ticker symbol (for example: `,_jsx(_components.code,{children:`btc`}),`, `,_jsx(_components.code,{children:`btc-ln`}),`, `,_jsx(_components.code,{children:`zec`}),`, `,_jsx(_components.code,{children:`usdc`}),`, `,_jsx(_components.code,{children:`sol`}),`, `,_jsx(_components.code,{children:`usd`}),`)`]})}),`\n`,`\n`,`\n`,_jsx(Card,{title:`Create Daimo Payment`,icon:`arrows-repeat`,color:`#0ea5e9`,children:_jsx(_components.p,{children:`Create a multi-chain payment (USDC/USDT/ETH/SOL) via Daimo Pay`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker-2`,children:_jsxs(_components.p,{children:[`Daimo payment ticker. Common values: `,_jsx(_components.code,{children:`usdc`}),`, `,_jsx(_components.code,{children:`usdt`}),`, `,_jsx(_components.code,{children:`eth`}),`, `,_jsx(_components.code,{children:`sol`})]})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount-2`,children:_jsxs(_components.p,{children:[`Amount to pay. This is typically treated as a USD/USDC amount (for example, `,_jsx(_components.code,{children:`10`}),` for about $10).`]})}),`\n`,`\n`,`\n`,_jsx(Card,{title:`Create Card Deposit (Stripe)`,icon:`credit-card`,color:`#6366f1`,children:_jsx(_components.p,{children:`Create a Stripe Checkout session for card deposits`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount-3`,children:_jsxs(_components.p,{children:[`Amount in the selected fiat currency (for example, `,_jsx(_components.code,{children:`10`}),`).`]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`status-tracking`,children:`Status Tracking`}),`\n`,_jsx(_components.p,{children:`Most deposit methods can be tracked by polling a status endpoint:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/transaction/status/{ticker}/{txId}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Some methods use provider-specific IDs (for example Stripe session IDs). The create response usually returns the correct `,_jsx(_components.code,{children:`txId`}),` value to use.`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/btc/abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`real-time-status-sse`,children:`Real-time status (SSE)`}),`\n`,_jsx(_components.p,{children:`Instead of polling, you can subscribe to Server-Sent Events:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/transaction/status/events?ticker={ticker}\u0026txId={txId}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -N`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/events?ticker=btc\u0026txId=abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The server may also return an `,_jsx(_components.code,{children:`x-poll-after`}),` header on status responses to indicate a recommended retry interval (seconds).`]}),`\n`,_jsx(Heading,{level:`2`,id:`transaction-lifecycle`,children:`Transaction Lifecycle`}),`\n`,_jsx(_components.p,{children:`Status values can vary slightly by payment method, but a typical lifecycle looks like:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`New`}),` / `,_jsx(_components.code,{children:`Pending`})]}),_jsx(_components.td,{children:`Deposit created, awaiting payment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Processing`})}),_jsx(_components.td,{children:`Payment detected and being confirmed/processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Paid`})}),_jsx(_components.td,{children:`Payment confirmed, crediting pending`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Completed`})}),_jsx(_components.td,{children:`Balance credited`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Expired`})}),_jsx(_components.td,{children:`Payment window expired (some providers can still credit late payments)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Failed`})}),_jsx(_components.td,{children:`Provider error or processing failure`})]})]})]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BTC`}),` deposits can take longer to reach `,_jsx(_components.code,{children:`Completed`}),` due to on-chain settlement/confirmations.`]}),`\n`,_jsx(_components.li,{children:`Some providers may accept payment after an invoice expires; in those cases the deposit can still complete.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment-providers`,children:`Payment Providers`}),`\n`,_jsx(_components.p,{children:`NanoGPT uses different providers per ticker:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`BTCPay`}),`: BTC, BTC-LN, LTC, LTC-MWEB, XMR, DOGE, DASH, ZEC`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt.Cash`}),`: BCH`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nanswap`}),`: BAN, KAS, TON, NEAR, EGLD, VVV`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Zano proxy`}),`: ZANO, FUSD`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Daimo Pay`}),`: USDC, USDT, ETH, SOL (multi-chain payments settling as USDC)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stripe`}),`: card deposits (USD/EUR/GBP)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Native Nano`}),`: XNO direct deposits to your `,_jsx(_components.code,{children:`nanoDepositAddress`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`pricing-endpoints`,children:`Pricing Endpoints`}),`\n`,_jsx(_components.p,{children:`These endpoints are commonly used by deposit flows and checkout UIs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/get-nano-price`}),` (NANO/USD pricing)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/get-fiat-prices`}),` (fiat FX rates)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/get-nano-price\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/get-fiat-prices\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example responses:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// GET /api/get-nano-price`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pair\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NANOUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latestPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.23`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// GET /api/get-fiat-prices`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usdTo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.92`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GBP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.79`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currencies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"United States Dollar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Euro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GBP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"British Pound\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`bonuses-and-discounts`,children:`Bonuses and Discounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BTC-LN`}),`: Lightning deposits may include a bonus on the credited amount (if enabled).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`XNO`}),`: Paying with Nano balance may include a usage discount (if enabled).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USDC`}),` via Daimo: USDC stablecoin deposits typically credit close to $1 per 1 USDC.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsx(Heading,{level:`3`,id:`http-status-codes`,children:`HTTP Status Codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`200`}),_jsx(_components.td,{children:`Success`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid amount, unsupported ticker, or below/above limits`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Authentication failure`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limited`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Provider unavailable or internal error`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`common-error-messages`,children:`Common Error Messages`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Amount Validation Errors`,id:`amount-validation-errors`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"No amount specified\"`}),` - Missing amount in request body`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Invalid amount. Must be a positive number.\"`}),` - Amount validation failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Minimum amount is X\"`}),` - Below minimum threshold`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Maximum amount is X\"`}),` - Above maximum threshold`]}),`\n`]})}),_jsx(Accordion,{title:`Provider Errors`,id:`provider-errors`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Unsupported ticker\"`}),` - Ticker not supported`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"This payment method is currently not available\"`}),` - Provider temporarily unavailable`]}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limits`,children:`Rate Limits`}),`\n`,_jsxs(_components.p,{children:[`Limits vary by endpoint. Native POL creation with `,_jsx(_components.code,{children:`Idempotency-Key`}),`, including\nreplays, is limited to `,_jsx(_components.strong,{children:`30 requests per 10 minutes`}),` per account and tenant.\nUse status polling for known payments and follow `,_jsx(_components.code,{children:`Retry-After`}),` on rate-limit\nresponses; follow `,_jsx(_components.code,{children:`X-Poll-After`}),` where provided for polling.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment-flow`,children:`Payment Flow`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create Invoice`,children:_jsxs(_components.p,{children:[`Call `,_jsx(_components.code,{children:`/api/transaction/create/{ticker}`}),` with desired amount`]})}),_jsx(Step,{title:`Get Address`,children:_jsxs(_components.p,{children:[`Extract `,_jsx(_components.code,{children:`address`}),` from response`]})}),_jsx(Step,{title:`Send Payment`,children:_jsx(_components.p,{children:`User sends crypto to the provided address`})}),_jsx(Step,{title:`Auto-Credit`,children:_jsx(_components.p,{children:`Account balance automatically updated when payment confirms`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Deposits (Crypto + Fiat)","api":"POST https://nano-gpt.com/api/transaction/create/{ticker}","description":"Create deposit payment intents and track status programmatically","href":"/api-reference/endpoint/crypto-deposits"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`NanoGPT supports multiple deposit methods (crypto, stablecoins, and cards). This page documents the public endpoints you can use to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create a deposit payment intent`}),`\n`,_jsx(_components.li,{children:`Check deposit limits`}),`\n`,_jsx(_components.li,{children:`Track deposit status (polling or SSE)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Deposits are credited automatically after payment confirmation.`}),`\n`,_jsx(Heading,{level:`2`,id:`automating-deposits`,children:`Automating deposits`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Choose a payment method and create its invoice or payment window using your\naccount API key. Check the endpoint’s amount units and current limits.`}),`\n`,_jsx(_components.li,{children:`Save the complete response, including the transaction ID, destination, amount\nand expiry, before sending funds. Use the specified asset and network.`}),`\n`,_jsx(_components.li,{children:`Send the payment once. A reused address does not necessarily mean continuous\nmonitoring; methods with payment windows require a new window for each top-up.`}),`\n`,_jsx(_components.li,{children:`Poll the method’s status endpoint until balance credit is confirmed. Payment\ndetection or blockchain confirmation alone is not proof of credited balance.`}),`\n`,_jsx(_components.li,{children:`On a timeout or expired window, reconcile the original request and wallet\ntransaction before trying again. Do not resend funds merely because polling\nfailed. Keep the transaction ID and blockchain hash for support.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Retry protection, amount matching, expiry and fees differ by method. Only send an\n`,_jsx(_components.code,{children:`Idempotency-Key`}),` where the endpoint explicitly supports it. Follow `,_jsx(_components.code,{children:`Retry-After`}),`\nand polling headers, and use bounded backoff for temporary failures.`]}),`\n`,_jsx(Heading,{level:`2`,id:`monitored-deposits`,children:`Monitored deposits`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /api/deposit/create`}),` creates a network-specific payment window, separate\nfrom the invoice endpoints below. Authenticate with the same account API key.\nTwo flows are documented: native POL on Polygon PoS, and\n`,_jsx(_components.a,{href:`#usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`. The native POL contract:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request or response`}),_jsx(_components.th,{children:`Native POL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`network: \"polygon\"`}),`, `,_jsx(_components.code,{children:`token: \"POL\"`}),` (`,_jsx(_components.code,{children:`POLYGON`}),` is also accepted), `,_jsx(_components.code,{children:`amount`}),` in gross USD`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Network`}),_jsxs(_components.td,{children:[`Polygon PoS, chain ID `,_jsx(_components.code,{children:`137`}),`; native POL only`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limits`}),_jsxs(_components.td,{children:[`Currently `,`$0.10-$`,`25,000 USD per request; check `,_jsx(_components.code,{children:`minimumDepositUsd`}),` in the response`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Amount to send`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`quotedTokenAmount`}),` (decimal string) or `,_jsx(_components.code,{children:`quotedTokenAmountAtomic`}),` (integer string, 18 decimals)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destination and expiry`}),_jsxs(_components.td,{children:[`Use the returned `,_jsx(_components.code,{children:`address`}),` and `,_jsx(_components.code,{children:`expiresAt`}),` (Unix seconds); the default window is 30 minutes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional expiry`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expires_at`}),`, a future Unix timestamp in seconds, at most 30 minutes from creation`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Status`}),_jsxs(_components.td,{children:[`Poll the returned `,_jsx(_components.code,{children:`statusUrl`}),`, or `,_jsx(_components.code,{children:`/api/transaction/status/polygon/{txId}`}),` with the complete ID URL-encoded`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Confirmed credit`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`status: \"COMPLETED\"`}),` and `,_jsx(_components.code,{children:`balanceCredited: true`}),`; actual USD credit is `,_jsx(_components.code,{children:`settlement.creditedUsdExact`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Save atomic amounts as integers or strings, never floating-point numbers.\nFor this flow, the legacy `,_jsx(_components.code,{children:`amountCrypto`}),` creation field contains the USD estimate,\nnot the token quantity. The quote is not price-locked: one slightly smaller or\nlarger transfer is valued from the amount actually received. Do not split a\npayment across multiple transfers.`]}),`\n`,_jsxs(_components.p,{children:[`Native POL (and `,_jsx(_components.a,{href:`#usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`) supports an optional `,_jsx(_components.code,{children:`Idempotency-Key`}),` of 8-128 visible ASCII characters\nwithout spaces, retained for 24 hours. Use a unique key per top-up and keep the key\nand request unchanged on retries. A replay neither extends expiry nor authorizes\nanother wallet transfer. If creation returns an existing pending payment or an\nuncertain outcome (`,_jsx(_components.code,{children:`409`}),`/`,_jsx(_components.code,{children:`503`}),`), reconcile that request before sending. Other\nmethods do not inherit this support.`]}),`\n`,_jsx(_components.p,{children:`Send early enough for inclusion on-chain within the window. Confirmation can\ncontinue afterward, but late arrivals are not guaranteed automatic credit.\nAn expired status does not mean that a transfer was reversed or that no funds\nwere sent. Contact support with the original transaction ID and hash if needed.`}),`\n`,_jsx(Heading,{level:`3`,id:`usdt-on-bnb-smart-chain`,children:`USDT on BNB Smart Chain`}),`\n`,_jsx(_components.p,{children:`The same endpoint opens a window for USDT (BEP-20) on BNB Smart Chain. It suits\nserver wallets and contract wallets such as a Safe: the window matches the USDT\ntransfer to your address, whoever sends it.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request or response`}),_jsx(_components.th,{children:`USDT on BNB Smart Chain`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`network: \"bnb\"`}),`, `,_jsx(_components.code,{children:`token: \"USDT\"`}),` (uppercase), `,_jsx(_components.code,{children:`amount`}),` in USD`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Network`}),_jsxs(_components.td,{children:[`BNB Smart Chain, chain ID `,_jsx(_components.code,{children:`56`}),`; USDT contract `,_jsx(_components.code,{children:`0x55d398326f99059fF775485246999027B3197955`}),`, 18 decimals`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limits`}),_jsxs(_components.td,{children:[`Up to `,`$25,000 per window. After the quoted consolidation fee the credit must be at least $`,`0.10; a smaller `,_jsx(_components.code,{children:`amount`}),` returns `,_jsx(_components.code,{children:`400`}),` with `,_jsx(_components.code,{children:`requiredGrossUsd`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Amount to send`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`quotedTokenAmount`}),` USDT (decimal string), or `,_jsx(_components.code,{children:`quotedTokenAmountAtomic`}),` as the `,_jsx(_components.code,{children:`uint256`}),` of `,_jsx(_components.code,{children:`transfer(address,uint256)`}),`. 1 USDT is credited as $1`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Destination and expiry`}),_jsxs(_components.td,{children:[`The returned `,_jsx(_components.code,{children:`address`}),` and `,_jsx(_components.code,{children:`expiresAt`}),` (Unix seconds); the default window is 30 minutes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional expiry`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expires_at`}),`, a future Unix timestamp in seconds, at most 30 minutes from creation`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Status`}),_jsxs(_components.td,{children:[`Poll the returned `,_jsx(_components.code,{children:`statusUrl`}),`, or `,_jsx(_components.code,{children:`/api/transaction/status/bnb/{txId}`}),` with the complete ID URL-encoded`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Confirmed credit`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`status: \"COMPLETED\"`}),` and `,_jsx(_components.code,{children:`balanceCredited: true`}),`; the USD credited is `,_jsx(_components.code,{children:`settlement.creditedUsdExact`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Your address is the same every time, but it is only watched while a window is\nopen. `,_jsxs(_components.strong,{children:[`Open the window first, wait for the `,_jsx(_components.code,{children:`200`}),` response, then broadcast the\ntransfer.`]}),` A transfer mined before the window opened, or after it expired, is not\ncredited automatically; contact support with the transaction hash. For a Safe,\nopen the window just before you execute the transaction, not when you propose it.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Send one USDT transfer per window. Any amount is credited; it does not have to\nequal `,_jsx(_components.code,{children:`quotedTokenAmount`}),`. A second transfer in the same window is not credited\nautomatically, so open a new window for the next payment.`]}),`\n`,_jsx(_components.li,{children:`Send USDT only. Other tokens (USDC, BNB, BUSD) are not credited by a USDT window.`}),`\n`,_jsxs(_components.li,{children:[`One USDT window can be open per account. Creating another while one is open\nreturns `,_jsx(_components.code,{children:`409`}),` with `,_jsx(_components.code,{children:`code: \"deposit_already_pending\"`}),` and the open window in\n`,_jsx(_components.code,{children:`transaction`}),`; pay into that one or wait for it to finish. Match windows by\n`,_jsx(_components.code,{children:`jobId`}),`: the address inside `,_jsx(_components.code,{children:`txId`}),` can differ in letter case between responses,\nand either form works on the status endpoint.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Idempotency-Key`}),` works the same way as for native POL. Keyed calls, including\nreplays, are limited to 30 per 10 minutes per account, and every create call\ncounts toward 30 per 10 minutes per account. Follow `,_jsx(_components.code,{children:`Retry-After`}),` on `,_jsx(_components.code,{children:`429`}),` and\n`,_jsx(_components.code,{children:`503`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PROCESSING`}),` means the transfer was seen and the ledger credit is on its way;\nkeep polling. `,_jsx(_components.code,{children:`EXPIRED`}),` means the window closed without a credited transfer.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1. Open a window (amount is USD = USDT to send)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/deposit/create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: topup-2026-11-17-0001\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"network\":\"bnb\",\"token\":\"USDT\",\"amount\":150}'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Response (abridged)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"txId\": \"0xYourAddress:6f1c...:1795392000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"address\": \"0xYourAddress\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"network\": \"bnb\", \"token\": \"USDT\", \"chainId\": 56,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"tokenContract\": \"0x55d398326f99059fF775485246999027B3197955\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"tokenDecimals\": 18,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"quotedTokenAmount\": \"150\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"quotedTokenAmountAtomic\": \"150000000000000000000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"expiresAt\": 1795392000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"statusUrl\": \"/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"status\": \"PENDING\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 2. Send 150 USDT to \"address\" on BNB Smart Chain before expiresAt`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 3. Poll until COMPLETED with balanceCredited: true`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/bnb/0xYourAddress%3A6f1c...%3A1795392000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For USDT, settlement credits the USDT received at $1, minus the consolidation fee\nquoted for the window (`,_jsx(_components.code,{children:`consolidationFeeUsdExact`}),`), plus the 3% bonus for eligible\ndeposits. `,_jsx(_components.code,{children:`creditEstimate`}),` itemizes this for the requested amount.`]}),`\n`,_jsx(Heading,{level:`2`,id:`deposit-fees-and-credit`,children:`Deposit fees and credit`}),`\n`,_jsx(_components.p,{children:`Review the payment quote for conversion spreads, consolidation fees and bonus\neligibility. Your wallet pays any sending network fee separately. Do not treat\nan estimated credit as a guaranteed final amount.`}),`\n`,_jsxs(_components.p,{children:[`For native POL, settlement applies a 1% conversion spread, the current $0.00\nconsolidation fee, then the 3% bonus for eligible deposits. The bonus is included\nwith the credit for API-created deposits too. `,_jsx(_components.code,{children:`creditEstimate`}),` itemizes the quote;\n`,_jsx(_components.code,{children:`settlement.creditedUsdExact`}),` reports the completed ledger credit. Other methods\ncan have different fees and settlement rules.`]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-payment-methods`,children:`Supported Payment Methods`}),`\n`,_jsxs(_components.p,{children:[`Limits vary by method and can change. Use `,_jsx(_components.code,{children:`GET /api/transaction/limits/{ticker}`}),` for the authoritative min/max.`]}),`\n`,_jsx(Heading,{level:`3`,id:`crypto-invoice-/-address`,children:`Crypto (invoice / address)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Provider`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BTC`})}),_jsx(_components.td,{children:`Bitcoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BTC-LN`})}),_jsx(_components.td,{children:`Bitcoin Lightning`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LTC`})}),_jsx(_components.td,{children:`Litecoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`LTC-MWEB`})}),_jsx(_components.td,{children:`Litecoin MWEB`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`XMR`})}),_jsx(_components.td,{children:`Monero`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DOGE`})}),_jsx(_components.td,{children:`Dogecoin`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DASH`})}),_jsx(_components.td,{children:`Dash`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ZEC`})}),_jsx(_components.td,{children:`Zcash`}),_jsx(_components.td,{children:`BTCPay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BCH`})}),_jsx(_components.td,{children:`Bitcoin Cash`}),_jsx(_components.td,{children:`Prompt.Cash`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BAN`})}),_jsx(_components.td,{children:`Banano`}),_jsx(_components.td,{children:`Nanswap (legacy)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KAS`})}),_jsx(_components.td,{children:`Kaspa`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TON`})}),_jsx(_components.td,{children:`Toncoin`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NEAR`})}),_jsx(_components.td,{children:`NEAR Protocol`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EGLD`})}),_jsx(_components.td,{children:`MultiversX`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VVV`})}),_jsx(_components.td,{children:`VVV`}),_jsx(_components.td,{children:`Nanswap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ZANO`})}),_jsx(_components.td,{children:`Zano`}),_jsx(_components.td,{children:`Zano proxy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FUSD`})}),_jsx(_components.td,{children:`Freedom Dollar`}),_jsx(_components.td,{children:`Zano proxy`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`stablecoins-and-multi-chain-daimo-pay`,children:`Stablecoins and multi-chain (Daimo Pay)`}),`\n`,_jsx(_components.p,{children:`These methods settle as USDC and can be paid from multiple chains/wallets.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDC`})}),_jsx(_components.td,{children:`USD Coin`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDT`})}),_jsx(_components.td,{children:`Tether`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ETH`})}),_jsx(_components.td,{children:`Ethereum`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SOL`})}),_jsx(_components.td,{children:`Solana`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`fiat-card`,children:`Fiat (card)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Ticker`}),_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Provider`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USD`})}),_jsx(_components.td,{children:`US Dollar`}),_jsx(_components.td,{children:`Stripe`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EUR`})}),_jsx(_components.td,{children:`Euro`}),_jsx(_components.td,{children:`Stripe`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GBP`})}),_jsx(_components.td,{children:`British Pound`}),_jsx(_components.td,{children:`Stripe`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`nano-direct-deposit`,children:`Nano (direct deposit)`}),`\n`,_jsx(_components.p,{children:`Nano deposits use a direct-send flow to your assigned Nano deposit address (no invoice creation).`}),`\n`,_jsxs(_components.p,{children:[`See: `,_jsx(_components.a,{href:`/api-reference/endpoint/check-balance`,children:`Check Balance`}),` and `,_jsx(_components.a,{href:`/api-reference/endpoint/receive-nano`,children:`Receive Nano`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`The deposit creation and status endpoints require API key authentication using one of these methods:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Method 1: Authorization header`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Method 2: x-api-key header `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint-summary`,children:`Endpoint Summary`}),`\n`,_jsx(_components.p,{children:`Pick the endpoint based on the payment method:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Monitored deposits (native POL on Polygon, USDT on BNB Smart Chain): `,_jsx(_components.code,{children:`POST /api/deposit/create`}),` (see `,_jsx(_components.a,{href:`#monitored-deposits`,children:`Monitored deposits`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Crypto invoice / swap deposits: `,_jsx(_components.code,{children:`POST /api/transaction/create/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Daimo Pay (multi-chain): `,_jsx(_components.code,{children:`POST /api/transaction/create/daimo/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Card (Stripe): `,_jsx(_components.code,{children:`POST /api/transaction/create/usd`})]}),`\n`,_jsxs(_components.li,{children:[`Limits: `,_jsx(_components.code,{children:`GET /api/transaction/limits/{ticker}`})]}),`\n`,_jsxs(_components.li,{children:[`Status polling: `,_jsx(_components.code,{children:`GET /api/transaction/status/{ticker}/{txId}`})]}),`\n`,_jsxs(_components.li,{children:[`Status SSE: `,_jsx(_components.code,{children:`GET /api/transaction/status/events?ticker={ticker}\u0026txId={txId}`})]}),`\n`,_jsxs(_components.li,{children:[`Nano (XNO): send to `,_jsx(_components.code,{children:`nanoDepositAddress`}),` (from `,_jsx(_components.a,{href:`/api-reference/endpoint/check-balance`,children:`Check Balance`}),`); optionally call `,_jsx(_components.a,{href:`/api-reference/endpoint/receive-nano`,children:`Receive Nano`})]}),`\n`]}),`\n`,_jsx(Card,{title:`Create Crypto Deposit`,icon:`plus`,color:`#ca8a04`,children:_jsx(_components.p,{children:`Create an invoice / pay-in address for supported crypto tickers`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker`,children:_jsxs(_components.p,{children:[`Ticker symbol. Examples: `,_jsx(_components.code,{children:`btc`}),`, `,_jsx(_components.code,{children:`btc-ln`}),`, `,_jsx(_components.code,{children:`ltc`}),`, `,_jsx(_components.code,{children:`zec`}),`, `,_jsx(_components.code,{children:`bch`}),`, `,_jsx(_components.code,{children:`kas`}),`, `,_jsx(_components.code,{children:`vvv`}),`, `,_jsx(_components.code,{children:`zano`}),`, `,_jsx(_components.code,{children:`fusd`})]})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Amount of cryptocurrency to deposit. Must be between minimum and maximum limits.`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/transaction/create/btc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"amount\": 0.001}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`11`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://nano-gpt.com/api/transaction/create/btc'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.001`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` deposit`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Send BTC to:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`deposit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`BTC Lightning Example`,numberOfLines:`12`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// BTC-LN has lower minimum ($0.10)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` lnResponse`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://nano-gpt.com/api/transaction/create/btc-ln'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.00001`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` lnDeposit`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` lnResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Lightning invoice:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lnDeposit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`paymentLink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success Response`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"txId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bc1q...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.001`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"New\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentLink\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bitcoin:bc1q...?amount=0.001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-19T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-19T13:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id`,children:_jsx(_components.p,{children:`Unique transaction identifier for tracking`})}),`\n`,_jsx(ResponseField,{name:`address`,type:`string`,id:`param-address`,children:_jsx(_components.p,{children:`Deposit address for sending crypto`})}),`\n`,_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Requested deposit amount`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Payment status. Common values include: `,_jsx(_components.code,{children:`New`}),`, `,_jsx(_components.code,{children:`Pending`}),`, `,_jsx(_components.code,{children:`Processing`}),`, `,_jsx(_components.code,{children:`Paid`}),`, `,_jsx(_components.code,{children:`Completed`}),`, `,_jsx(_components.code,{children:`Expired`}),`, `,_jsx(_components.code,{children:`Failed`})]})}),`\n`,_jsx(ResponseField,{name:`paymentLink`,type:`string`,id:`param-payment-link`,children:_jsxs(_components.p,{children:[`URI for wallet apps (e.g., `,_jsx(_components.code,{children:`bitcoin:address`}),`)`]})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO timestamp of creation`})}),`\n`,_jsx(ResponseField,{name:`expiresAt`,type:`string`,id:`param-expires-at`,children:_jsx(_components.p,{children:`ISO timestamp when address expires`})}),`\n`,_jsx(Card,{title:`Check Payment Limits`,icon:`chart-line`,color:`#16a34a`,children:_jsx(_components.p,{children:`Get minimum and maximum deposit amounts for a payment method`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker-1`,children:_jsxs(_components.p,{children:[`Payment method ticker symbol (for example: `,_jsx(_components.code,{children:`btc`}),`, `,_jsx(_components.code,{children:`btc-ln`}),`, `,_jsx(_components.code,{children:`zec`}),`, `,_jsx(_components.code,{children:`usdc`}),`, `,_jsx(_components.code,{children:`sol`}),`, `,_jsx(_components.code,{children:`usd`}),`)`]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/transaction/limits/kas`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` limitsResponse`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://nano-gpt.com/api/transaction/limits/btc'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` limits`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limitsResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Validate amount before creating deposit`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limits`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`minimum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Minimum deposit is \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`limits`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`minimum`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" BTC`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Limits Response`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minimum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maximum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5250`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fiatEquivalentMinimum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fiatEquivalentMaximum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1705669200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Card,{title:`Create Daimo Payment`,icon:`arrows-repeat`,color:`#0ea5e9`,children:_jsx(_components.p,{children:`Create a multi-chain payment (USDC/USDT/ETH/SOL) via Daimo Pay`})}),`\n`,_jsx(ParamField,{path:`ticker`,type:`string`,required:true,id:`param-ticker-2`,children:_jsxs(_components.p,{children:[`Daimo payment ticker. Common values: `,_jsx(_components.code,{children:`usdc`}),`, `,_jsx(_components.code,{children:`usdt`}),`, `,_jsx(_components.code,{children:`eth`}),`, `,_jsx(_components.code,{children:`sol`})]})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount-2`,children:_jsxs(_components.p,{children:[`Amount to pay. This is typically treated as a USD/USDC amount (for example, `,_jsx(_components.code,{children:`10`}),` for about $10).`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/transaction/create/daimo/usdc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"amount\": 10}'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success Response`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"encrypted_payment_id\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Card,{title:`Create Card Deposit (Stripe)`,icon:`credit-card`,color:`#6366f1`,children:_jsx(_components.p,{children:`Create a Stripe Checkout session for card deposits`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount-3`,children:_jsxs(_components.p,{children:[`Amount in the selected fiat currency (for example, `,_jsx(_components.code,{children:`10`}),`).`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://nano-gpt.com/api/transaction/create/usd`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"amount\": 10}'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success Response`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentLink\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://checkout.stripe.com/c/pay/cs_test_...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`status-tracking`,children:`Status Tracking`}),`\n`,_jsx(_components.p,{children:`Most deposit methods can be tracked by polling a status endpoint:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/transaction/status/{ticker}/{txId}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Some methods use provider-specific IDs (for example Stripe session IDs). The create response usually returns the correct `,_jsx(_components.code,{children:`txId`}),` value to use.`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/btc/abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`real-time-status-sse`,children:`Real-time status (SSE)`}),`\n`,_jsx(_components.p,{children:`Instead of polling, you can subscribe to Server-Sent Events:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/transaction/status/events?ticker={ticker}\u0026txId={txId}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -N`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/transaction/status/events?ticker=btc\u0026txId=abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The server may also return an `,_jsx(_components.code,{children:`x-poll-after`}),` header on status responses to indicate a recommended retry interval (seconds).`]}),`\n`,_jsx(Heading,{level:`2`,id:`transaction-lifecycle`,children:`Transaction Lifecycle`}),`\n`,_jsx(_components.p,{children:`Status values can vary slightly by payment method, but a typical lifecycle looks like:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`New`}),` / `,_jsx(_components.code,{children:`Pending`})]}),_jsx(_components.td,{children:`Deposit created, awaiting payment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Processing`})}),_jsx(_components.td,{children:`Payment detected and being confirmed/processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Paid`})}),_jsx(_components.td,{children:`Payment confirmed, crediting pending`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Completed`})}),_jsx(_components.td,{children:`Balance credited`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Expired`})}),_jsx(_components.td,{children:`Payment window expired (some providers can still credit late payments)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Failed`})}),_jsx(_components.td,{children:`Provider error or processing failure`})]})]})]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BTC`}),` deposits can take longer to reach `,_jsx(_components.code,{children:`Completed`}),` due to on-chain settlement/confirmations.`]}),`\n`,_jsx(_components.li,{children:`Some providers may accept payment after an invoice expires; in those cases the deposit can still complete.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment-providers`,children:`Payment Providers`}),`\n`,_jsx(_components.p,{children:`NanoGPT uses different providers per ticker:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`BTCPay`}),`: BTC, BTC-LN, LTC, LTC-MWEB, XMR, DOGE, DASH, ZEC`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt.Cash`}),`: BCH`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nanswap`}),`: BAN, KAS, TON, NEAR, EGLD, VVV`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Zano proxy`}),`: ZANO, FUSD`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Daimo Pay`}),`: USDC, USDT, ETH, SOL (multi-chain payments settling as USDC)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stripe`}),`: card deposits (USD/EUR/GBP)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Native Nano`}),`: XNO direct deposits to your `,_jsx(_components.code,{children:`nanoDepositAddress`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`pricing-endpoints`,children:`Pricing Endpoints`}),`\n`,_jsx(_components.p,{children:`These endpoints are commonly used by deposit flows and checkout UIs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/get-nano-price`}),` (NANO/USD pricing)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/get-fiat-prices`}),` (fiat FX rates)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/get-nano-price\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://nano-gpt.com/api/get-fiat-prices\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Example responses:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// GET /api/get-nano-price`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pair\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NANOUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latestPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.23`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// GET /api/get-fiat-prices`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usdTo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.92`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GBP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.79`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currencies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"United States Dollar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Euro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"GBP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"British Pound\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`bonuses-and-discounts`,children:`Bonuses and Discounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BTC-LN`}),`: Lightning deposits may include a bonus on the credited amount (if enabled).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`XNO`}),`: Paying with Nano balance may include a usage discount (if enabled).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USDC`}),` via Daimo: USDC stablecoin deposits typically credit close to $1 per 1 USDC.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsx(Heading,{level:`3`,id:`http-status-codes`,children:`HTTP Status Codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`200`}),_jsx(_components.td,{children:`Success`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid amount, unsupported ticker, or below/above limits`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Authentication failure`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limited`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Provider unavailable or internal error`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`common-error-messages`,children:`Common Error Messages`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Amount Validation Errors`,id:`amount-validation-errors`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"No amount specified\"`}),` - Missing amount in request body`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Invalid amount. Must be a positive number.\"`}),` - Amount validation failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Minimum amount is X\"`}),` - Below minimum threshold`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Maximum amount is X\"`}),` - Above maximum threshold`]}),`\n`]})}),_jsx(Accordion,{title:`Provider Errors`,id:`provider-errors`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Unsupported ticker\"`}),` - Ticker not supported`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"This payment method is currently not available\"`}),` - Provider temporarily unavailable`]}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limits`,children:`Rate Limits`}),`\n`,_jsxs(_components.p,{children:[`Limits vary by endpoint. Native POL creation with `,_jsx(_components.code,{children:`Idempotency-Key`}),`, including\nreplays, is limited to `,_jsx(_components.strong,{children:`30 requests per 10 minutes`}),` per account and tenant.\nUse status polling for known payments and follow `,_jsx(_components.code,{children:`Retry-After`}),` on rate-limit\nresponses; follow `,_jsx(_components.code,{children:`X-Poll-After`}),` where provided for polling.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment-flow`,children:`Payment Flow`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create Invoice`,children:_jsxs(_components.p,{children:[`Call `,_jsx(_components.code,{children:`/api/transaction/create/{ticker}`}),` with desired amount`]})}),_jsx(Step,{title:`Get Address`,children:_jsxs(_components.p,{children:[`Extract `,_jsx(_components.code,{children:`address`}),` from response`]})}),_jsx(Step,{title:`Send Payment`,children:_jsx(_components.p,{children:`User sends crypto to the provided address`})}),_jsx(Step,{title:`Auto-Credit`,children:_jsx(_components.p,{children:`Account balance automatically updated when payment confirms`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Deposits (Crypto + Fiat)","api":"POST https://nano-gpt.com/api/transaction/create/{ticker}","description":"Create deposit payment intents and track status programmatically","href":"/api-reference/endpoint/crypto-deposits"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Automating deposits","slug":"automating-deposits","depth":2,"children":[]},{"title":"Monitored deposits","slug":"monitored-deposits","depth":2,"children":[{"title":"USDT on BNB Smart Chain","slug":"usdt-on-bnb-smart-chain","depth":3,"children":[]}]},{"title":"Deposit fees and credit","slug":"deposit-fees-and-credit","depth":2,"children":[]},{"title":"Supported Payment Methods","slug":"supported-payment-methods","depth":2,"children":[{"title":"Crypto (invoice / address)","slug":"crypto-invoice-/-address","depth":3,"children":[]},{"title":"Stablecoins and multi-chain (Daimo Pay)","slug":"stablecoins-and-multi-chain-daimo-pay","depth":3,"children":[]},{"title":"Fiat (card)","slug":"fiat-card","depth":3,"children":[]},{"title":"Nano (direct deposit)","slug":"nano-direct-deposit","depth":3,"children":[]}]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Endpoint Summary","slug":"endpoint-summary","depth":2,"children":[{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]}]},{"title":"Status Tracking","slug":"status-tracking","depth":2,"children":[{"title":"Real-time status (SSE)","slug":"real-time-status-sse","depth":3,"children":[]}]},{"title":"Transaction Lifecycle","slug":"transaction-lifecycle","depth":2,"children":[]},{"title":"Payment Providers","slug":"payment-providers","depth":2,"children":[]},{"title":"Pricing Endpoints","slug":"pricing-endpoints","depth":2,"children":[]},{"title":"Bonuses and Discounts","slug":"bonuses-and-discounts","depth":2,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":2,"children":[{"title":"HTTP Status Codes","slug":"http-status-codes","depth":3,"children":[]},{"title":"Common Error Messages","slug":"common-error-messages","depth":3,"children":[]}]},{"title":"Rate Limits","slug":"rate-limits","depth":2,"children":[]},{"title":"Payment Flow","slug":"payment-flow","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://nano-gpt.com/api/transaction/create/btc\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\"amount\": 0.001}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://nano-gpt.com/api/transaction/create/btc'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">amount:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 0.001\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> deposit\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Send BTC to:'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">deposit\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">address\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"BTC Lightning Example","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// BTC-LN has lower minimum ($0.10)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> lnResponse\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://nano-gpt.com/api/transaction/create/btc-ln'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">amount:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 0.00001\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> lnDeposit\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> lnResponse\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Lightning invoice:'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">lnDeposit\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">paymentLink\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"txId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"abc123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bc1q...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.001\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"New\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"paymentLink\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bitcoin:bc1q...?amount=0.001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-19T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiresAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-19T13:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Deposits (Crypto + Fiat)","path":"/api/transaction/create/{ticker}","servers":[{"url":"https://nano-gpt.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"ticker":{"schema":[{"type":"string","description":"Daimo payment ticker. Common values: `usdc` , `usdt` , `eth` , `sol`","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"amount":[{"type":"number","description":"Amount in the selected fiat currency (for example, `10` ).","required":true}]}}],"examples":{"example":{"value":{"amount":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"txId":[{"type":"string","description":"Unique transaction identifier for tracking"}],"address":[{"type":"string","description":"Deposit address for sending crypto"}],"amount":[{"type":"number","description":"Requested deposit amount"}],"status":[{"type":"string","description":"Payment status. Common values include: `New` , `Pending` , `Processing` , `Paid` , `Completed` , `Expired` , `Failed`"}],"paymentLink":[{"type":"string","description":"URI for wallet apps (e.g., `bitcoin:address` )"}],"createdAt":[{"type":"string","description":"ISO timestamp of creation"}],"expiresAt":[{"type":"string","description":"ISO timestamp when address expires"}]}}],"examples":{"example":{"value":{"txId":"\u003cstring>","address":"\u003cstring>","amount":123,"status":"\u003cstring>","paymentLink":"\u003cstring>","createdAt":"\u003cstring>","expiresAt":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/nano-gpt/4d1e35af7642852b/copy-markdown.js"],"subdomain":"nano-gpt","siteName":"NanoGPT API Documentation","title":"Deposits (Crypto + Fiat) - NanoGPT API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T11:40:15.499Z","originalFileLocation":"api-reference/endpoint/crypto-deposits.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=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create deposit payment intents and track status programmatically\">\u003cmeta data-mint-head name=\"application-name\" content=\"NanoGPT API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_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/nano-gpt/ojaWxmEVE943ykND/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Deposits (Crypto + Fiat) - NanoGPT API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create deposit payment intents and track status programmatically\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NanoGPT API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nano-gpt.mintlify.site/_mintlify/api/og/v2?division=Endpoint+Examples\u0026amp;title=Deposits+%28Crypto+%2B+Fiat%29\u0026amp;description=Create+deposit+payment+intents+and+track+status+programmatically\u0026amp;theme=acc4bdc262f9cc8fb36c21bb\u0026amp;signature=905a39d47746b9a523e7212f6f895ced25fe732987bf3b8e4ab0d43b52bfa6b5\">\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=\"Deposits (Crypto + Fiat) - NanoGPT API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create deposit payment intents and track status programmatically\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nano-gpt.mintlify.site/_mintlify/api/og/v2?division=Endpoint+Examples\u0026amp;title=Deposits+%28Crypto+%2B+Fiat%29\u0026amp;description=Create+deposit+payment+intents+and+track+status+programmatically\u0026amp;theme=acc4bdc262f9cc8fb36c21bb\u0026amp;signature=905a39d47746b9a523e7212f6f895ced25fe732987bf3b8e4ab0d43b52bfa6b5\">\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/nano-gpt/ojaWxmEVE943ykND/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NanoGPT API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/crypto-deposits.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nano-gpt.com/#organization\",\"name\":\"NanoGPT API Documentation\",\"url\":\"https://docs.nano-gpt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nano-gpt/6FCMRUAo4M2hGCVC/logo/light.svg?fit=max\u0026auto=format\u0026n=6FCMRUAo4M2hGCVC\u0026q=85\u0026s=d89f6de57aa2b12dc2ea56df5d7ec9f6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nano-gpt.com#website\",\"name\":\"NanoGPT API Documentation\",\"url\":\"https://docs.nano-gpt.com\",\"publisher\":{\"@id\":\"https://docs.nano-gpt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits#webpage\",\"url\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits\",\"name\":\"Deposits (Crypto + Fiat)\",\"description\":\"Create deposit payment intents and track status programmatically\",\"dateModified\":\"2026-11-17T11:40:15.499Z\",\"isPartOf\":{\"@id\":\"https://docs.nano-gpt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint Examples\",\"item\":\"https://docs.nano-gpt.com/api-reference/endpoint/models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deposits (Crypto + Fiat)\",\"item\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits#apireference\",\"headline\":\"Deposits (Crypto + Fiat)\",\"name\":\"Deposits (Crypto + Fiat)\",\"description\":\"Create deposit payment intents and track status programmatically\",\"url\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nano-gpt.com/api-reference/endpoint/crypto-deposits#webpage\"},\"dateModified\":\"2026-11-17T11:40:15.499Z\",\"publisher\":{\"@id\":\"https://docs.nano-gpt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nano-gpt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NanoGPT API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NanoGPT API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/crypto-deposits.md","siteName":"NanoGPT API Documentation","nav":{"global":{"anchors":[{"anchor":"Back to NanoGPT","icon":"book-open-cover","href":"https://nano-gpt.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/KaQt8gPG6V"},{"anchor":"Blog","icon":"newspaper","href":"https://nano-gpt.com/blog"}]},"groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","href":"/quickstart"},{"title":"Migrate from OpenRouter","href":"/migrate-from-openrouter"},{"title":"Volume Pricing","href":"/volume-pricing"}]},{"group":"Endpoint Examples","pages":[{"title":"Models","openapi":"GET /v1/models","href":"/api-reference/endpoint/models"},{"title":"List Image Models","api":"GET https://api.nano-gpt.com/api/v1/images/models","href":"/api-reference/endpoint/image-api-models"},{"title":"Get Image Model Endpoints","api":"GET https://api.nano-gpt.com/api/v1/images/models/{modelId}/endpoints","href":"/api-reference/endpoint/image-api-model-endpoints"},{"title":"Image Models","api":"GET https://api.nano-gpt.com/api/v1/image-models","href":"/api-reference/endpoint/image-models"},{"title":"Video Models","api":"GET https://api.nano-gpt.com/api/v1/video-models","href":"/api-reference/endpoint/video-models"},{"title":"Audio Models","api":"GET https://api.nano-gpt.com/api/v1/audio-models","href":"/api-reference/endpoint/audio-models"},{"title":"Personalized Models","openapi":"GET /personalized/v1/models","href":"/api-reference/endpoint/personalized-models"},{"title":"Characters","openapi":"GET /v1/characters","href":"/api-reference/endpoint/characters"},{"title":"Character Models","openapi":"GET /v1/character-models","href":"/api-reference/endpoint/character-models"},{"title":"Chat Completion","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/chat-completion"},{"title":"Batch API","href":"/api-reference/endpoint/batches"},{"title":"List Inline Batches","openapi":"GET /api/beta/batches","href":"/api-reference/endpoint/inline-batches-list"},{"title":"List All Batches","openapi":"GET /api/v1/batches","href":"/api-reference/endpoint/batches-list"},{"title":"Direct Web Search API","api":"POST https://api.nano-gpt.com/api/web","href":"/api-reference/endpoint/web-search"},{"title":"Data API","api":"GET https://api.nano-gpt.com/api/v1/data","href":"/api-reference/endpoint/data-api"},{"title":"Decisions","openapi":"POST /v1/decisions","href":"/api-reference/endpoint/decisions"},{"title":"Responses","openapi":"POST /v1/responses","href":"/api-reference/endpoint/responses"},{"title":"Messages","openapi":"POST /v1/messages","href":"/api-reference/endpoint/messages"},{"title":"Messages Count Tokens","api":"POST https://api.nano-gpt.com/api/v1/messages/count_tokens","href":"/api-reference/endpoint/messages-count-tokens"},{"title":"Completions","openapi":"POST /v1/completions","href":"/api-reference/endpoint/completion"},{"title":"v1/audio/transcriptions (STT)","api":"POST https://api.nano-gpt.com/api/v1/audio/transcriptions","href":"/api-reference/endpoint/audio-transcriptions"},{"title":"Embeddings","openapi":"POST /v1/embeddings","href":"/api-reference/endpoint/embeddings"},{"title":"Rerank","href":"/api-reference/endpoint/rerank"},{"title":"Embedding Models","openapi":"GET /v1/embedding-models","href":"/api-reference/endpoint/embedding-models"},{"title":"Generate Images","api":"POST https://api.nano-gpt.com/api/v1/images","href":"/api-reference/endpoint/image-api-generate"},{"title":"Image Generation (OpenAI-Compatible)","openapi":"POST /v1/images/generations","href":"/api-reference/endpoint/image-generation-openai"},{"title":"Image Edits","api":"POST https://api.nano-gpt.com/api/v1/images/edits","href":"/api-reference/endpoint/image-edits"},{"title":"NSFW Image Classification","openapi":"POST /nsfw/image","href":"/api-reference/endpoint/nsfw-image"},{"title":"Moderation Models","openapi":"GET /v1/moderation-models","href":"/api-reference/endpoint/moderation-models"},{"title":"Moderations","openapi":"POST /v1/moderations","href":"/api-reference/endpoint/moderations"},{"title":"AI Detection","api":"POST https://api.nano-gpt.com/api/v1/ai-detection","href":"/api-reference/endpoint/ai-detection"},{"title":"AI Image Detection","api":"POST https://nano-gpt.com/api/v1/ai-detection/image","href":"/api-reference/endpoint/ai-detection-image"},{"title":"AI Video Detection","api":"POST https://nano-gpt.com/api/v1/ai-detection/video","href":"/api-reference/endpoint/ai-detection-video"},{"title":"Speech-to-Text Transcription","openapi":"POST /transcribe","href":"/api-reference/endpoint/transcribe"},{"title":"Speech-to-Text Status","openapi":"POST /transcribe/status","href":"/api-reference/endpoint/transcribe-status"},{"title":"Context Memory (Standalone)","openapi":"POST /v1/memory","href":"/api-reference/endpoint/memory"},{"title":"Web Scraping","openapi":"POST /scrape-urls","href":"/api-reference/endpoint/scrape-urls"},{"title":"Data Extraction APIs","api":"POST https://api.nano-gpt.com/api/v1/firecrawl","href":"/api-reference/endpoint/data-extraction"},{"title":"v1/audio/speech (TTS + Music)","api":"POST https://api.nano-gpt.com/api/v1/audio/speech","href":"/api-reference/endpoint/speech"},{"title":"Text-to-Speech","openapi":"POST /tts","href":"/api-reference/endpoint/tts"},{"title":"TTS Status","openapi":"GET /tts/status","href":"/api-reference/endpoint/tts-status"},{"title":"Voice Cloning","api":"POST https://api.nano-gpt.com/api/voice-clone/minimax","href":"/api-reference/endpoint/voice-cloning"},{"title":"TEE Attestation","openapi":"GET /v1/tee/attestation","href":"/api-reference/endpoint/tee-attestation"},{"title":"TEE Signature","openapi":"GET /v1/tee/signature/{requestId}","href":"/api-reference/endpoint/tee-signature"},{"title":"Video Generation","openapi":"POST /generate-video","href":"/api-reference/endpoint/video-generation"},{"title":"Video Status (Unified)","openapi":"GET /video/status","href":"/api-reference/endpoint/video-status-unified"},{"title":"Video Recover","openapi":"GET /generate-video/recover","href":"/api-reference/endpoint/video-recover"},{"title":"Video Content","openapi":"GET /generate-video/content","href":"/api-reference/endpoint/video-content"},{"title":"Check Balance","openapi":"POST /check-balance","href":"/api-reference/endpoint/check-balance"},{"title":"Usage","openapi":"GET /v1/usage","href":"/api-reference/endpoint/usage"},{"title":"Request Billing","openapi":"GET /v1/usage/requests/{request_id}","href":"/api-reference/endpoint/request-billing"},{"title":"Feedback API","openapi":"GET /v1/feedback/{id}","href":"/api-reference/endpoint/feedback"},{"title":"Create Invitation","openapi":"POST /invitations/create","href":"/api-reference/endpoint/invitations-create"},{"title":"Subscription Usage","openapi":"GET /subscription/v1/usage","href":"/api-reference/endpoint/subscription-usage"},{"title":"Receive Nano","openapi":"POST /receive-nano","description":"Process pending Nano transactions for the account","href":"/api-reference/endpoint/receive-nano"},{"title":"Deposits (Crypto + Fiat)","api":"POST https://nano-gpt.com/api/transaction/create/{ticker}","href":"/api-reference/endpoint/crypto-deposits"}]},{"group":"API Reference","pages":[{"title":"Text Generation","description":"Complete guide to text generation APIs","href":"/api-reference/text-generation"},{"title":"Embeddings","href":"/api-reference/embeddings"},{"title":"Image API","href":"/api-reference/image-generation"},{"title":"Video Generation","href":"/api-reference/video-generation"},{"title":"Speech-to-Text (STT)","href":"/api-reference/speech-to-text"},{"title":"Text-to-Speech (TTS)","href":"/api-reference/text-to-speech"},{"title":"Music Generation","href":"/api-reference/music-generation"},{"title":"TEE Verification","href":"/api-reference/tee-verification"},{"title":"Evals and Observability","href":"/api-reference/evals"},{"title":"Teams","href":"/api-reference/teams"},{"title":"Management API","href":"/api-reference/management-api"}]},{"group":"Miscellaneous","pages":[{"title":"API Hosts","href":"/api-reference/miscellaneous/api-hosts"},{"title":"Rate Limits","href":"/api-reference/miscellaneous/rate-limits"},{"title":"Webhooks","href":"/api-reference/miscellaneous/webhooks"},{"title":"Error Handling","href":"/api-reference/miscellaneous/error-handling"},{"title":"Inline Moderation","href":"/api-reference/miscellaneous/inline-moderation"},{"title":"Accountless Lightning L402 API Payments","href":"/api-reference/miscellaneous/x402"},{"title":"Extended Thinking (Reasoning)","href":"/api-reference/miscellaneous/extended-thinking"},{"title":"Change Reasoning Effort Within a Conversation","href":"/api-reference/miscellaneous/inline-reasoning-effort"},{"title":"Streaming Protocol (SSE)","href":"/api-reference/miscellaneous/streaming-protocol"},{"title":"Compressed Request Bodies","href":"/api-reference/miscellaneous/request-compression"},{"title":"Tool Calling Diagnostics","href":"/api-reference/miscellaneous/tool-calling-diagnostics"},{"title":"Prompt Metadata in Downloaded Images","href":"/api-reference/miscellaneous/image-prompt-metadata"},{"title":"Hosted tool search","href":"/api-reference/miscellaneous/hosted-tool-search"},{"title":"Advisor","href":"/api-reference/miscellaneous/advisor"},{"title":"Video Input","href":"/api-reference/miscellaneous/video-input"},{"title":"Prompt Caching","href":"/api-reference/miscellaneous/prompt-caching"},{"title":"Pricing and Fees","href":"/api-reference/miscellaneous/pricing"},{"title":"Pay-As-You-Go Billing Override","href":"/api-reference/miscellaneous/billing-override"},{"title":"Provider Selection","href":"/api-reference/miscellaneous/provider-selection"},{"title":"Distillation Policy","href":"/api-reference/miscellaneous/distillation-policy"},{"title":"Model Suffixes","href":"/api-reference/miscellaneous/model-suffixes"},{"title":"Model Presets","href":"/api-reference/miscellaneous/model-presets"},{"title":"PII Redaction","href":"/api-reference/miscellaneous/pii-redaction"},{"title":"Private Mode API","href":"/api-reference/miscellaneous/private-mode"},{"title":"API Key Masking","href":"/api-reference/miscellaneous/api-key-masking"},{"title":"OAuth PKCE","href":"/api-reference/miscellaneous/oauth-pkce"},{"title":"Brave","href":"/api-reference/miscellaneous/brave"},{"title":"Bring Your Own Key (BYOK)","href":"/api-reference/miscellaneous/byok"},{"title":"For Providers","href":"/api-reference/miscellaneous/for-providers"},{"title":"Auto Recharge","href":"/api-reference/miscellaneous/auto-recharge"},{"title":"Chrome Extension","href":"/api-reference/miscellaneous/chrome-extension"},{"title":"URL Parameters (Web App)","href":"/web-app/url-parameters"},{"title":"JavaScript SDK","href":"/api-reference/miscellaneous/javascript"},{"title":"Context Memory","href":"/api-reference/miscellaneous/context-memory"},{"title":"TypeScript SDK","href":"/api-reference/miscellaneous/typescript"},{"title":"Model Context Protocol (MCP)","href":"/api-reference/miscellaneous/mcp-server"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/integrations"},{"title":"CLI Device Login","href":"/integrations/cli-login"},{"title":"Cline","href":"/integrations/cline"},{"title":"Codex CLI","href":"/integrations/codex-cli"},{"title":"Grok CLI","href":"/integrations/grok-cli"},{"title":"Claude Code","href":"/integrations/claude-code"},{"title":"DeepSeek Harness","href":"/integrations/deepseek-harness"},{"title":"Roo Code","href":"/integrations/roocode"},{"title":"Kilo Code","href":"/integrations/kilocode"},{"title":"Cursor","href":"/integrations/cursor"},{"title":"Fluent","href":"/integrations/fluent"},{"title":"MCP","href":"/integrations/mcp"},{"title":"n8n","href":"/integrations/n8n"},{"title":"SillyTavern","href":"/integrations/sillytavern"},{"title":"RisuAI","href":"/integrations/risuai"},{"title":"OpenWebUI","href":"/integrations/openwebui"},{"title":"Otaku","href":"/integrations/otaku"},{"title":"TypingMind","href":"/integrations/typingmind"},{"title":"LibreChat","href":"/integrations/librechat"},{"title":"OpenHands","href":"/integrations/openhands"},{"title":"OpenClaw (ClawdBot)","href":"/integrations/openclaw"},{"title":"OpenCode","href":"/integrations/opencode"},{"title":"JanitorAI","href":"/integrations/janitorai"},{"title":"Droid","href":"/integrations/droid"}]}]},"basePath":"","title":"Deposits (Crypto + Fiat) - NanoGPT API Documentation","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js"]}