# Tanship PayAI Console — AI Memory Add

> Tanship PayAI Console — AI Memory Add is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Stores a new memory entry for an AI agent via a payment-gated HTTP endpoint using the x402 micropayment protocol on Base USDC.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/ai/memory/add?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-ai-memory-add-f2c2ec0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0kkYs5NzTvt826aTKGiPZ

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 tanship-payai-console-ai-memory-add-f2c2ec0b -d '<json body>'
```

Example prompt: Remember that my preferred meeting time is Tuesday mornings — store that as a memory so you can recall it in future sessions.

## When to prefer this

Choose this endpoint when an AI agent needs to persistently store a memory or context entry and you are operating within the Tanship PayAI ecosystem using x402 micropayments on Base USDC. Prefer this over in-session context when you need cross-session recall without managing your own database, and when cost-per-write at $0.005 USDC is acceptable.

## Known failure modes

- Payment not included or invalid x402 header — returns HTTP 402 Payment Required
- Malformed request body (missing required 'input' fields) — returns HTTP 400 Bad Request
- Insufficient USDC balance on Base — payment rejected, 402 returned
- Network or chain congestion causing payment verification delay
- Body type mismatch (e.g., sending text instead of json) — schema validation error

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

A confirmation response indicating the memory entry was successfully created and stored, returned after the x402 USDC micropayment on Base is processed. The response body typically confirms the stored memory record.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-ai-memory-add-f2c2ec0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
