> For the complete documentation index, see [llms.txt](https://tonpay.gitbook.io/tonpay-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tonpay.gitbook.io/tonpay-sdk/home.md).

# Home

## Introduction

Tonpay SDK is a tool for developers to integrate Tonpay payment solution to their apps, services, websites and more. It's available for 3 languages - JavaScript, Python and Golang.

JS - [Source code](https://github.com/TheTonpay/tonpay-js-sdk) and [npm package](https://www.npmjs.com/package/@tonpay/sdk).

Python - [Source code](https://github.com/TheTonpay/tonpay-python-sdk) and [pypi package](https://pypi.org/project/tonpay/).

Golang - [Source code](https://github.com/TheTonpay/tonpay-go-sdk) and [package](https://pkg.go.dev/github.com/TheTonpay/tonpay-go-sdk).

## Features

Tonpay SDK has you covered and supports variety of features for stores and invoices.

Stores:

* create store
* edit store
* activate store
* deactivate store
* issue invoice
* request purchase
* retrieve payment link for user (without issuing the invoice first)
* get store info (full info and each field separately)

Invoices:

* edit invoice
* activate invoice
* deactivate invoice
* pay invoice
* retrieve payment link for user
* get invoice info (full info and each field separately)

For general technical support please join [Tech Support chat](https://t.me/+QFDtzbckm801ZGEy). To stay up to date with technical updates, join [Tonpay Tech channel](https://t.me/TonpayTech).


---

# 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://tonpay.gitbook.io/tonpay-sdk/home.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.
