> For the complete documentation index, see [llms.txt](https://docs.pakk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pakk.io/account-setup/payment-methods/paytriot.md). Agents can also search and read this documentation through its [MCP server](https://docs.pakk.io/~gitbook/mcp).

# Paytriot

<figure><img src="https://2553116242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTaBpmn8aX5KjLYTOO52%2Fuploads%2FcJMw5jnSThZpGgoleHcU%2Fimage.png?alt=media&amp;token=ecc536cc-eba9-4bbd-86f6-ebe097777b32" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2553116242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTaBpmn8aX5KjLYTOO52%2Fuploads%2FF0on7BuDuI8bP1C5U7a4%2Fimage.png?alt=media&amp;token=45d41b7c-c60d-4374-8e15-c1ce0aaa72d8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2553116242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTaBpmn8aX5KjLYTOO52%2Fuploads%2FQi0ywkYGbFOanAChiwib%2Fimage.png?alt=media&amp;token=ea63b9ab-d81f-483d-9e84-8a8e31254d03" 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pakk.io/account-setup/payment-methods/paytriot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
