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

# WestWallet

{% 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 the Merchant's Personal Account

Register on the [WestWallet](https://westwallet.io/) website. After your registration is confirmed by the service, log in to your personal account and navigate to the "**Settings**" section.

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

In the "**API Keys**" section, click the "**Add API Key**" button.

<figure><img src="/files/RRmYUlbVQoDAORiZYKXE" alt="" width="563"><figcaption></figcaption></figure>

In the window that opens, select the necessary permissions based on how you will work with the merchant (to receive funds, it is sufficient to choose "**Generate Addresses**" and "**Check Transaction Status**").

It is also advisable to specify the IP address of your server for enhanced security when working with the merchant.

Save the public and private key data in a text file. Click the "**Save**" button.

<figure><img src="/files/0ELmgWHbb4gFg07ibXM8" alt="" width="438"><figcaption></figcaption></figure>

## Module Settings

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

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

<figure><img src="/files/JvBbieGTFLWLlHg6a2Vp" alt="" width="563"><figcaption></figcaption></figure>

Fill in the required authorization fields.

<figure><img src="/files/uEXyhN5X7cxC3dLDMyVw" alt="" width="461"><figcaption></figcaption></figure>

**Number of confirmations required for a payment to be considered completed** — a confirmed payment means that it has been included in a block and, consequently, in the blockchain. The payment has been verified and recorded, and it cannot be altered or canceled. To be legitimate, the transaction 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" according to this setting, regardless of the transaction status displayed in the payment history of the exchange. By enabling this option, you accept any associated risks.
  {% endhint %}

**Public Key** — the public key generated in the WestWallet personal account.

**Private Key** — the private key generated in the WestWallet personal account.

## 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).


---

# 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/merchants/westwallet.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.
