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

# API overview

Base URL (local): `http://localhost:4000`

Auth: `Authorization: Bearer <api_key>` — see [API keys](https://docs.usetendr.tech/security/api-keys.md).

| Endpoint | Auth | Description |
| - | - | - |
| `GET /v1/health` | none | Liveness check |
| `GET /v1/ping` | secret or publishable key | Echoes the caller's merchant, mode and scopes |

Payment links and checkout themes have their own pages: [payment links](https://docs.usetendr.tech/api-reference/payment-links.md) and [themes](https://docs.usetendr.tech/api-reference/themes.md). Checkout endpoints (sessions, quotes, payments, refunds, webhook endpoints) are coming in the checkout project.

Errors:

```json theme={null}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "...",
    "requestId": "..."
  }
}
```


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