# BaseHub x402 Payment

> BaseHub x402 Payment is a paid API for AI agents from basehub-alpha.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Processes a 0.1 USDC micropayment via the x402 payment protocol on the BaseHub platform

## Facts

- Endpoint: POST https://basehub-alpha.vercel.app/api/x402-payment
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basehub-alpha-vercel-app-be5bb367
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gwgl9bczTqi3oBGI65n-0

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 basehub-alpha-vercel-app-be5bb367 -d '<json body>'
```

Example prompt: Process a 0.1 USDC x402 payment on BaseHub so I can access the paid feature or content.

## When to prefer this

Use this endpoint when you need to execute a 0.1 USDC micropayment specifically through the x402 protocol on the BaseHub platform, such as to unlock a paid feature, register a profile, or access gated content on BaseHub.

## Known failure modes

- Insufficient USDC balance — payment rejected
- Invalid or missing x402 payment header — 402 Payment Required response
- Wallet not connected or unauthorized — authentication error
- Network/RPC error on Base chain — transaction failure
- Duplicate payment attempt — idempotency conflict

## How this service works

BaseHub x402 Payment - Pay 0.1 USDC

## Output

Returns a payment confirmation or access token indicating the 0.1 USDC transaction was successfully processed via x402, potentially granting access to a BaseHub feature or resource.

## Example request

```json
{
 "amount": "0.1",
 "chainId": 8453,
 "currency": "USDC",
 "metadata": {
  "testId": "qa-test-002",
  "timestamp": "2024-01-15T10:30:00Z"
 },
 "description": "Test micropayment for API access"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basehub-alpha-vercel-app-be5bb367/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basehub-alpha.vercel.app](https://www.zero.xyz/host/basehub-alpha.vercel.app/llms.txt)
