Take a test payment and watch it get credited, from a fresh account, in about ten minutes.
You will ask for 10 XLM, pay it on the Stellar testnet and watch your app get credited. Everything
runs in the sandbox, so no real money moves.
You need: Node.js 20 or later, or anything that can send an HTTP request. No crypto
experience is needed. If Stellar is new to you, Stellar basics is a five
minute read.
1
Create an account and an application
Sign up at the sandbox dashboard,
sandbox-dashboard.useroutr.com, verify your email
and create your first application. An application is the product that receives the money: your
store, your game, your SaaS. Home then shows a setup guide that ticks itself off as you go.
The sandbox has its own dashboard and its own accounts.
dashboard.useroutr.com is production: its keys start with
ur_live_ and move real money on Stellar mainnet.
2
Create a test API key
In the sandbox dashboard, open Developers → API keys and create a key. It starts with ur_test_,
which points the SDK at the sandbox. The secret is shown once, so copy it now.
Developers → API keys → Create API key
.env
USEROUTR_API_KEY=ur_test_...
An API key belongs on your server. Never ship it to a browser or a mobile app.
3
Install the SDK
npm install @useroutr/sdk
pnpm add @useroutr/sdk
yarn add @useroutr/sdk
bun add @useroutr/sdk
Not using Node.js? Skip this step and follow the cURL tabs below.
4
Choose where the money goes
Settled money goes to a Stellar account you control, called your destination. For this
test, make a free testnet account:
Open Stellar Lab and switch the network to Testnet.
Generate a keypair and fund it with Friendbot, which gives new testnet accounts free
test XLM.
Copy the public key, the one starting with G. Keep the secret key, starting with S,
to yourself.
In the dashboard, open Settings. Under Default destination, paste the public key,
choose XLM as the asset and save.
Settings → Default destination. This one receives USDC; pick XLM for the quickstart.
This quickstart asks for XLM because every Stellar account can hold it. To receive USDC,
the account needs a trustline first.
5
Ask for 10 XLM
A funding intent asks for an exact amount of an exact asset. The
makes the call safe to retry.
The intent starts CREATED and becomes AWAITING_PAYMENT within seconds, once it is
registered on the Useroutr protocol.
6
Pay it
Open the hosted_funding_url from the output. The page shows exactly what to send and where.
The hosted checkout, waiting for the payment
Send 10 testnet XLM to that address from a second testnet account: make one in Stellar
Lab and fund it with Friendbot, as before. Any wallet switched to testnet works, or build a
payment in Stellar Lab, sign it with that account’s secret key and submit it. No memo is
needed: the address belongs to this intent alone.
7
Watch it get credited
Useroutr detects the payment, verifies it, settles it to your destination and credits your
ledger. The page updates on its own, and on testnet this usually takes under a minute.
const current = await useroutr.fundingIntents.retrieve(intent.id);console.log(current.status); // "CREDITED"
The payment, the settlement and the credit are in the dashboard too: open Funding intents
and click the intent. In a real integration, you would receive a webhook
instead of asking.
Funding intents → click an intent
What just happened
You asked for value, a payment arrived on chain, Useroutr verified and settled it, and your ledger
was credited. Every integration is this same path with a nicer front end.
How it works walks through each step.
If something goes wrong
401 INVALID_CREDENTIALS
The key is for the other environment: a ur_live_ key on the sandbox, or a ur_test_ key on
production. The SDK picks the environment from the key, so check that USEROUTR_BASE_URL is
not set to something else.
422 INVALID_DESTINATION
Useroutr checks your destination before taking any payment. Its asset must be the asset you
asked for, so for this quickstart the default destination’s asset must be XLM. The account
must exist on testnet, so fund it with Friendbot, and to receive an issued asset such as USDC
it needs a trustline for it. The error message says which.
409 IDEMPOTENCY_KEY_REUSED
You changed the request but kept the key. A key belongs to one request: use a new one, such
as quickstart-2.
The intent stays AWAITING_PAYMENT
Check that you sent XLM, on testnet, to the deposit address on the page, before it expired
(30 minutes by default). If you sent less than 10, the intent is PARTIALLY_FUNDED and waits
for the rest. Your request logs show every call you made.
Next
Embed the checkout
Take the payment inside your app with the React component.
Handle webhooks
Fulfil orders the moment a payment is credited.
Go live
Four steps from the sandbox to real money.
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Useroutr","description":"Application funding infrastructure. Users pay with what they have; your application receives exactly what it asked for.","colors":{"primary":"#e8590c","light":"#ff7433","dark":"#c2410c"},"logo":{"light":"https://mintcdn.com/thirtn/So4JhtTsHsf8CrxE/logo/light.svg?fit=max\u0026auto=format\u0026n=So4JhtTsHsf8CrxE\u0026q=85\u0026s=5c0f009abf297dc15afc3c92cd9ddbc0","dark":"https://mintcdn.com/thirtn/So4JhtTsHsf8CrxE/logo/dark.svg?fit=max\u0026auto=format\u0026n=So4JhtTsHsf8CrxE\u0026q=85\u0026s=5eef9dcdc89e506d063af2aab144c14e","href":"https://useroutr.com"},"favicon":"https://mintcdn.com/thirtn/So4JhtTsHsf8CrxE/favicon.svg?fit=max\u0026auto=format\u0026n=So4JhtTsHsf8CrxE\u0026q=85\u0026s=249f3af13ee8422f055e5a856d13a131","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["typescript","bash"]}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"https://docs.useroutr.com/llms-full.txt","label":"llms-full.txt"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.useroutr.com"}},"footer":{"socials":{"github":"https://github.com/useroutr"}},"fonts":{"family":"Hanken Grotesk"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thirtn","hasAudioNarration":false,"actualSubdomain":"thirtn","customDomains":["docs.useroutr.com"],"gitSource":{"type":"github","owner":"useroutr","repo":"useroutr","deployBranch":"release","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false},"entitlements":{},"buildId":"6b061e031bc7a7cba8e2575f","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":47},{"language":"default","tag":"Endpoints","count":46},{"language":"default","tag":"Docs","count":27},{"language":"default","tag":"Webhooks","count":11},{"language":"default","tag":"Use cases","count":10},{"language":"default","tag":"Applications","count":9},{"language":"default","tag":"Integrate","count":8},{"language":"default","tag":"Build it today","count":7},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Checkout","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1280px){#content-area{max-width:44rem}}.illustration{margin:1.75rem 0}.illustration img{width:100%;height:auto;margin:0;border-radius:20px}.illustration.scene img{max-width:34rem;margin-left:auto;margin-right:auto}.tile img{max-width:100%;max-height:9rem;width:auto;height:auto}.tile div:has(>img){padding:0.5rem}.asset-table code{white-space:nowrap}.asset-table td{min-width:7rem}"}]}
{"page":{"pagePath":"quickstart","slug":"/quickstart","pageMetadata":{"title":"Quickstart","description":"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.","href":"/quickstart"},"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: \"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\"\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`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Tip,Tooltip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`You will ask for 10 XLM, pay it on the Stellar testnet and watch your app get credited. Everything\nruns in the sandbox, so no real money moves.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`You need:`}),` Node.js 20 or later, or anything that can send an HTTP request. No crypto\nexperience is needed. If Stellar is new to you, `,_jsx(_components.a,{href:`/stellar-basics`,children:`Stellar basics`}),` is a five\nminute read.`]})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create an account and an application`,children:[_jsxs(_components.p,{children:[`Sign up at the sandbox dashboard,\n`,_jsx(_components.a,{href:`https://sandbox-dashboard.useroutr.com`,children:`sandbox-dashboard.useroutr.com`}),`, verify your email\nand create your first application. An application is the product that receives the money: your\nstore, your game, your SaaS. Home then shows a setup guide that ticks itself off as you go.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The sandbox has its own dashboard and its own accounts.\n`,_jsx(_components.a,{href:`https://dashboard.useroutr.com`,children:`dashboard.useroutr.com`}),` is production: its keys start with\n`,_jsx(_components.code,{children:`ur_live_`}),` and move real money on Stellar mainnet.`]})})]}),_jsxs(Step,{title:`Create a test API key`,children:[_jsxs(_components.p,{children:[`In the sandbox dashboard, open `,_jsx(_components.strong,{children:`Developers → API keys`}),` and create a key. It starts with `,_jsx(_components.code,{children:`ur_test_`}),`,\nwhich points the SDK at the sandbox. The secret is shown once, so copy it now.`]}),_jsx(Frame,{caption:`Developers → API keys → Create API key`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a8f5ef5a3ff76ed732b1ba70771f2dc8`,alt:`The dashboard's API keys page with a new key's secret shown once, starting ur_test_, and a Copy button`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`1250`,height:`1250`,\"data-path\":`images/dashboard/api-key-created.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=6a55d7badddbc0b83ad5e0a716b30de3 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=7245938c18f11733faa2e2f08f30f243 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a0a2bc4286b4398cc3aa5033593535fa 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=28a3010f1f45b7939eff82ad39534f87 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=2e51f73d1a30fe0d1cf50f40f9f61eb2 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/api-key-created.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=5bbd32bfb4e5be0e94789de8f61e1f46 2500w`})}),_jsx(CodeBlock,{filename:`.env`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`USEROUTR_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ur_test_...`})]}),`\n`]})})}),_jsx(Warning,{children:`An API key belongs on your server. Never ship it to a browser or a mobile app.`})]}),_jsxs(Step,{title:`Install the SDK`,children:[_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`npm`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @useroutr/sdk`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`pnpm`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @useroutr/sdk`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`yarn`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`yarn`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @useroutr/sdk`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`bun`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @useroutr/sdk`})]}),`\n`]})})})]}),_jsxs(_components.p,{children:[`Not using Node.js? Skip this step and follow the `,_jsx(_components.strong,{children:`cURL`}),` tabs below.`]})]}),_jsxs(Step,{title:`Choose where the money goes`,children:[_jsxs(_components.p,{children:[`Settled money goes to a Stellar account you control, called your `,_jsx(_components.strong,{children:`destination`}),`. For this\ntest, make a free testnet account:`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.a,{href:`https://lab.stellar.org`,children:`Stellar Lab`}),` and switch the network to `,_jsx(_components.strong,{children:`Testnet`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Generate a keypair and fund it with `,_jsx(_components.strong,{children:`Friendbot`}),`, which gives new testnet accounts free\ntest XLM.`]}),`\n`,_jsxs(_components.li,{children:[`Copy the public key, the one starting with `,_jsx(_components.code,{children:`G`}),`. Keep the secret key, starting with `,_jsx(_components.code,{children:`S`}),`,\nto yourself.`]}),`\n`,_jsxs(_components.li,{children:[`In the dashboard, open `,_jsx(_components.strong,{children:`Settings`}),`. Under `,_jsx(_components.strong,{children:`Default destination`}),`, paste the public key,\nchoose `,_jsx(_components.strong,{children:`XLM`}),` as the asset and save.`]}),`\n`]}),_jsx(Frame,{caption:`Settings → Default destination. This one receives USDC; pick XLM for the quickstart.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=8f52d61ac238784dcd9d39d6d8e0a33a`,alt:`Settings, Default destination: a Stellar destination account and the asset it receives`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`1250`,height:`1250`,\"data-path\":`images/dashboard/default-destination.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a6a416f0be8d539a5d524cfd5510e105 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=6bc22edece9738dd90687cd98666bdbb 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a85c2cb20b8bb57f670c6d99ee6ce68d 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=1a415b1ebf95052426a59677f5e451d8 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=7264d159e9859ef05ea8912cbe67f61f 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/default-destination.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=e11e7103b96c7d786a38e41f7cd779a0 2500w`})}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`This quickstart asks for XLM because every Stellar account can hold it. To receive USDC,\nthe account needs a `,_jsx(_components.a,{href:`/stellar-basics#trustlines`,children:`trustline`}),` first.`]})})]}),_jsxs(Step,{title:`Ask for 10 XLM`,children:[_jsxs(_components.p,{children:[`A funding intent asks for an exact amount of an exact asset. The\n`,_jsx(Tooltip,{tip:`A name for this request. Send the same key again and you get the same intent back, never a second one.`,children:`idempotency key`}),`\nmakes the call safe to retry.`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`11`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Useroutr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@useroutr/sdk\"`}),_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:` useroutr`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Useroutr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`USEROUTR_API_KEY`}),_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:` intent`}),_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:` useroutr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fundingIntents`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_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\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`asset:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset_xlm_stellar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`reference:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quickstart-1\"`}),_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\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`idempotencyKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quickstart-1\"`}),_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:`#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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`intent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`intent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`intent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`hosted_funding_url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,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:[_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://sandbox-api.useroutr.com/v1/funding-intents`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USEROUTR_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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: quickstart-1\"`}),_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\", \"asset\": \"asset_xlm_stellar\", \"reference\": \"quickstart-1\" }'`})]}),`\n`]})})})]}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`fi_2d6a91c4 CREATED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://sandbox-pay.useroutr.com/8sf6B570T1UkUIPhcltW2CTdnhHtRLDK`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`The intent starts `,_jsx(_components.code,{children:`CREATED`}),` and becomes `,_jsx(_components.code,{children:`AWAITING_PAYMENT`}),` within seconds, once it is\nregistered on the Useroutr protocol.`]})]}),_jsxs(Step,{title:`Pay it`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.code,{children:`hosted_funding_url`}),` from the output. The page shows exactly what to send and where.`]}),_jsxs(Frame,{caption:`The hosted checkout, waiting for the payment`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=9bed13bb606423101162e199c43393ae`,alt:`The checkout showing: send exactly 10 XLM to a Stellar address, with the time left to pay`,className:`mint-block dark:mint-hidden`,style:{maxWidth:`380px`,margin:`0 auto`},\"data-og-width\":`936`,width:`936`,\"data-og-height\":`940`,height:`940`,\"data-path\":`images/checkout/pay-xlm-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a516de8d5a121b5aa3aba6b7818c08ab 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=2933d6fdc30f8afdf8bb45b32b7fa1e5 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a1d1569eb2619adcacacb426efb219b8 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=39cdc64884952f7a4b335faa15de7909 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=5eb0470fac08b72c96ed036fa002a94f 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=6a1223905253de559786e3554e25efcf 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=ad29892e58dedeabe87a8919beacd3d8`,alt:`The checkout showing: send exactly 10 XLM to a Stellar address, with the time left to pay`,className:`mint-hidden dark:mint-block`,style:{maxWidth:`380px`,margin:`0 auto`},\"data-og-width\":`936`,width:`936`,\"data-og-height\":`940`,height:`940`,\"data-path\":`images/checkout/pay-xlm-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=c5fc587f8260534fa3b09514cd5fe2ba 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=afcc3469b75c1f123122ed62d4f4e963 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=736a01f0f78d24be39dac31b22c11ec0 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=e3bc1810eff928926e4849e786f68a53 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=68c698e0a5860e95aa76884439a7b69b 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/pay-xlm-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=23ca24d449ac8275484d6de0f71bb2ed 2500w`})]}),_jsxs(_components.p,{children:[`Send 10 testnet XLM to that address from a `,_jsx(_components.strong,{children:`second`}),` testnet account: make one in Stellar\nLab and fund it with Friendbot, as before. Any wallet switched to testnet works, or build a\npayment in Stellar Lab, sign it with that account’s secret key and submit it. No memo is\nneeded: the address belongs to this intent alone.`]})]}),_jsxs(Step,{title:`Watch it get credited`,children:[_jsx(_components.p,{children:`Useroutr detects the payment, verifies it, settles it to your destination and credits your\nledger. The page updates on its own, and on testnet this usually takes under a minute.`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`2`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,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:` current`}),_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:` useroutr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fundingIntents`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`retrieve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`intent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`current`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// \"CREDITED\"`})]}),`\n`]})})}),_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://sandbox-api.useroutr.com/v1/funding-intents/fi_2d6a91c4`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USEROUTR_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})]}),_jsx(Frame,{caption:`Paid and credited`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=2c68d797fe0eecc7c9caf39282371209`,alt:`The checkout showing: payment successful, 10 XLM paid on Stellar`,style:{maxWidth:`380px`,margin:`0 auto`},\"data-og-width\":`936`,width:`936`,\"data-og-height\":`942`,height:`942`,\"data-path\":`images/checkout/success-xlm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=21063be174be103f86865dee52485d0c 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=b4d457e53b1b9c75b3c1f2083da1bed2 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=b0390f18602fa09889b1a08d1d3c1344 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=703f6afcf3e15f4827b67ddb297f461b 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=c02929233a1f300796e9aecc41a9130b 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/checkout/success-xlm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=70bf81fb79dfc68464413701f610e6e8 2500w`})}),_jsxs(_components.p,{children:[`The payment, the settlement and the credit are in the dashboard too: open `,_jsx(_components.strong,{children:`Funding intents`}),`\nand click the intent. In a real integration, you would `,_jsx(_components.a,{href:`/guides/webhooks`,children:`receive a webhook`}),`\ninstead of asking.`]}),_jsx(Frame,{caption:`Funding intents → click an intent`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=9f9a06dee26f7b8b985a4765a7fd2744`,alt:`A credited funding intent in the dashboard, with its progress from Created to Credited, its confirmed settlement and its checkout link`,\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`1250`,height:`1250`,\"data-path\":`images/dashboard/funding-intent-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=33d72fe2699492bc9a6e9493b112f8cd 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=4c6853ebf7e8b4ab0cb62d5e7b86dccb 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=b0dff62907f1cb00a625dea70d9428cb 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=081946771c66272b93e1a89fefa8539b 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=42d7b2262c897db5b94640fff53949e9 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/dashboard/funding-intent-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=4a72a9e0c6dbff14058a7f224149e297 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-just-happened`,children:`What just happened`}),`\n`,_jsxs(`div`,{className:`illustration`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=f20a530c77a6afe314fcc2fc3f9495a6`,alt:`Five steps: you ask, they pay, verified, settled, credited.`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`400`,height:`400`,\"data-path\":`images/illustrations/journey-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=ff8ad8426b76d00abd4cba40084464a4 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=9b217f1a7942d3288b984feb62f0639f 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=656b83c543de0abef15aff9c42b2ec69 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=5be648e9a1aef60e00c5eaa80b860cfe 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a33b38f5093f542b5790b1624c2f569e 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-light.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=7b7670809dadc3de241d7e9e37f5b2fa 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=9b82037ca679e9086ceceec4ad388afb`,alt:`Five steps: you ask, they pay, verified, settled, credited.`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`400`,height:`400`,\"data-path\":`images/illustrations/journey-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=280\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=2c42085419d2765c5da534a12f7010ef 280w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=560\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=555a05f0a0dfa18bbe1f5acfbdcdbc1a 560w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=840\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=9849b96da4fdc58ffafe62fc48a64c5d 840w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=996ec03e9a3ed0c08de4308898dc1385 1100w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=81aab2f6b6f570eb0e566b118a3fa408 1650w, https://mintcdn.com/thirtn/b2TsoqW7LpkFNk8m/images/illustrations/journey-dark.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=b2TsoqW7LpkFNk8m\u0026q=85\u0026s=a830778bd08ba1f65b31fc086c33947f 2500w`})]}),`\n`,_jsxs(_components.p,{children:[`You asked for value, a payment arrived on chain, Useroutr verified and settled it, and your ledger\nwas credited. Every integration is this same path with a nicer front end.\n`,_jsx(_components.a,{href:`/how-it-works`,children:`How it works`}),` walks through each step.`]}),`\n`,_jsx(Heading,{level:`2`,id:`if-something-goes-wrong`,children:`If something goes wrong`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`401 INVALID_CREDENTIALS`,icon:`key`,id:`401-invalid-credentials`,children:_jsxs(_components.p,{children:[`The key is for the other environment: a `,_jsx(_components.code,{children:`ur_live_`}),` key on the sandbox, or a `,_jsx(_components.code,{children:`ur_test_`}),` key on\nproduction. The SDK picks the environment from the key, so check that `,_jsx(_components.code,{children:`USEROUTR_BASE_URL`}),` is\nnot set to something else.`]})}),_jsx(Accordion,{title:`422 INVALID_DESTINATION`,icon:`location-dot`,id:`422-invalid-destination`,children:_jsx(_components.p,{children:`Useroutr checks your destination before taking any payment. Its asset must be the asset you\nasked for, so for this quickstart the default destination’s asset must be XLM. The account\nmust exist on testnet, so fund it with Friendbot, and to receive an issued asset such as USDC\nit needs a trustline for it. The error message says which.`})}),_jsx(Accordion,{title:`409 IDEMPOTENCY_KEY_REUSED`,icon:`repeat`,id:`409-idempotency-key-reused`,children:_jsxs(_components.p,{children:[`You changed the request but kept the key. A key belongs to one request: use a new one, such\nas `,_jsx(_components.code,{children:`quickstart-2`}),`.`]})}),_jsx(Accordion,{title:`The intent stays AWAITING_PAYMENT`,icon:`hourglass-half`,id:`the-intent-stays-awaiting-payment`,children:_jsxs(_components.p,{children:[`Check that you sent XLM, on testnet, to the deposit address on the page, before it expired\n(30 minutes by default). If you sent less than 10, the intent is `,_jsx(_components.code,{children:`PARTIALLY_FUNDED`}),` and waits\nfor the rest. Your `,_jsx(_components.a,{href:`/guides/request-logs`,children:`request logs`}),` show every call you made.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next`,children:`Next`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Embed the checkout`,icon:`window-maximize`,href:`/payments/embedded-checkout`,children:_jsx(_components.p,{children:`Take the payment inside your app with the React component.`})}),_jsx(Card,{title:`Handle webhooks`,icon:`webhook`,href:`/guides/webhooks`,children:_jsx(_components.p,{children:`Fulfil orders the moment a payment is credited.`})}),_jsx(Card,{title:`Go live`,icon:`rocket`,href:`/integrate/sandbox#going-live`,children:_jsx(_components.p,{children:`Four steps from the sandbox to real money.`})})]})]})}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":"Quickstart","description":"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.","href":"/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What just happened","slug":"what-just-happened","depth":2,"children":[]},{"title":"If something goes wrong","slug":"if-something-goes-wrong","depth":2,"children":[]},{"title":"Next","slug":"next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"thirtn","siteName":"Useroutr","title":"Quickstart - Useroutr","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T23:30:21.238Z","originalFileLocation":"quickstart.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=\"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Useroutr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_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/thirtn/dK7ExLQG-mzm3vwO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart - Useroutr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Useroutr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.useroutr.com/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thirtn.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Quickstart\u0026amp;description=Take+a+test+payment+and+watch+it+get+credited%2C+from+a+fresh+account%2C+in+about+ten+minutes.\u0026amp;theme=f36701c4ffc25271ad03abaa\u0026amp;signature=c1f3abf80c20355489256ef159b8deb9acf778bec5cc9801839056a4c6c96bc7\">\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=\"Quickstart - Useroutr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thirtn.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Quickstart\u0026amp;description=Take+a+test+payment+and+watch+it+get+credited%2C+from+a+fresh+account%2C+in+about+ten+minutes.\u0026amp;theme=f36701c4ffc25271ad03abaa\u0026amp;signature=c1f3abf80c20355489256ef159b8deb9acf778bec5cc9801839056a4c6c96bc7\">\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/thirtn/dK7ExLQG-mzm3vwO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Useroutr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e8590c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.useroutr.com/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.useroutr.com/#organization\",\"name\":\"Useroutr\",\"url\":\"https://docs.useroutr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thirtn/So4JhtTsHsf8CrxE/logo/light.svg?fit=max\u0026auto=format\u0026n=So4JhtTsHsf8CrxE\u0026q=85\u0026s=5c0f009abf297dc15afc3c92cd9ddbc0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.useroutr.com#website\",\"name\":\"Useroutr\",\"url\":\"https://docs.useroutr.com\",\"publisher\":{\"@id\":\"https://docs.useroutr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.useroutr.com/quickstart#webpage\",\"url\":\"https://docs.useroutr.com/quickstart\",\"name\":\"Quickstart\",\"description\":\"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\",\"dateModified\":\"2026-11-24T23:30:21.238Z\",\"isPartOf\":{\"@id\":\"https://docs.useroutr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.useroutr.com/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.useroutr.com/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.useroutr.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart\",\"item\":\"https://docs.useroutr.com/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.useroutr.com/quickstart#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Take a test payment and watch it get credited, from a fresh account, in about ten minutes.\",\"url\":\"https://docs.useroutr.com/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.useroutr.com/quickstart#webpage\"},\"dateModified\":\"2026-11-24T23:30:21.238Z\",\"publisher\":{\"@id\":\"https://docs.useroutr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.useroutr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Useroutr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Useroutr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/quickstart.md","siteName":"Useroutr","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","groups":[{"group":"Get started","pages":[{"title":"Welcome to Useroutr","sidebarTitle":"Introduction","description":"Let users pay with what they already hold. Your app receives exactly what it asked for.","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Key ideas","description":"The six ideas the rest of the docs build on, in plain words. No crypto background needed.","href":"/key-ideas"},{"title":"How it works","href":"/how-it-works"},{"title":"Stellar basics","sidebarTitle":"New to Stellar?","href":"/stellar-basics"}]},{"group":"Accept payments","pages":[{"title":"Choose a checkout","href":"/payments/overview"},{"title":"Hosted checkout","href":"/payments/hosted-checkout"},{"title":"Embedded checkout","href":"/payments/embedded-checkout"},{"title":"Custom checkout","href":"/payments/custom-checkout"},{"title":"Branding","href":"/payments/branding"}]},{"group":"Concepts","pages":[{"title":"Funding intents","href":"/concepts/funding-intents"},{"title":"Assets and networks","href":"/concepts/assets-and-networks"},{"title":"Supported networks and assets","href":"/concepts/supported-networks"},{"title":"Quotes and routes","href":"/concepts/quotes-and-routes"},{"title":"Settlement","href":"/concepts/settlement"},{"title":"Balances and ledger","href":"/concepts/balances-and-ledger"}]},{"group":"After a payment","pages":[{"title":"Webhooks","href":"/guides/webhooks"},{"title":"Refunds","href":"/guides/refunds"},{"title":"Request logs","href":"/guides/request-logs"}]},{"group":"Integrate","pages":[{"group":"SDKs","icon":"cube","pages":[{"title":"SDKs","sidebarTitle":"Overview","href":"/sdks/overview"},{"title":"Node.js SDK","sidebarTitle":"Node.js and TypeScript","href":"/sdks/typescript"},{"title":"React checkout","sidebarTitle":"React","href":"/sdks/react"}]},{"title":"Authentication","href":"/integrate/authentication"},{"title":"Sandbox","href":"/integrate/sandbox"},{"title":"Idempotency","href":"/integrate/idempotency"},{"title":"Errors","href":"/integrate/errors"},{"title":"Pagination","href":"/integrate/pagination"}]}]},{"tab":"Use cases","icon":"lightbulb","pages":[{"title":"Use cases","href":"/use-cases/overview"}]},{"tab":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","icon":"signal","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Quickstart - Useroutr","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-C7yGukkT.js","DynamicMarkdown-XsrWkK-b.js","zoom-image-lightbox-C5J5Gw3i.js","lightbox-handle-r17bVUz3.js"]}