{"uid":"cap_zd_9wJp8z5dAXYO0CuMXo","slug":"tanship-payai-console-storage-upload-x402-836c3b51","name":"Tanship PayAI Console — Storage Upload (x402)","description":"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.","url":"https://x402.tanship.dev/v1/storage/upload?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_scK780mDOGbYAVjGcVtM4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Agent log persistence via micropayment","prompt":"Store this JSON activity log from my AI agent run to Tanship's storage — pay the $0.01 USDC fee automatically using x402 on Base."},{"title":"Form submission data archival","prompt":"I need to archive this form-data submission to Tanship's PayAI storage endpoint; use x402 to handle the USDC payment and post the content as multipart form-data."},{"title":"Plain text file backup","prompt":"Save this plain text document to Tanship's x402 storage API — pay with USDC on Base and submit the body as text."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:38:43.848Z","isFirstParty":false,"canonicalSlug":"tanship-payai-console-storage-upload-x402-836c3b51"}