---
title: "SQLGuard prepaid micro credits ($0.10 → 5) — volume path, not primary authorize"
method: POST
path: "/v1/credits/buy/micro"
tags: ["Credits", "x402"]
---

# SQLGuard prepaid micro credits ($0.10 → 5) — volume path, not primary authorize

`POST /v1/credits/buy/micro`

## Request

- Base URL: `https://sqlguard.io`
- URL: `https://sqlguard.io/v1/credits/buy/micro`
- Auth: none declared. Required headers: `X-SQLGuard-Agent`

Prepaid credits only (secondary volume top-up). Wealth primary: Pilot Challenge unlock /v1/challenge/unlock $100 or Gateway invoice $299/mo. Session/Workday OFF TABLE as primary. x402 Exact USDC on Base. HTTP 402 until settled.

## Headers

- `X-SQLGuard-Agent` string, required

## Request body

- object
  - `agent_id` string, required: Stable agent or wallet id that receives credits after settle

## Response `200`

Credits granted after x402 settle

- object
  - `ok` boolean, required
  - `agent_id` string, required
  - `bundle` string, required
  - `credits_added` number, required
  - `balance` number, required

## Other responses

- `402`: Payment Required

---

[API](https://skmtc.dev/sqlguard/apis/sqlguard-permission-before-production-writes.md) · [All operations](https://skmtc.dev/sqlguard/apis/sqlguard-permission-before-production-writes/llms.txt) · [OpenAPI document](https://skmtc.dev/sqlguard/apis/sqlguard-permission-before-production-writes/revisions/d164204b4aea?raw)
