> This page is for version v2.
> For other versions, use one of these documentation indexes:
> - v1 (default): https://developers.outpave.com/v1/llms.txt
> - v2: https://developers.outpave.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.outpave.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.outpave.com/_mcp/server.

# Overview

One REST API, organized by domain. Every domain shares the same authentication, errors, idempotency and pagination.

| API             | Use it to                                                                                                                              |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Platform        | Get access tokens, check connectivity, open account holders, onboard them through a hosted link or the API, and verify and close them. |
| Account         | Manage the people on an account holder, create embedded component sessions and list card programs.                                     |
| Issuing         | Issue cards, change their limits and run their lifecycle.                                                                              |
| Treasury        | Read financial accounts, register external bank accounts and move funds.                                                               |
| Transactions    | Read card transactions, receipts and journal entries.                                                                                  |
| Disputes        | File and follow card disputes.                                                                                                         |
| Events          | Read events and manage webhook endpoints.                                                                                              |
| Customer Portal | Push billing records into the customer portal. Unchanged from v1.                                                                      |

## Base URL

```
https://{hostname}/api/v2
```

Replace `{hostname}` with the API domain assigned to your integration, for example `api.outpave.com` or your own domain.

## Platform keys and company keys

* A **platform API key** acts on the account holders on your platform. Name the account holder in the `Account-Holder` header on account holder operations.
* A **company API key** acts on its own account holder. Omit the header or send its own ID.

## Request and response headers

| Header                          | Direction | Use                                                                                                       |
| ------------------------------- | --------- | --------------------------------------------------------------------------------------------------------- |
| `Authorization`                 | Request   | `Bearer <access token>` on every call.                                                                    |
| `Account-Holder`                | Request   | The account holder a platform key acts on.                                                                |
| `Idempotency-Key`               | Request   | Required on every `POST` except `/access-token`. See [Idempotency](/v2/docs/guides/idempotency).          |
| `Content-Type`                  | Request   | `application/json` on requests with a body. Bodies are limited to 256 KB.                                 |
| `X-Request-Id`                  | Both      | Optional on requests, as your own correlation ID. Always on responses: quote it when you contact support. |
| `RateLimit`, `RateLimit-Policy` | Response  | Your remaining request budget. See [Pagination and rate limits](/v2/docs/guides/pagination).              |

## Environments

Responses and events carry `livemode`: `true` in production, `false` in sandbox and staging. `POST /simulations/cardTransactions` works in sandbox only.

## Compatibility

Your client must accept unknown enum values, unknown event types, unknown error codes and unknown members in responses and events. Ignore what you do not recognize instead of failing.

## Next steps

#### [Authentication](/v2/docs/get-started/authentication)

Create a v2 API key and exchange it for an access token.

#### [Make your first request](/v2/docs/get-started/first-request)

Get a token, check connectivity and read a list.

#### [Errors](/v2/docs/guides/errors)

Problem details and stable error codes.

#### [Webhooks and events](/v2/docs/guides/webhooks)

Receive and verify signed event deliveries.