# Moltie Agent Top-Up

> Moltie Agent Top-Up is a paid API for AI agents from x402.moltie.co, paid per call via x402, $1/call, status down (last checked 2026-09-15).

Add USDC credits to an existing Moltie agent (or create it if new), auto-reactivating paused subscriptions and optionally switching delivery mode.

## Facts

- Endpoint: POST https://x402.moltie.co/api/topup
- Price: $1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-moltie-co-7df30e58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MpEQlwCYPP7JOKuEkFZ_Y

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 x402-moltie-co-7df30e58 -d '<json body>'
```

Example prompt: Top up my Moltie agent with $5 in credits using SSE delivery mode so its paused subscriptions resume — no webhook URL needed.

## When to prefer this

Use this endpoint when you need to add credits to an existing Moltie notification agent, resume subscriptions that were paused due to balance depletion, create a new agent, or switch between webhook and SSE delivery modes — all in a single call paying 1 USDC on Base via x402.

## Known failure modes

- Missing webhook_url when delivery_mode is 'webhook' — agent creation fails requiring URL
- Invalid delivery_mode value — returns validation error
- Insufficient USDC payment — payment rejected before credits are applied
- Agent not found and required fields missing for creation — returns 400
- x402 payment not included or malformed — 402 Payment Required returned

## How this service works

Add credits to an existing agent without changing their subscriptions. x402 USDC on Base. If agent doesn't exist yet, creates it (webhook_url required for webhook mode; delivery_mode='sse' skips URL requirement). Auto-reactivates any subscriptions paused due to balance depletion. Also switches delivery_mode if a new value is supplied. ?amount=<USD> (default 1).

## Output

Returns the updated agent record including current credit balance, delivery mode, and subscription statuses (including any that were auto-reactivated from paused state).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "webhook_url",
  "delivery_mode"
 ],
 "properties": {
  "webhook_url": {
   "type": "string"
  },
  "delivery_mode": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-moltie-co-7df30e58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.moltie.co](https://www.zero.xyz/host/x402.moltie.co/llms.txt)
