---
title: "Topup X402"
method: POST
path: "/billing/topup/x402"
---

# Topup X402

`POST /billing/topup/x402`

## Request

- Base URL: `https://api.babyblueviper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.babyblueviper.com/billing/topup/x402`
- Auth: none required

Fund a per-call sats balance with USDC (x402 on Base). Synchronous settle.

Flow (same shape as any x402 resource): POST without X-PAYMENT -> 402 challenge for the
requested amount; resend with the signed X-PAYMENT header -> settle -> credit SPENDABLE
(not withdrawable) sats. Idempotent on the settle tx hash.

## Request body

- X402TopupBody
  - `api_key` string, required
  - `usd_amount` number, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/babyblueviper/apis/invinoveritas.md) - [All operations](https://skmtc.dev/babyblueviper/apis/invinoveritas/llms.txt) - [OpenAPI document](https://skmtc.dev/babyblueviper/apis/invinoveritas/revisions/8b07f40b15e9?raw)
