# API interface

By accessing the API, you can integrate the payment function into your application or website. The API interface also provides real-time access to payment-related data and reports, including transaction history, payment status and fund flow, etc., to help you conduct real-time monitoring and management. To make it easier for you to interface with the API, we also provide API sample code in various languages for reference.

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

API Interface Documentation

{% embed url="<https://apidoc.tokenpay.me/>" %}


---

# 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://doc.tokenpay.me/api-interface.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.
