# Tanship PayAI Console — Storage Upload (x402)

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

Accepts a file or data payload via HTTP POST and stores it, gated by a $0.01 USDC micropayment on Base using the x402 protocol.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/storage/upload?utm_source=zero.xyz
- Price: $0.01/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-storage-upload-x402-836c3b51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zd_9wJp8z5dAXYO0CuMXo

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-storage-upload-x402-836c3b51 -d '<json body>'
```

Example prompt: Upload this JSON payload to the Tanship PayAI storage endpoint — use the x402 payment flow with USDC on Base and send the body as JSON.

## When to prefer this

Choose this endpoint when you need a pay-per-use file or data storage solution that integrates natively with the x402 micropayment protocol on Base (USDC), avoiding subscription or API-key friction. Ideal for AI agents that need to persist data autonomously and pay programmatically per upload at $0.01 USDC.

## Known failure modes

- Payment not provided or insufficient USDC — returns HTTP 402 with x402 payment requirements
- Invalid body type enum value (must be json, form-data, or text) — returns validation error
- Missing required 'input' object or nested fields — returns schema validation error
- USDC payment on wrong chain (not eip155:8453 Base) — payment rejected
- Network or server error on Tanship side — returns 5xx

## 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 whether the upload succeeded, likely including a reference ID or URL for the stored content, returned after successful x402 USDC payment authorization on Base.

## 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-storage-upload-x402-836c3b51/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)
