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

# Credits & Funding

> Understand organization Credits, wallet USDC, and how paid calls are funded.

Anyway Credits and wallet USDC can both fund eligible agent activity, but they are not the same balance.

The Agents **Account balance** displays buffer USDC, agent-wallet allocations, and organization Credits in one funding overview. USDT belongs to the Business balance view and is not part of this Agents allocation bar. Credits remain a separate, non-withdrawable asset.

| Balance | Scope | Used for |
| - | - | - |
| Anyway Credits | Organization | Eligible SuperAPI and x402 charges |
| Wallet USDC | Individual agent wallet | x402 payments after Credits are insufficient |
| Buffer USDC | Wallet owner | Allocation to and from agent wallets |

## Check Credits

As the wallet owner with a merchant login:

```bash theme={null}
anyway wallets credit balance
```

From an agent runtime:

```bash theme={null}
anyway wallets agents credit-balance
```

Both commands refer to the organization Credit pool. They do not report the selected agent wallet's USDC balance.

## Add Credits

In the Agents wallet page, open **Add funds → Credits**, select an available package, and complete checkout. After successful payment, the balance refreshes automatically.

The app loads the available package catalog for the current environment. Do not hard-code package IDs or checkout URLs.

Credit fulfillment is webhook-driven and idempotent. If a payment event is delayed, Anyway can restore a missed fulfillment without crediting the same purchase twice.

You can also start the same flow from the CLI:

```bash theme={null}
anyway wallets credit topup
```

## Payment order

For an eligible SuperAPI call, Anyway uses organization Credits first. If Credits are insufficient, the call can fall back to the paying agent wallet's USDC balance.

Credits cannot be:

* withdrawn as USDC;
* assigned to only one agent wallet;
* used for a direct wallet transfer; or
* treated as Business revenue.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.