# How to integrate Paytiko

[Paytiko](https://www.paytiko.com/) can be connected to B2CORE through PSS, with support for deposits only.

For a full list of payment systems that can be connected through PSS, refer to [Integrations > Payment systems](https://docs.b2core.b2broker.com/integrations/payment-systems). Such systems are marked with `Yes` in the **PSS-supported** column.

Follow the instructions below to configure the Paytiko connection and set up the deposit method in the B2CORE Back Office. These instructions correspond to the [General procedure](https://docs.b2core.b2broker.com/how-to-articles/manage-payment-methods/how-to-add-deposit-and-withdrawal-methods-through-pss) for adding methods for PSS-supported payment systems, but include details specific to Paytiko.

{% hint style="info" %}
Before proceeding with the instructions, you must have signed up for Paytiko and have an active account.
{% endhint %}

## Configure a connection to Paytiko

To configure a connection to Paytiko for making deposits:

{% stepper %}
{% step %}
In the B2CORE Back Office, navigate to **System** > **External connections**.
{% endstep %}

{% step %}
Click **+Create** in the upper-right page corner.
{% endstep %}

{% step %}
On the **Create connection** page, fill in the following fields:

* In the **Name** field, enter a name for the connection. The name must be unique and may only contain Latin letters, numbers, dashes, and underscores (for example, `Deposits_Paytiko`).
* In the **Caption** field, enter a caption that will be applied to the connection in the Back Office.
* In the **Provider** dropdown, select **PaymentSystemDeposit**.
  {% endstep %}

{% step %}
In the **Driver** dropdown that appears, select **Paytiko**.
{% endstep %}

{% step %}
In the **Credentials** section that appears, configure the Paytiko-specific settings:

* In the **API base URL** field, specify `https://core.paytiko.com`.
* In the **Secrete key** field, enter your secret key. To find your secret key, sign in to your Paytiko account and navigate to **Payment settings** > **Merchants**, where you can copy it.

<figure><img src="https://514898401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoRxAprhHu1goANW7FXt%2Fuploads%2Fgit-blob-d1090f4cb29aa92c8e68dc85331b0acb7ad69bd1%2Fexternal-connection-paytiko.png?alt=media" alt="Create the connection to Paytiko"><figcaption><p>Create the connection to Paytiko</p></figcaption></figure>
{% endstep %}

{% step %}
Click **Save** to create the connection.

The **Paytiko** connection will appear in the list of external connections.
{% endstep %}

{% step %}
Check the connection status.

If the connection is inactive (**No** is displayed in the **Enabled** column), click the **Edit** button to open the connection details and set the **Enabled** dropdown to **Yes**.
{% endstep %}

{% step %}
Click **Save** to apply the changes.
{% endstep %}
{% endstepper %}

## Add a deposit method through Paytiko

To add and set up a method for making deposits through Paytiko:

{% stepper %}
{% step %}
In the B2CORE Back Office, navigate to **System** > **Deposit system** > **Deposit methods**.
{% endstep %}

{% step %}
Click **+Create** in the upper-right page corner.
{% endstep %}

{% step %}
On the **Create a deposit method** page, fill in the following fields:

* In the **Name** field, enter a name for the method. The name must be unique and may only contain Latin letters, numbers, dashes, and underscores.
* In the **Caption** field, enter a caption for the method. This caption will be assigned to the method in the Back Office and will be visible to clients in the B2CORE UI.
* In the **Provider** dropdown, select **PaymentSystemDeposit**.
  {% endstep %}

{% step %}
After selecting **PaymentSystemDeposit**, the following fields appear:

* In the **Available account currencies** dropdown, select one or more currencies. Deposits through Paytiko will be available for accounts denominated in the selected currencies.
* In the **Driver** dropdown, select **Paytiko**.
* In the **Connection** dropdown, select the previously configured [Paytiko connection](#configure-a-connection-to-paytiko).
  {% endstep %}

{% step %}
Skip the **Configuration** section, as no settings are required for Paytiko.

<figure><img src="https://514898401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoRxAprhHu1goANW7FXt%2Fuploads%2Fgit-blob-a249272d4a8ceb211edc15a459dcb2e8f9af50c9%2Fdeposit-method-paytiko.png?alt=media" alt="Create the Paytiko deposit method"><figcaption><p>Create the Paytiko deposit method</p></figcaption></figure>
{% endstep %}

{% step %}
Click **Save** to create the deposit method.

The **Paytiko** deposit method will appear in the list of deposit methods.
{% endstep %}

{% step %}
Click **Edit** to enter the method details and complete the following fields:

* On the **Settings** tab, select **Fiat** in the **Group** dropdown.
* In the **Icon** field, specify `paymethod-paytiko` to display the [predefined icon](https://docs.b2core.b2broker.com/integrations/payment-systems) for the Paytiko deposit method in the B2CORE UI. To use a custom icon, specify the URL of the image to be displayed.
* Check the method status.

  If the method is inactive (**No** is displayed in the **Enabled** field), activate it by setting the **Enabled** dropdown to **Yes**.
* Add the needed currencies on the **PS Currencies** tab (for the tab description, refer to [Deposit methods](https://docs.b2core.b2broker.com/back-office-guide/system/deposit-system#details)).
* If needed, configure commissions for the method on the **Commissions** tab (for details, refer to [How to configure commissions for deposit and withdrawal methods](https://docs.b2core.b2broker.com/how-to-articles/manage-payment-methods/how-to-configure-commissions-for-deposit-and-withdrawal-methods)).

<figure><img src="https://514898401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoRxAprhHu1goANW7FXt%2Fuploads%2Fgit-blob-db5ab5ea2974a664d7e995da8446565efb7bca0e%2Fdeposit-method-details.png?alt=media" alt="Deposit method details"><figcaption><p>Deposit method details</p></figcaption></figure>
{% endstep %}

{% step %}
Click **Save** to apply the changes.
{% endstep %}
{% endstepper %}

The **Paytiko** deposit method is now configured in the B2CORE Back Office.

## Set up a webhook in your Paytiko account

To receive status updates for initiated deposits in B2CORE, you need to set up a notification webhook in your Paytiko account.

### Copy the webhook URL from the B2CORE Back Office

{% stepper %}
{% step %}
In the B2CORE Back Office, navigate to **System** > **Deposit system** > **Deposit methods**.
{% endstep %}

{% step %}
Find the configured **Paytiko** deposit method and click **Edit** to enter the method details.
{% endstep %}

{% step %}
Go to the **Webhooks** tab.
{% endstep %}

{% step %}
Copy the URL displayed in the **Notification URL** field.
{% endstep %}
{% endstepper %}

### Add the webhook URL to your Paytiko account

{% stepper %}
{% step %}
In your Paytiko account, navigate to **Payment settings** > **Merchants**.
{% endstep %}

{% step %}
In the **Merchant settings**, paste the copied webhook URL into the **Url** field under the **External service** section.

<figure><img src="https://514898401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoRxAprhHu1goANW7FXt%2Fuploads%2Fgit-blob-1c1e064d1c1977c91f4cf688a1de2b80ce9f4ad3%2Fdeposit-method-paytiko-webhook.png?alt=media" alt="Add the webhook URL to your Paytiko account"><figcaption><p>Add the webhook URL to your Paytiko account</p></figcaption></figure>
{% endstep %}

{% step %}
Click **Save** to apply the changes.
{% endstep %}
{% endstepper %}

The **Paytiko** deposit method is now fully configured and available for clients to use when making deposits in the B2CORE UI.


---

# 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://docs.b2core.b2broker.com/how-to-articles/manage-payment-methods/how-to-add-deposit-and-withdrawal-methods-through-pss/how-to-integrate-paytiko.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.
