> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.6mm.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.6mm.com/_mcp/server.

# Agent SDK 概览

<h2 id="capabilities">
  能力范围
</h2>

| 场景         | Java SDK | PHP SDK |
| ---------- | -------- | ------- |
| 绑定用户       | 已支持      | 已支持     |
| 固定金额划转     | 已支持      | 已支持     |
| 一键全部划出     | 已支持      | 已支持     |
| 冲正         | 已支持      | 已支持     |
| 查询订单       | 已支持      | 已支持     |
| 创建入口 URL   | 已支持      | 已支持     |
| Webhook 验签 | 已支持      | 已支持     |

<h2 id="common-configuration">
  通用配置
</h2>

| 配置项             | 示例                                                                                 | 说明                          |
| --------------- | ---------------------------------------------------------------------------------- | --------------------------- |
| baseUrl         | [https://agent-api.6mm.com](https://agent-api.6mm.com)                             | 6MM Agent API 服务地址，不带末尾 /。  |
| agentCode       | AGENT001                                                                           | 代理商编码。                      |
| apiSecret       | your-api-secret                                                                    | API 签名密钥，只能保存在后端。           |
| defaultCurrency | USDT                                                                               | 划转和账户接口默认币种。                |
| webhookUrl      | [https://partner.example.com/6mm/webhook](https://partner.example.com/6mm/webhook) | Partner 接收 6MM Webhook 的地址。 |