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

# Overview

> Explore supported endpoints, examples, errors, and the OpenAPI specification.

The Paysum API is a JSON-over-HTTPS REST API. Requests and responses use `application/json`, timestamps are ISO 8601 strings in UTC, and amounts are plain numbers in the store’s currency.

## Store API

Manage the store a key belongs to. Each resource has its own read and write scope, and the same operations are available to AI assistants through the [MCP server](https://docs.paysum.io/mcp).

> [card] [Products](https://docs.paysum.io/api/products/list-products)
>
> Catalog, prices, stock and categories.

> [card] [Orders](https://docs.paysum.io/api/orders/list-orders)
>
> Paid orders with line items and deliveries.

> [card] [Customers](https://docs.paysum.io/api/customers/list-customers)
>
> Buyers, spend and order counts.

> [card] [Coupons](https://docs.paysum.io/api/coupons/list-coupons)
>
> Create and schedule discount codes.

> [card] [Theme](https://docs.paysum.io/api/theme/list-files)
>
> Edit theme code, preview and publish.

> [card] [Store](https://docs.paysum.io/api/store/get-store)
>
> Name, address, currency and the key’s scopes.

## Payments API

Take payments in your own product and move money out of the store.

> [card] [Checkout sessions](https://docs.paysum.io/api/checkout/create-session)
>
> Create, retrieve, list and cancel hosted checkouts.

> [card] [Withdrawals](https://docs.paysum.io/api/withdrawals/list-wallets)
>
> Inspect wallets and create or track crypto payouts.

> [card] [Customer balance](https://docs.paysum.io/api/customer-balance/list-customers)
>
> Find customers and manage store balances.

## OpenAPI specification

[Download the OpenAPI 3.1 specification](https://paysum.io/openapi.json) to import the supported endpoints into your API client. It includes request parameters, permission requirements, and response examples from this reference.

> [!NOTE]
>
> A store API key can only call the endpoints documented here. Requests the dashboard makes in your browser are internal and are not available to keys.

## Base URL

```bash theme={null}
https://paysum.io
```

## Authentication

Send a store API key as a bearer token on the resource endpoints in this reference. See [Authentication](https://developers.paysum.io/authentication.md) for permissions and key management, or [OAuth apps](https://developers.paysum.io/oauth-apps.md) if other sellers must grant your integration access.

```http theme={null}
Authorization: Bearer sk_your_secret_key
```

## Pagination

List endpoints accept `limit` (1–100, default 20) and `offset` (default 0) and return the total alongside the page:

```json theme={null}
{ "data": ["…"], "total": 42, "limit": 20, "offset": 0 }
```

[List orders](https://docs.paysum.io/api/orders/list-orders) returns `next_offset` instead of a total. Pass it as `offset` until it is `null`.


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