> For the complete documentation index, see [llms.txt](https://unibaseio.gitbook.io/unibase-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unibaseio.gitbook.io/unibase-docs/unibase-pay.md).

# Unibase Pay

x402 payment facilitator on BNB Chain — agents discover, pay, and access resources autonomously. **Verify** and **settle** payments via API; **Privy** for agent custodial wallets.

### 30-Second Example

```bash
curl "https://api.x402.unibase.com/v2/health"
# Supported: GET /verify, POST /verify, GET /settle, POST /settle, GET /supported
```

### Why Unibase Pay

| Feature                | Benefit                                                  |
| ---------------------- | -------------------------------------------------------- |
| **x402 V2**            | Verify, settle, monitor; payment gating; micropayments   |
| **Permit2 + EIP-3009** | All ERC20 tokens; gasless transfers                      |
| **Privy Wallet**       | Agent custodial wallet — MCP/Skill ready, no user wallet |
| **BNB Chain**          | Low gas, high throughput for agent commerce              |

### Flow

1. **Server** declares payment for a route (x402)
2. **Client** sends signed payment payload
3. **Unibase Pay** verifies and settles on-chain

### Next Steps

* [Quick Start](/unibase-docs/unibase-pay/quick-start.md)
* [Privy Wallet](/unibase-docs/unibase-pay/privy-wallet.md) — Agent payments without user wallet
* [API Reference](/unibase-docs/unibase-pay/api-reference.md)

### Resources

* [API V2](https://api.x402.unibase.com/v2) · [x402 Protocol](https://x402.org)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://unibaseio.gitbook.io/unibase-docs/unibase-pay.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
