# API keys và Webhook subscription

You can use API keys and Webhook subscription to integrate Fizen Pay to your preexisting Ecommerce shop.

### **How to create API key**

**Step 1.** Go to **Account settings** in your Fizen Pay merchant account.

**Step 2.** In the **API keys** section, click **New API key**.

This will be the key used to connect your Ecommerce store to your Fizen Pay account.

**Copy** the API key.

<figure><img src="https://lh4.googleusercontent.com/4Pym5zop-OKwIUiaviViXAD-Y2VpXT7M3fIDVnChuxkA-qDYyLIoIFaxTDqb02lb_Hb03eZMsETjx6JhQbGDqsIAE4n6TM1Qn3PzxltT-QUUMLDaGyjLB8yfRPqs-ySq80pZnCebkjGkosZEEW-wZ_o" alt=""><figcaption></figcaption></figure>

### How to add Webhook Shared Secret

**Step 1.** Go to **Account settings** in your Fizen Pay merchant account.

**Step 2**. In the **Webhook Subscriptions** section, click A**dd an endpoint**&#x20;

<figure><img src="https://lh6.googleusercontent.com/WFQOr0Dy8u5yqRpQw66o6XS5YuqXTPo_0BletMfgsn60M6tTBWd6BIcaECo84Wlz88P5WJXFtsUv06EJ8CUm6wE0I2bycD4xH7W9mhTjRf9HgtklizRvHNjChsJDAweU3Q0oO5M1bY0-QjnZvHXo5KA" alt=""><figcaption></figcaption></figure>

**Step 3**. Paste the URL of your Ecommerce in the Fizen Pay’s **New Webhook Subscription** modal, then click **Save**

<figure><img src="https://lh6.googleusercontent.com/8uSF3-tQDiHHweq92_kY7SirMzCFO7HjSTbUtwvbOmZugWhUMUegZUgoU_2o0NIest36-tVv93CNdf3TIBGeCqXslbEaJq5q8ozF-SQafnkii4VlhM22drP89ikRh6nEfoJorputs-UCF8XY3P_OTxA" alt=""><figcaption></figcaption></figure>

**Step 4**. Click **Shared secret** button

<figure><img src="https://lh4.googleusercontent.com/7-V-VCsxTA2mjOXq6gLMfiJZHdpDtnYH68EyaekhJkrKbGoJ_v4xqYP0BK9ZP_7RUqN09psUl1wmNbKAUrDYYfvqfzzgFJYTyEIXIQz2w1oEq1cUInxGPHwMtxvT9dF9XQtvuyGubrgSCuFc8upLt5A" alt=""><figcaption></figcaption></figure>

and **copy** the Webhook shared secret. Save the Webhook shared sacred to your Ecommerce settings page.

<figure><img src="https://lh4.googleusercontent.com/lF8XPt_BP9ZhUX-ZV3tA3IQ8HWPhEMh4UwXJ0pvv8RrEHnDDuNhb0vCASdyQl-gre2kF8pAS3-jZOSvt57mYk30t3NJLm0E-ngtp1HMNqoaizW-MxG0RJ4r33_PkFb_SIf47Bpk_VNGz27qJmxgtboA" alt="" width="375"><figcaption></figcaption></figure>

Currently, Fizen Pay is supporting Woocommerce and Prestashop plugins. You can find the detailed installation guidelines here:&#x20;

WooCommerce:

* Merchant account (Mainnet):[ Fizen Pay Installation Guideline for WooCommerce - Merchant account (mainnet).pdf](https://drive.google.com/file/d/1nTXLi0HpQCMJwqOt3d3uHEKwHnIFtNb5/view?usp=sharing)
* Test mode:[ Fizen Pay Installation Guideline for WooCommerce - Test mode.pdf](https://drive.google.com/file/d/1e4DQ9V0hFqaW0cI1yUkt-RhcSAENme0T/view?usp=sharing)

PrestaShop:

* Merchant account (Mainnet):[ Fizen Pay Installation Guide for Prestashop - Merchant account (mainnet).pdf](https://drive.google.com/file/d/1tj3iukSLJQCV2e7STmmxBte4VqZ48XjD/view?usp=sharing)
* Test mode:[ Fizen Pay Installation Guide for Prestashop - Test mode account.pdf](https://drive.google.com/file/d/1cMDCFQviCIdIz9WSVF8Lo9QkBa9e9Iwr/view?usp=sharing)


---

# Agent Instructions: 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:

```
GET https://fizenio.gitbook.io/docs/help-center/fizen-pay/for-merchants/account-settings/api-keys-va-webhook-subscription.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
