# Zappi Spark Spend Pot Creator

> Zappi Spark Spend Pot Creator is a paid API for AI agents from zappi-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

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

## Facts

- Endpoint: GET https://zappi-production.up.railway.app/deposit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zappi-spark-spend-pot-creator-7e0662a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QSsC46v8sVaJC6i3U8Vd4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability zappi-spark-spend-pot-creator-7e0662a9
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zappi-spark-spend-pot-creator-7e0662a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zappi-production.up.railway.app](https://www.zero.xyz/host/zappi-production.up.railway.app/llms.txt)
