---
title: "API Reference"
description: "Every endpoint on the new routes, generated from our OpenAPI file."
---

<Info>
  **Try it** sends requests to the sandbox. Sandbox access comes with the Enterprise plan.
</Info>

| Environment | Base URL |
|---|---|
| Sandbox | `https://api.sandbox.storspay.com/v1` |
| Live | `https://api.storspay.com/v1` |

- **Auth:** `Authorization: Bearer <accessToken>`, from `POST /v1/oauth/token`. See [Authentication](/get-started/authentication).
- **Amounts** are decimal strings. **`clientRef`** is required on every call that moves money.
- **Act on an account holder** with the header `Storspay-Account-Id: acct_…`.
- **Errors** use one envelope: `{ code, message, details, requestId }`. See [Errors](/concepts/errors).

## Try it

**Try it** sends requests from your browser to the **sandbox** only, with a sandbox token. The live API accepts no browser requests: call it from your server.

## September v1 API

The September v1 routes at `https://app.storspay.com/api/v1/` are listed on their own page: [September v1 API](/api-reference/september-v1).
