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

# API Reference

> Complete reference for the Holdstation Pay API.

## Base URL

```
https://pay-api.holdstation.com
```

## Authentication

Most endpoints require authentication via the `Partner-App-Key` header. See [Authentication](/authentication) for details.

## Error Responses

All endpoints return a consistent error format:

```json theme={null}
{
  "error": "string",
  "error_code": "string",
  "message": "string",
  "detail": "string"
}
```

| Status Code | Description           |
| ----------- | --------------------- |
| `200`       | Success               |
| `400`       | Bad Request           |
| `401`       | Unauthorized          |
| `500`       | Internal Server Error |

## Response Wrapper

Successful responses are wrapped in a standard envelope:

```json theme={null}
{
  "message": "string",
  "data": { ... }
}
```
