# Tanship PayAI Console — Storage Presign

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

Generates a pre-signed URL for uploading or accessing stored objects, gated by a USDC micropayment on Base via the x402 protocol.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/storage/presign?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-storage-presign-2d7e05cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nJB6jnbzL1PhtgR59jfdT

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-presign-2d7e05cf -d '<json body>'
```

Example prompt: Generate a presigned upload URL for my file using the Tanship storage endpoint — I need a signed link so I can upload directly to object storage, and I'm happy to pay the $0.003 USDC fee via x402 on Base.

## When to prefer this

Choose this endpoint when you need a payment-gated presigned storage URL and are operating in an x402-compatible agent environment with USDC on Base. Ideal for autonomous agents that need to upload files without long-lived credentials, pay per operation rather than by subscription, and integrate blockchain micropayments natively into their workflow. Prefer over traditional S3 presign APIs when your architecture already uses x402 for access control.

## Known failure modes

- Payment not included or invalid x402 USDC payment header — returns 402 Payment Required
- Malformed input body or missing required fields (type, method, bodyType, body) — returns 400 Bad Request
- Expired or already-used presigned URL — subsequent upload attempt fails with 403
- Network or backend storage error — returns 500 Internal Server Error
- Insufficient USDC balance or wrong chain (not Base eip155:8453) — payment rejected with 402

## 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

Returns a presigned URL (and possibly associated metadata such as expiry time and upload parameters) that authorizes a direct upload or access operation to an object storage backend, valid for a limited time window.

## 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-presign-2d7e05cf/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)
