# Luckypay

{% 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 %}

## Settings in Your Personal Account

Register for the [Luckypay](https://luckypay.io/) service. Log into your personal account, go to the "**Terminals**" section, select an existing terminal or create a new one, and copy the API key provided in its settings.

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

## Merchant Account Settings

{% hint style="warning" %}
To discuss terms and setup, please contact a [service representative](https://t.me/luckypay_accounting).

**Disclaimer**: When connecting your website to any service, please assess the potential risks of collaboration on your own.
{% endhint %}

Log into your merchant account and make sure to enter the URL from the merchant module settings (Callback URL) in the "**Order Status**" field in the "**Terminals**" section.

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

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

## Module Settings

In the admin panel, create a new merchant in the "**Merchants**" -> "**Add Merchant**" section.

Select Luckypay from the dropdown menu in the "**Module**" field, enter a name for the module, and click "**Save**."

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-ce38bacfa7117b931648dade9223a41299294310%2FArc_5NJ6WqIhsR.png?alt=media" alt="" width="435"><figcaption></figcaption></figure>

**API Key** — the key you previously copied from your Luckypay personal account.

## Special Fields

**Payment Method** — select the appropriate method for receiving funds from the customer (the options in your settings may differ from those mentioned above).

## Continuing the Setup

Next, 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).
