> For the complete documentation index, see [llms.txt](https://docs.topay.mobi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.topay.mobi/cn/getting-started.md).

# 快速开始

Topay 使用 REST API，请求体和响应体均采用 JSON 格式。

1. 接入数字货币业务时，请查阅[支持的资产](/cn/reference/supported-assets.md)；接入本地支付方式时，请查阅法币代收 API 和法币代付 API 下的各国示例。
2. 配置密钥和[请求签名](/cn/integration/authentication.md)。
3. 如果接入需要，配置 [IP 白名单](/cn/integration/ip-whitelisting.md)。
4. 选择下方的业务流程，并在请求中加入[公共参数](/cn/reference/api-reference/common-parameters.md)。
5. 实现 [Webhook 通知](/cn/integration/webhook.md)验签和订单状态处理。
6. 根据业务情况，使用文档中的[测试资产](/cn/reference/supported-assets.md#testnet-coin)或[测试数据](/cn/reference/data-test.md)验证流程。

## 选择接入流程 <a href="#choose-an-integration" id="choose-an-integration"></a>

* [数字货币收单](/cn/integration/crypto-payments/acquiring.md)：通过钱包模式或收银台模式接收付款。
* [数字货币提币](/cn/integration/crypto-payments/withdrawal.md)：将数字货币发送至目标地址。
* [法币代收](/cn/integration/fiat-payments/payin.md)：通过直连接入接收本地支付。
* [法币代付](/cn/integration/fiat-payments/payout.md)：向银行账户或钱包转账。

生产环境使用 `https://api.topay.mobi`，测试环境使用 `https://api.test.topay.mobi`。测试时请使用文档指定的测试资产和账户配置。
