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

# Server Integration

> Protect backend routes with 4Mica payment middleware.

# Server Integration

Protect backend routes with 4Mica payment middleware. This root-level page is kept for existing links; the organized navigation points to the newer sectioned docs where applicable.

## Key Points

* Define route prices.
* Set scheme to 4mica-credit.
* Publish complete payment requirements.
* Verify and settle before serving protected content.

## 4Mica Context

4Mica is the clearing house for the agentic economy: a credit layer for x402 that lets agents and applications transact instantly, earn yield on collateral, and settle net positions later.
