# Treza Labs Credits Top-Up via x402

> Treza Labs Credits Top-Up via x402 is a paid API for AI agents from www.trezalabs.com, paid per call via x402, $5/call, status unknown (last checked 2026-09-14).

Adds $5.00 USD worth of prepaid credit balance to a Treza account using x402 micropayment protocol

## Facts

- Endpoint: POST https://www.trezalabs.com/api/billing/credits/x402
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treza-labs-credits-top-up-via-x402-db70ba63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_80aUllMlgdj_XXTSdK1fk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability treza-labs-credits-top-up-via-x402-db70ba63 -d '<json body>'
```

Example prompt: Add $5 of prepaid credits to my Treza Labs account — use my API key to identify which account to top up.

## When to prefer this

Use this endpoint when you need to programmatically top up a Treza Labs prepaid credit balance in exactly $5.00 increments via x402 USDC micropayment. It is the only endpoint for adding credits to Treza accounts; prefer it over manual top-up flows when automating credit maintenance, building self-funding agent pipelines, or when your agent detects a low-balance condition on a Treza account.

## Known failure modes

- x402 payment failure — insufficient USDC balance in payment wallet
- Authentication failure — invalid, expired, or missing bearer token
- Account not found — authenticated identity does not resolve to a valid Treza account
- Duplicate payment rejection — same payment reference submitted twice
- Network or gateway timeout during payment processing

## How this service works

Top up a Treza prepaid credit balance by $5.00 via x402. Authenticate with a Treza bearer (API key, OAuth token, or session) to choose the account credited.

## Output

A confirmation that $5.00 USD in prepaid credits has been successfully added to the authenticated Treza account, along with the updated balance or transaction details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treza-labs-credits-top-up-via-x402-db70ba63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.trezalabs.com](https://www.zero.xyz/host/www.trezalabs.com/llms.txt)
