{"uid":"cap_w9POoVylPKz0cRFfJVAtw","slug":"clarity-inference-gateway-account-top-up-9a5dcc9e","name":"Clarity Inference Gateway Account Top-Up","description":"Clarity — One OpenAI-compatible inference gateway. Cloud providers and local models, one API key, one balance, automatic failover.","url":"https://desktop-o99r0sf.tail935fba.ts.net/v1/x402/topup?utm_source=zero.xyz","method":"GET","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":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"example-key-id","skey":"gw_example_redacted","scheme":"exact","network":"eip155:8453","balance_usd":0.001,"credited_usd":0.001}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RwbelAijK-jdBqc2nBPH1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Top up the balance on a Clarity AI inference gateway account, crediting USDC to fund subsequent pay-per-request AI model calls.","exampleAgentPrompt":"Top up my Clarity inference gateway account so I have credits to run AI model calls — go ahead and trigger the top-up now.","exampleUseCases":[{"title":"Refilling depleted inference budget","prompt":"My Clarity AI account is running low on credits and I need to top it up so my agent can keep making model calls — can you trigger the top-up for me?"},{"title":"Pre-funding a new Clarity API key","prompt":"I just got a new Clarity gateway API key and want to deposit some USDC balance into it before I start making inference requests — please top it up."},{"title":"Automated credit replenishment in a pipeline","prompt":"My automated workflow needs to stay funded on Clarity so it never hits a zero-balance error mid-run — top up the account balance now."}],"resultDescription":"Returns a JSON object containing the account key ID, a (redacted) secret key, the payment scheme (exact), the network identifier (eip155:8453, i.e. Base), the current balance in USD, and the amount credited in USD from this top-up.","failureModes":["Payment not completed — x402 payment challenge not fulfilled, returning 402 Payment Required","Invalid HTTP method — only POST, PUT, or PATCH accepted; GET returns an error","Malformed body type — bodyType must be one of json, form-data, or text","Insufficient USDC — wallet lacks funds to cover the 0.001 USDC per-call charge","Network mismatch — payment made on wrong chain (must be eip155:8453 / Base)","Service unavailable — Tailscale-hosted endpoint unreachable"],"whenToPreferThis":"Use this endpoint when you need to add USDC credits to a Clarity inference gateway account on the Base network (eip155:8453). Prefer it over manual wallet transfers when you want a single API call to both pay and credit the account atomically. Best suited for agents or pipelines that need to auto-replenish inference budgets programmatically without a dashboard.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:04:05.085Z","isFirstParty":false,"canonicalSlug":"clarity-inference-gateway-account-top-up-9a5dcc9e"}