> 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/merchants/cryptoway.md).

# Cryptoway

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

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

Register on the [Cryptoway service](https://cryptoway.com/en) and log into your account.

Go to the API keys section. Generate a set of keys by clicking "Create API Key".

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

Enter an arbitrary name for this set of keys and your server IP (optional) in the corresponding fields.

#### Check the permission boxes for the key pair being created:

**Deposits —** for the merchant module. Permission to accept funds.

**Withdrawal —** for the auto payout module. Permission to withdraw funds.

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

Confirm the key creation by entering the code sent to your registration email.

Copy the obtained Key ID and Key Secret to your clipboard or a text file.

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

The keys are only available for viewing at the time of creation — they cannot be copied or viewed again. You will need to create a new key pair.

## Module settings

In the admin panel, create a new merchant in the “**Merchants**” ➔ “**Add Merchant**” section.

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

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

Fill in the required authorization fields.

<figure><img src="/files/8KGo3E6MKt41XwV44sPr" alt=""><figcaption></figcaption></figure>

**Domain —** do not fill in this field, leave it empty.

**API key —** Key ID copied earlier from your Cryptoway account.

**Secret key —** Key Secret copied earlier from your Cryptoway account.

## Special Fields

**Payment method** — select the currency for issuing the wallet address (selecting "**Automatically**" will use the XML currency code of the "**Send**" currency).

* **Add** **new** — to add your own currency code.

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

**Cron file —** [create a task](https://premium.gitbook.io/main/en/basic-settings/faq/how-to-create-a-cron-job-on-a-server) with this link on the server.

## Continuing the Setup

Additional module settings are performed according to the[ general setup instructions](https://premium.gitbook.io/main/en/basic-settings/merchants-and-auto-payments/merchants/general-merchant-settings).
