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

# API reference

> Reference conventions for the Neuro-Pay API

## Base URLs

```text theme={null}
Production: https://api.neuro-admin.com
```

## Authentication

Most endpoints require:

```http theme={null}
Authorization: Bearer <api_key>
```

See [Authentication](/neuro-pay/authentication).

## Content type

Neuro-Pay expects JSON request bodies:

```http theme={null}
Content-Type: application/json
```

## Amounts and identifiers

* Checkout `amount` values are sent in **minor units**.
* Invoice responses return decimal amounts.
* Resource identifiers are typically returned as strings such as:
  * `customer_id`
  * `checkout_id`
  * `invoice_id`
  * `cid`

## Response style

The API returns plain JSON objects and arrays. A typical response looks like:

```json theme={null}
{
  "checkout_id": "ba3e9a3d911ca9e4413eb9e6dcaafec9",
  "status": "created",
  "mode": "test",
  "amount": 2000,
  "currency": "SEK"
}
```

## Error handling

Common patterns include:

* `400 Bad Request` for missing parameters or invalid values
* `403 Forbidden` for missing, invalid, or expired API keys
* `404 Not Found` for some lookup endpoints such as token or profile fetches

## Coverage in these docs

* [Checkout customers](/neuro-pay/api-reference/checkout/customers)
* [Checkouts](/neuro-pay/api-reference/checkout/checkouts)
* [Invoices](/neuro-pay/api-reference/invoices)
* [Climate customers](/neuro-pay/api-reference/climate/customers)
* [Climate compensations](/neuro-pay/api-reference/climate/compensations)
* [Climate tokens](/neuro-pay/api-reference/climate/tokens)
