# TruthBear Tier 2 Payment Receipt (x402)

> TruthBear Tier 2 Payment Receipt (x402) is a paid API for AI agents from api.truthbear.co, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-28).

Processes a $0.03 USDC x402 payment and returns a short-lived receipt token for tier 2 access, optionally carrying an opaque reference through to the receipt.

## Facts

- Endpoint: GET https://api.truthbear.co/pay/tier2?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/truthbear-tier-2-payment-receipt-x402-d05ad6c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sfss5e7_zgurqarthRXFg

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 truthbear-tier-2-payment-receipt-x402-d05ad6c3
```

Example prompt: Pay for tier 2 access on TruthBear and get me the receipt token — tag it with my query hash 'abc123def456' so I can verify it later.

## When to prefer this

Use this endpoint when you need tier 2 access on api.truthbear.co and must pay via the x402 micropayment protocol at $0.03 USDC per call. Choose this over tier 1 when the downstream resource requires a tier 2 receipt specifically, and over tier 3 when the higher-cost tier is unnecessary. The optional ref parameter makes this ideal when you need to correlate the receipt to a specific query hash or job ID for auditing or verification downstream via /pay/verify.

## Known failure modes

- Payment rejected — insufficient USDC balance or x402 handshake failure, returns 402 Payment Required
- Receipt token expires before it is verified — caller must use token promptly after minting
- Invalid or malformed ref parameter — may be silently ignored or cause a 400 Bad Request
- Network timeout during payment settlement — receipt not issued, caller should retry
- Duplicate payment attempt — may result in a new receipt or an error depending on server deduplication logic

## How this service works

Tiered payment receipt (tier 2): pay once with x402 and get back a short-lived receipt token that /pay/verify checks for you. The tier is fixed by the path - you do not send it. Optional ?ref= carries your own opaque reference, such as a query hash, straight through to the receipt. This mints a receipt rather than returning data, so there is no lookup that can come back empty. $0.03 per call.

## Output

A short-lived JSON receipt token confirming that the $0.03 USDC x402 payment was processed for tier 2 access. The receipt optionally includes the caller-supplied opaque reference string (e.g. a query hash). This token can subsequently be passed to /pay/verify to confirm access authorization.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ref": {
       "type": "string",
       "description": "optional - opaque reference such as a query hash"
      },
      "tier": {
       "type": "string",
       "description": "optional - ignored; fixed to 2 by this path"
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/truthbear-tier-2-payment-receipt-x402-d05ad6c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.truthbear.co](https://www.zero.xyz/host/api.truthbear.co/llms.txt)
