> For the complete documentation index, see [llms.txt](https://premium.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/auto-payments/paykassa.md).

# PayKassa

{% hint style="danger" %} <mark style="color:red;">Before setting up automatic payouts, please read the</mark> [risk warning](https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/avtovyplat/preduprezhdenie-o-riskakh)!
{% endhint %}

{% hint style="info" %}
If you need to update the module on the server, please refer to the [instructions](https://premium.gitbook.io/main/en/en/basic-settings/faq/updating-script-files-on-the-server/how-to-update-files-on-the-server#merchant-and-auto-payout-modules).
{% endhint %}

## Merchant Account Settings

Register or log in to the [PayKassa](https://paykassa.pro/) system.

Go to the "**API**" section and click the "**Add API**" button.

<figure><img src="/files/mx0tvprV01uUZ0uHbTdi" alt=""><figcaption></figcaption></figure>

Fill out the form that appears:

<figure><img src="/files/hdX5VZeE6oli0OpkYXxY" alt="" width="330"><figcaption></figcaption></figure>

**API Name** - any suitable name

**API Password** - password for merchant module authorization

**API Description** - a comment for the created API

**Specify the list of allowed IP addresses, with or without a subnet mask** - the IP address of your server

In the settings of the created API, you will find its ID.

<figure><img src="/files/I5OtBJ4fbwzy7ZTKoDkU" alt=""><figcaption></figcaption></figure>

## **Module Settings**

In the admin panel, go to the "**Automatic Payouts**" -> "**Automatic Payouts**" section, click the "**Add**" button, and select PayKassa.

<figure><img src="/files/jGeauc6zxMLMEbNrMjUG" alt="" width="512"><figcaption></figcaption></figure>

Fill in the required authorization fields.

<figure><img src="/files/N9xZA6qzAlxeZR7onagb" alt="" width="447"><figcaption></figcaption></figure>

**Store ID for payouts** - you need to create a merchant following the [instructions](https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/merchants/paykassa#nastroiki-v-lichnom-kabinete-merchanta) and specify its ID.

**API ID** - the API ID from your PayKassa account.

**API Password** - the password generated by PayKassa when creating the merchant (API Password).

## Special Fields

<figure><img src="/files/67eaB5Pk7lsiBhGaWhcH" alt=""><figcaption></figcaption></figure>

**Transaction Type** - select the currency/network for automatic payouts.

<figure><img src="/files/qqxK63T3vyz2G47DF7HR" alt=""><figcaption></figcaption></figure>

**Priority (for Bitcoin network only)** - choose the amount of [time for transaction processing (validation)](#user-content-fn-1)[^1]; the fee depends on the selected parameter (low - lower fee, slower validation speed; high - higher fee, faster validation speed)\
![](/files/k8M8zLQaeonPlhWoLHMi)

## Continue Configuration

Next, configure the merchant by following the [general setup instructions](https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/auto-payments/general-auto-payment-settings).

[^1]: The average transaction time is between twenty minutes to an hour, but during network congestion, transaction times can increase significantly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/auto-payments/paykassa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
