# BaseHub Play Games and Earn XP - x402 Payment

> BaseHub Play Games and Earn XP - x402 Payment is a paid API for AI agents from www.basehub.fun, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Processes a 0.1 USDC x402 micropayment to access BaseHub's play-games-and-earn-XP feature

## Facts

- Endpoint: POST https://www.basehub.fun/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-play-games-and-earn-xp-x402-payment-444d51fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4gGy4VIInFMuUK6RG5rJH

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-play-games-and-earn-xp-x402-payment-444d51fd -d '<json body>'
```

Example prompt: Pay 0.1 USDC on BaseHub using x402 so I can play games and earn XP — process the payment now.

## When to prefer this

Use this endpoint when an agent needs to submit a 0.1 USDC x402 micropayment specifically to unlock BaseHub's play-games-and-earn-XP feature. Prefer this over generic payment APIs when the target platform is basehub.fun and the goal is accessing gamified XP rewards via the x402 protocol.

## Known failure modes

- Insufficient USDC balance — payment rejected
- Invalid or malformed x402 payment header — 402 Payment Required returned
- Network congestion causing payment timeout
- Wallet not connected or address invalid
- Payment already processed (replay) — duplicate transaction error

## How this service works

BaseHub x402 Payment - Pay 0.1 USDC

## Output

A confirmation that the 0.1 USDC x402 payment was processed, granting access to BaseHub games and triggering XP rewards for the paying wallet.

## Example request

```json
{
 "amount": "0.1",
 "feature": "play-games-and-earn-XP",
 "currency": "USDC",
 "paymentMethod": "x402",
 "notificationEmail": "zero-qa@agentmail.to"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basehub-play-games-and-earn-xp-x402-payment-444d51fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.basehub.fun](https://www.zero.xyz/host/www.basehub.fun/llms.txt)
