{"uid":"cap_QSsC46v8sVaJC6i3U8Vd4","slug":"zappi-spark-spend-pot-creator-7e0662a9","name":"Zappi Spark Spend Pot Creator","description":"Create a capped Spark spend pot. Fund from any chain, land USDB, agent can only spend what is in the pot. Promoters: pass ?ref=your-id to earn 30 of 50 bps (80% after Flashnet). Register at POST /affiliates.","url":"https://zappi-production.up.railway.app/deposit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["sourceChain","sourceAsset"],"properties":{"ref":{"type":"string","description":"Promoter affiliate id. They earn 30 of 50 bps on this pot. Zappi keeps 20. Register first at POST /affiliates."},"sourceAsset":{"type":"string","description":"Asset to send, usually USDC"},"sourceChain":{"type":"string","description":"Chain the agent will send from, e.g. base, solana, ethereum, arbitrum"},"sparkAddress":{"type":"string","description":"Optional existing Spark address. If omitted, a new pot is created and the seed is returned once."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n_uH9TNnxZR_TLu2fgZyu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a capped Spark spend pot funded from any chain, converting assets to USDB, so an agent can only spend up to the pot's balance","exampleAgentPrompt":"Create a new Spark spend pot for me, funded from Base using USDC — I want the agent to land USDB and only be able to spend what's in the pot.","exampleUseCases":[{"title":"Capped agent budget on Base","prompt":"Set up a Spark spend pot for my AI agent — I'll fund it from Base using USDC and want it to land as USDB so the agent can't overspend."},{"title":"Cross-chain agent allowance from Solana","prompt":"Create a new Spark USDB pot funded from Solana using USDC — generate a new Spark address for it since I don't have one yet."},{"title":"Affiliate-linked pot creation","prompt":"Create a Spark spend pot funded from Arbitrum using USDC, and make sure to include affiliate ref 'flashpromo1' so the promoter earns their cut."}],"resultDescription":"Returns a Spark pot address (and one-time seed if newly created), deposit instructions, and funding details. The pot holds USDB and caps the agent's spending to the deposited amount. If a new Spark address is generated, the seed phrase is returned once and must be stored securely.","failureModes":["Missing required sourceChain or sourceAsset parameters returns a validation error","Unsupported chain or asset combination may return an error or unsupported route","If an invalid sparkAddress is provided, the pot creation may fail or be misrouted","Network congestion on the source chain may delay fund settlement","Payment of $0.01 USDC via x402 protocol required; missing payment results in 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to give an AI agent a budget-capped wallet funded from any supported chain (Base, Solana, Ethereum, Arbitrum, etc.) that lands as USDB on Spark Protocol. Prefer this over generic wallet creation when you want enforced spending limits, cross-chain bridging in one step, and optional affiliate revenue sharing. Ideal for agent-economy workflows where overspending must be prevented by design.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:58:22.366Z","isFirstParty":false,"canonicalSlug":"zappi-spark-spend-pot-creator-7e0662a9"}