> ## 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.

# Choose the Right API

> Choose the public API and authentication method for each integration.

Anyway exposes separate supported integration surfaces for merchant servers, webhook receivers, agent runtimes, and instrumented applications.

| Surface             | Audience                  | Authentication                                | Primary capability                               |
| ------------------- | ------------------------- | --------------------------------------------- | ------------------------------------------------ |
| Merchant API        | Merchant backend          | `X-API-Key`                                   | Commerce records                                 |
| Webhook delivery    | Merchant HTTPS endpoint   | Ed25519 signature                             | Receive order lifecycle events                   |
| Agent Wallet API    | Agent runtime             | P-256 request signature                       | Read policy/history and authorize wallet actions |
| SuperAPI directory  | Agents and developers     | Public discovery; Agent Wallet for paid calls | Discover and call x402 services                  |
| Telemetry collector | Instrumented applications | Agent Traces API key                          | Export OpenTelemetry traces                      |

## Public integration rules

The **Merchant API** is the supported server-to-server commerce API. Agent Wallet, webhook, SuperAPI, and telemetry contracts are also documented because customer code calls or receives them directly.

<Warning>
  Do not send a Merchant API key as a Bearer token and do not treat an Agent Wallet Key as a merchant credential.
</Warning>

## Base URLs

```text theme={null}
Merchant API:       https://merchant-api-prod.anyway.sh
Agent Wallet API:   https://api.anyway.sh
SuperAPI directory: https://marketplace-prod.anyway.sh
Telemetry:          https://collector.anyway.sh
```

Use URLs returned by Anyway, including `paymentLinkUrl` and callable SuperAPI URLs. Do not derive alternate links or assume that all surfaces share one hostname.
