{"uid":"cap_axTgBZKg_5Oy4bTiPj_lK","slug":"mapleai-prepaid-api-code-purchase-auto-083b1f47","name":"MapleAI Prepaid API Code Purchase (Auto)","description":"One-shot prepaid tap: empty body buys a 100000-token openai/gpt-6-luna key","url":"https://base.mapleai.shop/prepaid/codes/auto?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["openai/gpt-5.6-sol","openai/gpt-5.6-terra","openai/gpt-6-luna","openai/gpt-6-sol"],"type":"string"},"tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"code":"oms_buy_example","model":"openai/gpt-6-luna","object":"prepaid_code","tokens":{"total":100000,"remaining":100000},"api_base":"https://mapleai.shop/v1","status_url":"https://mapleai.shop/v1/prepaid/status"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0095","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.0095/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0095","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0095","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kKpAu4z-LfA3biQcxqfrl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0095","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a prepaid API code with a 100,000-token budget for a specified GPT model using a single POST call with USDC payment via x402","exampleAgentPrompt":"Buy me a prepaid MapleAI API code for the openai/gpt-6-sol model with a 100,000-token budget — charge my USDC wallet.","exampleUseCases":[{"title":"Provision GPT access for an agent","prompt":"Get me a prepaid API code for openai/gpt-6-sol with 100,000 tokens so I can run my AI agent without worrying about per-call billing."},{"title":"Bootstrap a short-lived AI pipeline","prompt":"I'm spinning up a one-off data processing pipeline — buy me a prepaid MapleAI key for openai/gpt-5.6-terra with 100,000 tokens to cover it."},{"title":"Delegate token budget to a sub-agent","prompt":"Purchase a prepaid MapleAI API code for openai/gpt-5.6-sol with 100,000 tokens that I can hand off to a sub-agent running independently."}],"resultDescription":"Returns a prepaid API code (key) tied to the specified GPT model and a 100,000-token budget, usable against MapleAI's OpenAI-compatible endpoint without further payment per call.","failureModes":["Insufficient USDC balance — payment fails and no code is issued","Invalid or unsupported model enum value — request rejected with validation error","x402 payment protocol handshake failure — no code returned","Token budget parameter out of acceptable range — request error","Service unavailability — upstream provisioning fails"],"whenToPreferThis":"Choose this endpoint when you need to pre-fund a fixed token budget for a specific GPT model rather than paying per request, or when delegating API access to a sub-agent that should have a capped spending limit. Ideal for autonomous pipelines that need a standalone credential without ongoing payment authorization per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:29:40.039Z","isFirstParty":false,"canonicalSlug":"mapleai-prepaid-api-code-purchase-auto-083b1f47"}