{"uid":"cap_pYxTAeJzbx645sVkrzr9z","slug":"sqlguard-credit-purchase-micro-971a65ae","name":"SQLGuard Credit Purchase (Micro)","description":"Prepaid volume credits ($0.10 → 5) for SQLGuard validate/verify after Session or Instant. Not the primary authorize path — use Session Cert for authorize mutating SQL before execute.","url":"https://sqlguard.io/v1/credits/buy/micro","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"agent_id":{"type":"string","description":"Optional agent id query param for discovery probes"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"bundle":"micro","balance":5,"agent_id":"0xYourAgentOrWallet","credits_added":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.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":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pnB9yhijo1i7gs-OqgsHn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a prepaid micro-credit bundle for SQLGuard's SQL execution authorization firewall, enabling sandbox validation and Ed25519 certificate issuance for mutating SQL statements.","exampleAgentPrompt":"I want to authorize mutating SQL against production — buy me a SQLGuard micro credit pack so I can start getting Ed25519 execution certificates for my INSERT and DELETE statements.","exampleUseCases":[{"title":"Fund automated database migration guard","prompt":"We're running a schema migration next week with a bunch of DDL and UPDATE statements — buy a batch of SQLGuard micro credits so our pipeline can get execution certificates before touching production."},{"title":"Prepay for ad-hoc production INSERT approval","prompt":"I need to do a one-off bulk INSERT into production and I want SQLGuard to sign off on it first — can you buy the credits I need to get that authorization certificate?"},{"title":"Bootstrap SQL firewall for CI/CD pipeline","prompt":"Our new CI/CD pipeline needs to validate and certify every mutating SQL statement before it hits production — purchase SQLGuard micro credits to get the execution certificate firewall running."}],"resultDescription":"Returns confirmation of a prepaid micro-credit purchase (entry at $0.10 USDC), crediting the caller's SQLGuard account balance which can then be spent on sandbox validation and Ed25519 PASS certificate issuance for mutating SQL statements (INSERT, UPDATE, DELETE, DDL).","failureModes":["Payment failure — insufficient USDC balance or x402 payment protocol error returns payment required error","Invalid agent_id — unrecognized agent identifier may result in credit not being associated correctly","Network timeout — slow payment settlement may leave credit purchase in pending state","Duplicate purchase — non-idempotent endpoint may process multiple charges if retried without checking balance"],"whenToPreferThis":"Choose this endpoint when you need to prepay or top up credits for SQLGuard's SQL execution authorization system before issuing validation or certificate requests. Use this as the first step if your SQLGuard credit balance is zero or insufficient to cover upcoming mutating SQL statement validations. This is the entry-level ($0.10) credit purchase; prefer it for lightweight or one-off authorization needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:31:20.492Z","isFirstParty":false}