# Rapira

{% hint style="info" %}
If you need to update a 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

First, register in the [Rapira](https://rapira.net/) system.

Log into your account, complete the verification process, and enable two-factor authentication (Google Auth).

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-dd4b79fc376453a577c75f8996eb9b0dc7864bcb%2Fimage%20(1347)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

After successfully completing verification and setting up Google Auth, go to the "**Settings - API Keys**" section and click the "**Create API Key**" button.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-ce97a601cc1f780d1264b9282c88fe6c6e727b38%2Fimage%20(1345)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

Make sure to save the generated API key details.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-19cdce0566cc89110832230f2518558768d2d6af%2Fimage%20(1346)_eng.png?alt=media" alt="" width="490"><figcaption></figcaption></figure>

## Module Settings

In the admin panel, navigate to "**Merchants**" -> "**Merchants**," click the "**Add**" button, and select Rapira Crypto.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-65d462bb43c8c4cede6273d16a33d8271ac665c1%2Fimage%20(1348)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

Fill in the required authorization fields.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-f9b4d9576ea54ebc16e8f3a2d5c3244ec36034e3%2Fimage%20(1349)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

**Private Key** - the private key generated by Rapira when creating the API key.

**UID** - the unique user identifier (UID) generated by Rapira when creating the API key.

## Special Fields

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-0aee99f2a3bd7a28bd93cc2c329abdb5f4a56a6b%2Fimage%20(1350)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

**Required Number of Transaction Confirmations** - a confirmed transaction means it has been included in a block and, therefore, in the blockchain. It has been verified and recorded, the payment has been processed, and it cannot be changed or canceled. To be considered legitimate, the operation must receive a certain number of confirmations. Each new confirmation exponentially reduces the risk of the transaction being reversed.

{% hint style="info" %}

* <mark style="color:green;">Recommended!</mark> Set the value to 0 so that the request is considered paid only after receiving the required number of confirmations on the exchange.
* <mark style="color:red;">Not recommended!</mark> If you set a value other than 0, the exchange will change the status of the request to "Paid" based on this setting, regardless of the transaction status displayed in the exchange's payment history. By enabling this option, you accept any associated risks.
  {% endhint %}

## Continuing the Setup

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