{"uid":"cap_XkR1Ivx2OZYqj8-eftxMW","slug":"synap-billing-top-up-via-x402-f3d0cbac","name":"Synap Billing Top-Up via x402","description":"AI powered by the people, for the people. OpenAI-compatible inference API with zero data retention — qwen3-coder-30b at $0.0675/1M in, $0.27/1M out. Contribute your GPU, earn credits.","url":"https://synap.linkrra.com/api/billing/x402/topup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"}}},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"balance":4399472,"credits":4399472}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FWfU8qrNF3UQlcgr3KrsK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tops up a Synap account balance by processing a $1 USDC micropayment via the x402 payment protocol, returning the updated credit balance.","exampleAgentPrompt":"Top up my Synap AI account balance with $1 USDC so I can keep running inference requests against the qwen3-coder-30b model.","exampleUseCases":[{"title":"Replenish depleted inference credits","prompt":"My Synap AI credits are running low — go ahead and top up my account with $1 USDC so I can keep making API calls without interruption."},{"title":"Automated billing top-up for agent pipeline","prompt":"Whenever my Synap balance drops below a threshold, automatically add $1 USDC to keep my AI agent pipeline running without hitting a zero-balance error."},{"title":"First-time funding of a new Synap account","prompt":"I just signed up for Synap's AI inference API — can you add $1 USDC to my new account so I can start testing the qwen3-coder model right away?"}],"resultDescription":"Returns a JSON object with 'ok' (boolean success flag), 'balance' (integer representing the updated account balance in micro-credits), and 'credits' (integer equal to balance, confirming the new credit total after the top-up).","failureModes":["Payment failure: insufficient USDC funds in the paying wallet returns an error","Invalid x402 payment header: malformed or missing payment proof causes rejection","Network error: timeout or connectivity issue during payment processing","Duplicate payment: submitting the same payment nonce twice may be rejected","Account not found: mismatched credentials result in top-up not being applied"],"whenToPreferThis":"Use this endpoint when an AI agent or automated pipeline needs to programmatically fund a Synap inference account using the x402 micropayment protocol (USDC on-chain). Prefer this over manual top-up flows when operating in an agentic context where credits must be replenished automatically without human intervention. This is specifically suited for x402-compatible payment flows and not for traditional credit card or fiat billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:35:47.131Z","isFirstParty":false,"canonicalSlug":"synap-billing-top-up-via-x402-f3d0cbac"}