1. Set up your agent’s wallet
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 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 provider signup, no API key, and no endpoint registration.Tell your agent:All you need to do is fund it:Let your agent sign in
Your agent calls GET /auth and gets its credentials. Nothing is needed from you.
Fund the wallet
Your agent reads its wallet address from getAgentWallet and shows it to you. Send USDC on Solana to that address. 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:Your agent will walk through the Locus onboarding, but it needs a few things from you first:Deploy a wallet
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.
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.
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.
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.
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:Your agent will walk through the Sponge onboarding, but it needs a few things from you first: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.
Claim the wallet
Open the claim URL from the registration response to verify and take ownership of the wallet.
Fund your wallet
Transfer USDC on Base or Solana to the wallet address. You’ll need at least $5 to order a card.
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.Create and fund a new agent
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.
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.
Paste the setup prompt into your agent
Ampersend will display a prompt like: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.
2. Order a card
Once your agent has a funded wallet, it can call the Laso Finance /get-card endpoint. The x402 protocol handles the payment flow automatically.
The response includes:
auth.id_token and auth.refresh_token for authenticated API calls
card.card_id with status: "pending"
3. Poll for card details
Card details (number, CVV, expiry) take ~7-10 seconds to become available. Poll /get-card-data until status is "ready".
4. Use the card
You now have a prepaid card. Use the card number, CVV, and expiry to make purchases at any US-based merchant.
The USA prepaid card (/get-card) is U.S. only — issued in USD, usable at
U.S. merchants only, and physical goods must ship to a U.S. address. For
international purchases use GET /order-intl-card instead.
Full example
Cards are non-reloadable. If you’re making an online purchase, ideally order a
card for the exact checkout total so no funds are left over on the card.