{"uid":"cap_8QXG5vouOnfgwdTu0ANBV","slug":"tanship-payai-console-queue-enqueue-35c20dfb","name":"Tanship PayAI Console — Queue Enqueue","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/queue/enqueue?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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TK1ixEZ1rHOb0zLMDtyK5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Enqueues an HTTP-type job (POST request with JSON, form-data, or text body) into the Tanship PayAI task queue, gated by a $0.003 USDC micropayment via the x402 protocol on Base.","exampleAgentPrompt":"Add a new job to the Tanship PayAI queue — send an HTTP POST with a JSON body containing the task details I want to run, and pay the $0.003 USDC x402 fee automatically.","exampleUseCases":[{"title":"Queue browser automation task","prompt":"Submit a browser automation job to the Tanship PayAI queue with a JSON body specifying the site and actions to perform — pay the micropayment automatically from my Base wallet."},{"title":"Dispatch AI processing job async","prompt":"I want to enqueue an AI processing request to Tanship's queue using a JSON body — it doesn't need to run immediately, just make sure it gets queued and give me a job ID back."},{"title":"Submit form-data job for later execution","prompt":"Queue up a task for Tanship to process using a form-data POST body with my input fields — handle the x402 payment from my USDC balance on Base."}],"resultDescription":"Returns a confirmation that the job has been enqueued, typically including a job or queue ID and initial status, allowing the caller to track or retrieve results later.","failureModes":["Payment rejected or insufficient USDC balance — x402 402 Payment Required response","Invalid body type enum value (must be json, form-data, or text) — 400 validation error","Missing required input fields (type, method, bodyType, body) — 400 schema validation error","x402 payment on wrong network (not Base eip155:8453) — payment failure","Queue service unavailable or overloaded — 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need to asynchronously enqueue an HTTP-based AI or browser automation job and are comfortable paying a $0.003 USDC micropayment per call via the x402 protocol on Base. Prefer this over synchronous endpoints when the task may take time and you want to receive a job ID to poll or retrieve results later.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:42.165Z","isFirstParty":false,"canonicalSlug":"tanship-payai-console-queue-enqueue-35c20dfb"}