# Paytriot

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

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

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

There are three main items that you have to get from your Paytriot account to configure it in Pakk: **Merchant ID**,  **Signature Key** and **Merchant Country Code**:&#x20;

You can obtain these from your Paytriot Dashboard

From the **Developers** section, grab the following codes and paste them into your Stripe config, which can be found in the "Payments" tab of your Pakk account config page (the little cog icon in the Pakk toolbar):

* API Keys > Publishable Key
* API Keys > Secret Key

Then, in the **Webhooks** section, click **Add Endpoint** to create a new notification endpoint for Stripe payments. In the popup, you need to enter the URL of your webhook, which is *any domain pointed at your site* plus `/webhooks/stripe`. So, if your site was at `pakk.io` you'd enter `https://pakk.io/webhooks/stripe`. Select the latest "version" and two events to send:&#x20;

* payment\_intent.payment\_failed
* payment\_intent.succeeded

Once you've created the endpoint, you can get a **Signing secret** from the webhook page you just created in Stripe - you need to paste that into your Stripe config in Pakk too.

Finally, again inside the Pakk Stripe config, choose your locale and select **Enable**.


---

# 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.pakk.io/account-setup/payment-methods/paytriot.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.
