# 接入须知

#### 请求域名 <a href="#qing-qiu-yu-ming" id="qing-qiu-yu-ming"></a>

```
https://api.tokenpay.me
```

### 编码 <a href="#bian-ma" id="bian-ma"></a>

统一编码为 `utf-8`。

### 密钥 <a href="#mi-yue" id="mi-yue"></a>

API文档中提及的 `APP_ID` 和 `APP_SECRECT`，可在商户后台应用管理中获取。

### 字段必选 <a href="#zi-duan-bi-xuan" id="zi-duan-bi-xuan"></a>

对于接口必选参数标记为 `true` 的字段，必须传入具体的值。

### 数据提交 <a href="#shu-ju-ti-jiao" id="shu-ju-ti-jiao"></a>

查询类接口统一使用 `GET` 方法请求，操作类接口统一使用 `POST` 的方法请求。

`POST` 请求头的 `content-type` 为：`application/json`


---

# 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://apidoc.tokenpay.me/chinese/shuo-ming/jie-ru-xu-zhi.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.
