Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.
Your agent needs USDC to pay for Laso Finance API calls.If your agent does not already have a wallet, use a Laso-managed wallet. It is the whole setup: no provider signup, no private key to look after, no endpoint registration.The other tabs are for agents that already have a wallet with Locus, Sponge, or Ampersend. Those all work with every Laso endpoint, so there is nothing to migrate. If you are not already using one of them, you do not need one.
Laso-managed (start here)
Locus
Sponge
Ampersend
Laso custodies a Solana wallet for your account and pays x402 endpoints on your agent’s behalf, so the agent never builds a payment header or holds a private key. There is no third-party provider signup and no endpoint registration.Tell your agent:
Read https://laso.finance/SKILL.md and follow the instructions to sign in anduse the Laso-managed wallet. Save your credentials and install the skilllocally as it describes, so you still have access in future sessions.
All you need to do is fund it:
1
Let your agent sign in
Your agent calls GET /auth and gets its credentials. Nothing is needed from you.
2
Fund the wallet
Your agent reads its wallet address from getAgentWallet and shows it to you. Send USDC on Solana to that address, or USDC on Base to its Base address. Both land in the same balance. At least $5 covers a card order.
From there the agent calls agentX402Pay instead of paying endpoints directly. See the managed agent wallet guide for the full flow, including the per-payment guardrails for external endpoints.
A managed wallet can pay any x402 endpoint, not just Laso’s. Skip to step 2
below; the Locus endpoint-registration guide does not apply.
Locus provides wallet infrastructure purpose-built for AI agents.Tell your agent:
Read https://paywithlocus.com/SKILL.md and follow the instructions to set up Locus
Your agent will walk through the Locus onboarding, but it needs a few things from you first:
From the dashboard, click Create Wallet. This deploys a smart wallet on the Base blockchain (~30 seconds). Save your private key — it’s shown only once.
3
Fund your wallet
Transfer USDC on Base or Solana to the wallet address shown on your dashboard. You’ll need at least $5 to order a card.
4
Generate an API key
Go to the API Key section and generate a key (starts with claw_). Copy it immediately — it’s shown only once.
5
Configure x402 endpoints
Navigate to x402 Endpoints in the Locus dashboard and add the Laso Finance endpoints your agent will use. See the Locus x402 Configuration guide for detailed instructions on adding each endpoint with the correct parameters.
This step is required! Without configuring the x402 endpoints, your agent won’t be able to call Laso Finance APIs through Locus.
6
Give your agent the API key
When your agent asks for a Locus API key, provide the claw_ key you generated.
Sponge provides agent wallets with automatic x402 service discovery.Tell your agent:
Read https://wallet.paysponge.com/skill.md and follow the instructions to set up Sponge Wallet
Your agent will walk through the Sponge onboarding, but it needs a few things from you first:
1
Agent registers
Your agent calls POST /api/agents/register with agentFirst: true to get an API key immediately (starts with sponge_live_). A claim URL is returned for human verification.
2
Claim the wallet
Open the claim URL from the registration response to verify and take ownership of the wallet.
3
Fund your wallet
Transfer USDC on Base or Solana to the wallet address. You’ll need at least $5 to order a card.
4
Discover Laso Finance endpoints
Sponge discovers x402 services automatically. Your agent calls GET /api/discover?query=laso to find available Laso Finance endpoints, then uses POST /api/x402/fetch to call them. No manual endpoint configuration needed.
Ampersend provides self-custody agent wallets on Base or Solana with dual-approval spending. Both you and the agent must authorize every payment, with per-transaction, daily, and monthly limits you control. Laso Finance is a default skill for Ampersend, so paywalled endpoints work natively with no manual registration.
From the dashboard, click + New agent, then choose Set up now in the confirmation dialog and complete. You’ll need at least $5 to order a card; you can fund later from the agent’s page.
3
Choose your agent framework
On the Set up your agent screen, pick the framework you’re using. For Claude Code, OpenClaw, or other CLI-based agents, select OpenClaw, Claude Code or other CLI-based agents at the top.
4
Paste the setup prompt into your agent
Ampersend will display a prompt like:
Read https://www.ampersend.ai/getting-started.mdand connect to my existing agent account: agent address: 0x...
Paste it into your agent. The agent installs the Ampersend skill and CLI on its own and replies with an auth link (https://app.ampersend.ai/approvals/setup-agent/<token>) and a 6-digit verification code. Open the link, confirm the code matches, and approve. Once approved, tell the agent it’s verified — it will run ampersend setup finish and the wallet is ready to make x402 payments to Laso Finance.
A wallet with no USDC in it cannot pay for anything, so this is the step that actually turns the API on. Ask your agent for its wallet address, then send it USDC.
Laso-managed wallet: the agent reads its addresses from getAgentWallet and shows them to you. Send USDC on Solana or USDC on Base to the matching address.
Self-custody wallet (Locus, Sponge, Ampersend): send USDC on Base or Solana to the address on the provider’s dashboard.
At least $5 covers a first card order, plus a little headroom for the paid endpoints your agent calls along the way. Funds are yours the whole time: anything left over can be pulled back out with POST /withdraw.
How your agent gets API credentials depends on which wallet it uses. Both calls are free.Laso-managed wallet. Your agent holds a Laso agent API key (it starts with lasoak_), not a private key, so it cannot sign in with a wallet signature. It presents the key to agentAuth instead. The setup helper in SKILL.md does this for it. Tell your agent:
Connect to Laso Finance by following https://laso.finance/SKILL.md. Use theLaso API key I gave you; it exchanges the key for a session throughhttps://laso.finance/agentAuth. Save the id_token, refresh_token, and user_id.
Self-custody wallet (Locus, Sponge, Ampersend). Your agent proves wallet ownership by calling GET /auth with a SIGN-IN-WITH-X signature header. Tell your agent:
Authenticate with the Laso Finance API by calling GET https://laso.finance/authwith a SIGN-IN-WITH-X header. Save the id_token, refresh_token, and user_idfrom the response.
Either response includes:
id_token: Bearer token for authenticated endpoints (like /get-card-data). Expires after ~1 hour.
refresh_token: Use with POST /auth (grant_type: "refresh_token") to get a new id_token when it expires.
user_id: Your agent’s opaque account id. It is not a deposit address.
Your agent should store these credentials and reuse them across requests.
/auth and /get-card return fresh tokens — always save them. When the
id_token expires, call POST /auth with grant_type: "refresh_token" and
the refresh_token — no payment needed.
With a funded wallet and credentials in hand, your agent can order a prepaid card. GET /get-card is paywalled, so the x402 client (or agentX402Pay on a Laso-managed wallet) settles the USDC payment and the request goes through.Tell your agent:
Order a USA prepaid card from Laso Finance for $5 by callingGET https://laso.finance/get-card?amount=5 over x402. Then pollGET https://laso.finance/get-card-data?card_id=<card_id> with the Bearer tokenuntil status is "ready" and show me the card details.
The order comes back immediately with a card_id and status: "pending". The number, CVV, and expiry take ~7-10 seconds to be issued, which is what the poll is for. The USA card is issued in USD and works at U.S. merchants.
The USA card is non-reloadable, so order for the exact checkout total when you
know it. Nothing is stranded if you do not: leftover balance stays spendable
at another merchant. For recurring spend, use a reloadable
card instead.
Your agent can discover the rest of the API on its own from the files listed under agent discovery, starting with https://laso.finance/SKILL.md.
Buy something online with the card your agent just ordered.
Managing multiple agents or need spending guardrails?1Claw’s Payment
Card Vault wraps the Laso
API with per-agent spending limits, automatic PAN redaction, and audit-logged
reveals — so your agents can order cards without ever seeing the full card
number.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Laso Finance API","colors":{"primary":"#3182CE","light":"#63B3ED","dark":"#2B6CB0"},"logo":{"light":"https://mintcdn.com/lasofinance/ofpGRRSVLQ9V1OQK/logo/light.svg?fit=max\u0026auto=format\u0026n=ofpGRRSVLQ9V1OQK\u0026q=85\u0026s=bd9f84a4711475d24375fe444b276211","dark":"https://mintcdn.com/lasofinance/ofpGRRSVLQ9V1OQK/logo/dark.svg?fit=max\u0026auto=format\u0026n=ofpGRRSVLQ9V1OQK\u0026q=85\u0026s=02b9e95a41760833955f02322dd28520"},"favicon":"https://mintcdn.com/lasofinance/ofpGRRSVLQ9V1OQK/favicon.svg?fit=max\u0026auto=format\u0026n=ofpGRRSVLQ9V1OQK\u0026q=85\u0026s=b77639351bc9249b59a562d4ce64ac18","navbar":{"links":[{"href":"mailto:support@laso.finance","label":"Support"},{"icon":"github","href":"https://github.com/LasoFinance/docs","label":"GitHub"}],"primary":{"type":"button","label":"laso.finance","href":"https://laso.finance"}},"footer":{"socials":{"x":"https://x.com/intent/follow?screen_name=lasofinance","github":"https://github.com/LasoFinance/docs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lasofinance","hasAudioNarration":false,"actualSubdomain":"lasofinance","customDomains":["docs.laso.finance"],"gitSource":{"type":"github","owner":"lasofinance","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"thumbs":true,"issues":true,"agentFeedback":true},"entitlements":{},"buildId":"6aee4de288ca07f8054a49d4","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":78},{"language":"default","tag":"Guides","count":38},{"language":"default","tag":"Cards","count":20},{"language":"default","tag":"Banking","count":19},{"language":"default","tag":"Agent Wallet","count":11},{"language":"default","tag":"Platform","count":8},{"language":"default","tag":"Spend","count":8},{"language":"default","tag":"Account","count":8},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"How We Use","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/agent-quick-start","slug":"/guides/agent-quick-start","pageMetadata":{"title":"Give your agent spending power","sidebarTitle":"Agent quickstart","description":"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.","href":"/guides/agent-quick-start"},"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: \"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five 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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CodeBlock,Heading,Note,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`1-set-up-your-agent’s-wallet`,children:`1. Set up your agent’s wallet`}),`\n`,_jsx(_components.p,{children:`Your agent needs USDC to pay for Laso Finance API calls.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`If your agent does not already have a wallet, use a Laso-managed wallet.`}),` It is the whole setup: no provider signup, no private key to look after, no endpoint registration.`]}),`\n`,_jsxs(_components.p,{children:[`The other tabs are for agents that `,_jsx(_components.strong,{children:`already`}),` have a wallet with Locus, Sponge, or Ampersend. Those all work with every Laso endpoint, so there is nothing to migrate. If you are not already using one of them, you do not need one.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Laso-managed (start here)`,id:`laso-managed-start-here`,children:[_jsx(_components.p,{children:`Laso custodies a Solana wallet for your account and pays x402 endpoints on your agent’s behalf, so the agent never builds a payment header or holds a private key. There is no third-party provider signup and no endpoint registration.`}),_jsx(_components.p,{children:`Tell your agent:`}),_jsx(CodeBlock,{numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read https://laso.finance/SKILL.md and follow the instructions to sign in and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`use the Laso-managed wallet. Save your credentials and install the skill`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`locally as it describes, so you still have access in future sessions.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`All you need to do is fund it:`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Let your agent sign in`,children:_jsxs(_components.p,{children:[`Your agent calls `,_jsx(_components.code,{children:`GET /auth`}),` and gets its credentials. Nothing is needed from you.`]})}),_jsx(Step,{title:`Fund the wallet`,children:_jsxs(_components.p,{children:[`Your agent reads its wallet address from `,_jsx(_components.code,{children:`getAgentWallet`}),` and shows it to you. Send `,_jsx(_components.strong,{children:`USDC on Solana`}),` to that address, or `,_jsx(_components.strong,{children:`USDC on Base`}),` to its Base address. Both land in the same balance. At least $5 covers a card order.`]})})]}),_jsxs(_components.p,{children:[`From there the agent calls `,_jsx(_components.code,{children:`agentX402Pay`}),` instead of paying endpoints directly. See the `,_jsx(_components.a,{href:`/guides/managed-agent-wallet`,children:`managed agent wallet guide`}),` for the full flow, including the per-payment guardrails for external endpoints.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`A managed wallet can pay any x402 endpoint, not just Laso’s. Skip to step 2\nbelow; the Locus endpoint-registration guide does not apply.`})})]}),_jsxs(Tab,{title:`Locus`,id:`locus`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://paywithlocus.com`,children:`Locus`}),` provides wallet infrastructure purpose-built for AI agents.`]}),_jsx(_components.p,{children:`Tell your agent:`}),_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read https://paywithlocus.com/SKILL.md and follow the instructions to set up Locus`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Your agent will walk through the Locus onboarding, but it needs a few things from you first:`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Create a Locus account`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://app.paywithlocus.com`,children:`app.paywithlocus.com`}),` and sign up with your email.`]})}),_jsx(Step,{title:`Deploy a wallet`,children:_jsxs(_components.p,{children:[`From the dashboard, click `,_jsx(_components.strong,{children:`Create Wallet`}),`. This deploys a smart wallet on the Base blockchain (~30 seconds). Save your private key — it’s shown only once.`]})}),_jsx(Step,{title:`Fund your wallet`,children:_jsxs(_components.p,{children:[`Transfer USDC on `,_jsx(_components.strong,{children:`Base`}),` or `,_jsx(_components.strong,{children:`Solana`}),` to the wallet address shown on your dashboard. You’ll need at least $5 to order a card.`]})}),_jsx(Step,{title:`Generate an API key`,children:_jsxs(_components.p,{children:[`Go to the `,_jsx(_components.strong,{children:`API Key`}),` section and generate a key (starts with `,_jsx(_components.code,{children:`claw_`}),`). Copy it immediately — it’s shown only once.`]})}),_jsxs(Step,{title:`Configure x402 endpoints`,children:[_jsxs(_components.p,{children:[`Navigate to `,_jsx(_components.strong,{children:`x402 Endpoints`}),` in the Locus dashboard and add the Laso Finance endpoints your agent will use. See the `,_jsx(_components.a,{href:`/guides/locus-x402-setup`,children:`Locus x402 Configuration guide`}),` for detailed instructions on adding each endpoint with the correct parameters.`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`This step is required! Without configuring the x402 endpoints, your agent won’t be able to call Laso Finance APIs through Locus.`})})]}),_jsx(Step,{title:`Give your agent the API key`,children:_jsxs(_components.p,{children:[`When your agent asks for a Locus API key, provide the `,_jsx(_components.code,{children:`claw_`}),` key you generated.`]})})]})]}),_jsxs(Tab,{title:`Sponge`,id:`sponge`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://wallet.paysponge.com`,children:`Sponge`}),` provides agent wallets with automatic x402 service discovery.`]}),_jsx(_components.p,{children:`Tell your agent:`}),_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read https://wallet.paysponge.com/skill.md and follow the instructions to set up Sponge Wallet`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Your agent will walk through the Sponge onboarding, but it needs a few things from you first:`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Agent registers`,children:_jsxs(_components.p,{children:[`Your agent calls `,_jsx(_components.code,{children:`POST /api/agents/register`}),` with `,_jsx(_components.code,{children:`agentFirst: true`}),` to get an API key immediately (starts with `,_jsx(_components.code,{children:`sponge_live_`}),`). A claim URL is returned for human verification.`]})}),_jsx(Step,{title:`Claim the wallet`,children:_jsx(_components.p,{children:`Open the claim URL from the registration response to verify and take ownership of the wallet.`})}),_jsx(Step,{title:`Fund your wallet`,children:_jsxs(_components.p,{children:[`Transfer USDC on `,_jsx(_components.strong,{children:`Base`}),` or `,_jsx(_components.strong,{children:`Solana`}),` to the wallet address. You’ll need at least $5 to order a card.`]})}),_jsx(Step,{title:`Discover Laso Finance endpoints`,children:_jsxs(_components.p,{children:[`Sponge discovers x402 services automatically. Your agent calls `,_jsx(_components.code,{children:`GET /api/discover?query=laso`}),` to find available Laso Finance endpoints, then uses `,_jsx(_components.code,{children:`POST /api/x402/fetch`}),` to call them. No manual endpoint configuration needed.`]})})]})]}),_jsxs(Tab,{title:`Ampersend`,id:`ampersend`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://www.ampersend.ai`,children:`Ampersend`}),` provides self-custody agent wallets on Base or Solana with dual-approval spending. Both you and the agent must authorize every payment, with per-transaction, daily, and monthly limits you control. Laso Finance is a default skill for Ampersend, so paywalled endpoints work natively with no manual registration.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Sign up at ampersend.ai`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://www.ampersend.ai/`,children:`ampersend.ai`}),` and create an account.`]})}),_jsx(Step,{title:`Create and fund a new agent`,children:_jsxs(_components.p,{children:[`From the dashboard, click `,_jsx(_components.strong,{children:`+ New agent`}),`, then choose `,_jsx(_components.strong,{children:`Set up now`}),` in the confirmation dialog and complete. You’ll need at least $5 to order a card; you can fund later from the agent’s page.`]})}),_jsx(Step,{title:`Choose your agent framework`,children:_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Set up your agent`}),` screen, pick the framework you’re using. For Claude Code, OpenClaw, or other CLI-based agents, select `,_jsx(_components.strong,{children:`OpenClaw, Claude Code or other CLI-based agents`}),` at the top.`]})}),_jsxs(Step,{title:`Paste the setup prompt into your agent`,children:[_jsx(_components.p,{children:`Ampersend will display a prompt like:`}),_jsx(CodeBlock,{numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read https://www.ampersend.ai/getting-started.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`and connect to my existing agent account:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` agent address: 0x...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Paste it into your agent. The agent installs the Ampersend skill and CLI on its own and replies with an auth link (`,_jsx(_components.code,{children:`https://app.ampersend.ai/approvals/setup-agent/\u003ctoken>`}),`) and a 6-digit verification code. Open the link, confirm the code matches, and approve. Once approved, tell the agent it’s verified — it will run `,_jsx(_components.code,{children:`ampersend setup finish`}),` and the wallet is ready to make x402 payments to Laso Finance.`]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`2-fund-the-wallet`,children:`2. Fund the wallet`}),`\n`,_jsx(_components.p,{children:`A wallet with no USDC in it cannot pay for anything, so this is the step that actually turns the API on. Ask your agent for its wallet address, then send it USDC.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Laso-managed wallet:`}),` the agent reads its addresses from `,_jsx(_components.code,{children:`getAgentWallet`}),` and shows them to you. Send `,_jsx(_components.strong,{children:`USDC on Solana`}),` or `,_jsx(_components.strong,{children:`USDC on Base`}),` to the matching address.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Self-custody wallet (Locus, Sponge, Ampersend):`}),` send `,_jsx(_components.strong,{children:`USDC on Base or Solana`}),` to the address on the provider’s dashboard.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`At least $5 covers a first card order, plus a little headroom for the paid endpoints your agent calls along the way. Funds are yours the whole time: anything left over can be pulled back out with `,_jsx(_components.code,{children:`POST /withdraw`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-authenticate-with-laso-finance`,children:`3. Authenticate with Laso Finance`}),`\n`,_jsx(_components.p,{children:`How your agent gets API credentials depends on which wallet it uses. Both calls are free.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Laso-managed wallet.`}),` Your agent holds a Laso agent API key (it starts with `,_jsx(_components.code,{children:`lasoak_`}),`), not a private key, so it cannot sign in with a wallet signature. It presents the key to `,_jsx(_components.code,{children:`agentAuth`}),` instead. The `,_jsx(_components.a,{href:`https://laso.finance/SKILL.md`,children:`setup helper in SKILL.md`}),` does this for it. Tell your agent:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Connect to Laso Finance by following https://laso.finance/SKILL.md. Use the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Laso API key I gave you; it exchanges the key for a session through`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://laso.finance/agentAuth. Save the id_token, refresh_token, and user_id.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Self-custody wallet (Locus, Sponge, Ampersend).`}),` Your agent proves wallet ownership by calling `,_jsx(_components.code,{children:`GET /auth`}),` with a `,_jsx(_components.code,{children:`SIGN-IN-WITH-X`}),` signature header. Tell your agent:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authenticate with the Laso Finance API by calling GET https://laso.finance/auth`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`with a SIGN-IN-WITH-X header. Save the id_token, refresh_token, and user_id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`from the response.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Either response includes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`id_token`})}),`: Bearer token for authenticated endpoints (like `,_jsx(_components.code,{children:`/get-card-data`}),`). Expires after ~1 hour.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`refresh_token`})}),`: Use with `,_jsx(_components.code,{children:`POST /auth`}),` (`,_jsx(_components.code,{children:`grant_type: \"refresh_token\"`}),`) to get a new `,_jsx(_components.code,{children:`id_token`}),` when it expires.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`user_id`})}),`: Your agent’s opaque account id. It is not a deposit address.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/guides/managed-agent-wallet`,children:`managed wallet guide`}),` and the `,_jsx(_components.a,{href:`/guides/authentication`,children:`authentication guide`}),` cover each path in full.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Your agent should store these credentials and reuse them across requests.\n`,_jsx(_components.code,{children:`/auth`}),` and `,_jsx(_components.code,{children:`/get-card`}),` return fresh tokens — always save them. When the\n`,_jsx(_components.code,{children:`id_token`}),` expires, call `,_jsx(_components.code,{children:`POST /auth`}),` with `,_jsx(_components.code,{children:`grant_type: \"refresh_token\"`}),` and\nthe `,_jsx(_components.code,{children:`refresh_token`}),` — no payment needed.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`4-order-the-first-card`,children:`4. Order the first card`}),`\n`,_jsxs(_components.p,{children:[`With a funded wallet and credentials in hand, your agent can order a prepaid card. `,_jsx(_components.code,{children:`GET /get-card`}),` is paywalled, so the x402 client (or `,_jsx(_components.code,{children:`agentX402Pay`}),` on a Laso-managed wallet) settles the USDC payment and the request goes through.`]}),`\n`,_jsx(_components.p,{children:`Tell your agent:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,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:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Order a USA prepaid card from Laso Finance for $5 by calling`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://laso.finance/get-card?amount=5 over x402. Then poll`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://laso.finance/get-card-data?card_id=\u003ccard_id> with the Bearer token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`until status is \"ready\" and show me the card details.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The order comes back immediately with a `,_jsx(_components.code,{children:`card_id`}),` and `,_jsx(_components.code,{children:`status: \"pending\"`}),`. The number, CVV, and expiry take ~7-10 seconds to be issued, which is what the poll is for. The USA card is issued in USD and works at U.S. merchants.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`The USA card is non-reloadable, so order for the exact checkout total when you\nknow it. Nothing is stranded if you do not: leftover balance stays spendable\nat another merchant. For recurring spend, use a `,_jsx(_components.a,{href:`/guides/reloadable-card`,children:`reloadable\ncard`}),` instead.`]})}),`\n`,_jsxs(_components.p,{children:[`Your agent can discover the rest of the API on its own from the files listed under `,_jsx(_components.a,{href:`/#agent-discovery`,children:`agent discovery`}),`, starting with `,_jsx(_components.code,{children:`https://laso.finance/SKILL.md`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next`,children:`Next`}),`\n`,_jsx(Card,{title:`Making a purchase`,icon:`cart-shopping`,href:`/guides/making-a-purchase`,children:_jsx(_components.p,{children:`Buy something online with the card your agent just ordered.`})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Managing multiple agents or need spending guardrails?`}),` `,_jsx(_components.a,{href:`https://docs.1claw.xyz/docs/guides/payment-cards`,children:`1Claw’s Payment\nCard Vault`}),` wraps the Laso\nAPI with per-agent spending limits, automatic PAN redaction, and audit-logged\nreveals — so your agents can order cards without ever seeing the full card\nnumber.`]})})]})}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":"Give your agent spending power","sidebarTitle":"Agent quickstart","description":"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.","href":"/guides/agent-quick-start"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Set up your agent’s wallet","slug":"1-set-up-your-agent’s-wallet","depth":2,"children":[]},{"title":"2. Fund the wallet","slug":"2-fund-the-wallet","depth":2,"children":[]},{"title":"3. Authenticate with Laso Finance","slug":"3-authenticate-with-laso-finance","depth":2,"children":[]},{"title":"4. Order the first card","slug":"4-order-the-first-card","depth":2,"children":[]},{"title":"Next","slug":"next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lasofinance","siteName":"Laso Finance API","title":"Give your agent spending power - Laso Finance API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T18:45:04.424Z","originalFileLocation":"guides/agent-quick-start.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=\"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Laso Finance API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_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/lasofinance/BdNprig5jTangfgN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Give your agent spending power - Laso Finance API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Laso Finance API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.laso.finance/guides/agent-quick-start\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lasofinance.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Give+your+agent+spending+power\u0026amp;description=Step-by-step+guide+to+give+your+AI+agent+a+wallet%2C+fund+it+with+USDC+on+Base+or+Solana%2C+authenticate+with+Laso+Finance%2C+and+order+its+first+prepaid+card+in+unde\u0026amp;theme=98f9ba75e7b3eeb2c36a661c\u0026amp;signature=ba2d7ad57f4ff223872633b0cd3a085c69707437b547a1c0f359a98b0dd5ea26\">\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=\"Give your agent spending power - Laso Finance API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lasofinance.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Give+your+agent+spending+power\u0026amp;description=Step-by-step+guide+to+give+your+AI+agent+a+wallet%2C+fund+it+with+USDC+on+Base+or+Solana%2C+authenticate+with+Laso+Finance%2C+and+order+its+first+prepaid+card+in+unde\u0026amp;theme=98f9ba75e7b3eeb2c36a661c\u0026amp;signature=ba2d7ad57f4ff223872633b0cd3a085c69707437b547a1c0f359a98b0dd5ea26\">\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/lasofinance/BdNprig5jTangfgN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Laso Finance API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3182CE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.laso.finance/guides/agent-quick-start\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/agent-quick-start.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.laso.finance/#organization\",\"name\":\"Laso Finance API\",\"url\":\"https://docs.laso.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lasofinance/ofpGRRSVLQ9V1OQK/logo/light.svg?fit=max\u0026auto=format\u0026n=ofpGRRSVLQ9V1OQK\u0026q=85\u0026s=bd9f84a4711475d24375fe444b276211\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.laso.finance#website\",\"name\":\"Laso Finance API\",\"url\":\"https://docs.laso.finance\",\"publisher\":{\"@id\":\"https://docs.laso.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.laso.finance/guides/agent-quick-start#webpage\",\"url\":\"https://docs.laso.finance/guides/agent-quick-start\",\"name\":\"Give your agent spending power\",\"description\":\"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.\",\"dateModified\":\"2026-10-27T18:45:04.424Z\",\"isPartOf\":{\"@id\":\"https://docs.laso.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.laso.finance/guides/agent-quick-start#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.laso.finance/guides/agent-quick-start#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.laso.finance/guides/what-is-laso\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Give your agent spending power\",\"item\":\"https://docs.laso.finance/guides/agent-quick-start\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.laso.finance/guides/agent-quick-start#article\",\"headline\":\"Give your agent spending power\",\"name\":\"Give your agent spending power\",\"description\":\"Step-by-step guide to give your AI agent a wallet, fund it with USDC on Base or Solana, authenticate with Laso Finance, and order its first prepaid card in under five minutes.\",\"url\":\"https://docs.laso.finance/guides/agent-quick-start\",\"mainEntityOfPage\":{\"@id\":\"https://docs.laso.finance/guides/agent-quick-start#webpage\"},\"dateModified\":\"2026-10-27T18:45:04.424Z\",\"publisher\":{\"@id\":\"https://docs.laso.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.laso.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Laso Finance API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Laso Finance API","nav":{"global":{},"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"What is Laso Finance?","sidebarTitle":"What is Laso","description":"The mental model behind Laso Finance: an agent wallet, a USDC balance on Base or Solana, and pay-per-call access to prepaid cards, gift cards, debit-card payouts, and US bank accounts over x402.","href":"/guides/what-is-laso"},{"title":"Give your agent spending power","sidebarTitle":"Agent quickstart","href":"/guides/agent-quick-start"},{"title":"TypeScript quickstart for the Laso Finance API","sidebarTitle":"Developer quickstart (TypeScript)","description":"Integrate with the Laso Finance x402 API from TypeScript using the x402 v2 client, @x402/fetch. Order your first prepaid card with a USDC payment on Base or Solana in minutes.","href":"/guides/quick-start"},{"title":"Make an online purchase with a Laso prepaid card","sidebarTitle":"Make a purchase","href":"/guides/making-a-purchase"},{"title":"What your agent can do with Laso Finance","sidebarTitle":"What your agent can do","href":"/guides/what-your-agent-can-do"}]},{"group":"Solutions","pages":[{"title":"How do I fund my AI agent with USDC?","sidebarTitle":"Fund an agent with USDC","href":"/guides/how-do-i-fund-my-ai-agent-with-usdc"},{"title":"How do I get USDC back out of my AI agent's account?","sidebarTitle":"Withdraw USDC from an agent","href":"/guides/how-do-i-withdraw-usdc-from-my-ai-agent"},{"title":"How do I revoke my AI agent's access to my money?","sidebarTitle":"Revoke an agent's access","href":"/guides/how-do-i-revoke-my-ai-agents-access-to-my-money"},{"title":"How do I see everything my AI agent spent money on?","sidebarTitle":"See what an agent spent","href":"/guides/how-do-i-see-everything-my-ai-agent-spent-money-on"}]},{"group":"Spend","pages":[{"title":"Order a USA prepaid card with your AI agent","sidebarTitle":"USA prepaid card","href":"/guides/usa-prepaid-card"},{"title":"Order an international prepaid card with your AI agent","sidebarTitle":"International prepaid card","href":"/guides/international-prepaid-card"},{"title":"Use a reloadable card with your AI agent","sidebarTitle":"Reloadable card","href":"/guides/reloadable-card"},{"title":"Order a gift card from the Laso catalog","sidebarTitle":"Gift cards","href":"/guides/order-gift-card"},{"title":"Push to debit card: send USD, EUR, or GBP with USDC","sidebarTitle":"Push to debit card","href":"/guides/push-to-card"},{"title":"Send a payment via Venmo or PayPal","sidebarTitle":"Venmo \u0026 PayPal","href":"/guides/send-payment"},{"title":"Save the account holder's own card","sidebarTitle":"Saved card","href":"/guides/saved-card"},{"title":"Buy with the account holder's saved card","sidebarTitle":"Buy with a saved card","tag":"BETA","href":"/guides/saved-card-purchases"}]},{"group":"Banking","pages":[{"title":"Bank accounts: give your agent real banking rails","sidebarTitle":"Bank accounts","href":"/guides/agent-bank-accounts"},{"title":"Send dollars to a bank account","sidebarTitle":"Send a bank payment","href":"/guides/send-bank-payment"}]},{"group":"Wallet","pages":[{"title":"Managed agent wallet","sidebarTitle":"Overview and setup","href":"/guides/managed-agent-wallet"},{"title":"Pay an endpoint from the managed wallet","sidebarTitle":"Pay an endpoint","href":"/guides/managed-wallet-payments"},{"title":"Guardrails for external x402 endpoints","sidebarTitle":"Guardrails","href":"/guides/managed-wallet-guardrails"},{"title":"Spend limit and activity log","sidebarTitle":"Spend limit and activity","href":"/guides/managed-wallet-spend-limit"}]},{"group":"Platform","pages":[{"title":"How the x402 payment protocol works with Laso","sidebarTitle":"How payments work","href":"/guides/how-x402-works"},{"title":"Authentication and bearer tokens in Laso Finance","sidebarTitle":"Authentication","href":"/guides/authentication"},{"title":"MCP server: the full API as tools","href":"/guides/mcp-server"},{"title":"Read-only account plugin","href":"/guides/account-plugin"},{"title":"WebMCP: in-page tools for browser agents","href":"/guides/webmcp"},{"title":"Prepaid card lifecycle: order, spend, and depletion","sidebarTitle":"Card lifecycle","href":"/guides/card-lifecycle"},{"title":"Receive notifications by webhook","sidebarTitle":"Webhooks","href":"/guides/agent-webhooks"},{"title":"Error handling: HTTP status codes and retries","sidebarTitle":"Errors \u0026 retries","href":"/guides/error-handling"}]},{"group":"Integrations","pages":[{"title":"Integrate Laso Finance into your agent wallet","sidebarTitle":"For wallet providers","href":"/guides/wallet-providers"},{"title":"Use Laso Finance with Claude Code via MCP","sidebarTitle":"Claude Code (MCP)","href":"/frameworks/claude-code"},{"title":"Configure Locus to call Laso Finance x402 endpoints","sidebarTitle":"Locus","href":"/guides/locus-x402-setup"},{"title":"Automate Laso Finance payments with n8n workflows","sidebarTitle":"n8n","href":"/frameworks/n8n"},{"title":"LangChain and LangGraph integration for Laso Finance","sidebarTitle":"LangChain","href":"/frameworks/langchain"},{"title":"OpenAI Agents SDK integration for Laso Finance","sidebarTitle":"OpenAI Agents","href":"/frameworks/openai-agents"},{"title":"Complete a full checkout flow with Palmyr","sidebarTitle":"Palmyr","href":"/frameworks/palmyr"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/start-a-signup-for-a-human-with-no-laso-account"}]},{"tab":"How We Use","pages":[{"title":"How We Use","href":"/how-we-use/automated-payroll"}]},{"tab":"Starter Template (Reference)","hidden":true,"pages":[{"title":"Starter Template (Reference)","href":"/quickstart"}]}]},"basePath":"","title":"Give your agent spending power - Laso Finance API","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}