> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meshrouter.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Payments

> Use Solana and Base USDC for account balances or accountless paid calls.

MESH v1 uses USDC rails. Every dollar of MESH margin flows back into \$BETTER through buyback,
lock, distribute, or burn. See [Tokenomics](/tokenomics) for the mechanism.

## Supported flows

| Flow           | Endpoint                                | Use case                           |
| -------------- | --------------------------------------- | ---------------------------------- |
| Quote          | `POST /v1/payments/quote`               | Price a Solana or Base payment     |
| x402 challenge | `POST /v1/payments/x402`                | Unlock an accountless paid request |
| Deposit intent | `POST /v1/payments/deposit-intents`     | Fund API-key credit balances       |
| Confirm        | `POST /v1/payments/confirm`             | Confirm payment and unlock usage   |
| Retrieve       | `GET /v1/payments/intents/{id}`         | Inspect a payment intent state     |
| Cancel         | `POST /v1/payments/intents/{id}/cancel` | Cancel a pending payment intent    |

## Chains

* Solana USDC
* Base USDC

Payment intents move through `quoted`, `pending`, `confirmed`, `cancelled`, or `expired`.
Confirmation credits the account balance or unlocks the paid request.

## Web console deposits

The web console at [meshrouter.app](https://meshrouter.app) supports USDC deposits on Base directly
from your wallet. Signed-in users approve a standard ERC-20 `transfer` to the MESH treasury — the
wallet pays the Base gas — and the deposit follows the standard intent → confirmed flow above. No
SDK call required.
