> ## Documentation Index
> Fetch the complete documentation index at: https://developers.uqpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 为 Stablecoin Account 添加资金

> 两种入金方式：从 Global Account 转入法币，或通过充值地址接收加密货币。

[Stablecoin Account API 发布方声明](/zh/stablecoin-account/v1.6/guide/stablecoin-account-api-publisher-disclaimer)

在进行兑换、提现或转账之前，你的 Stablecoin Account 需要先有余额。添加资金有两种方式：

<CardGroup cols={2}>
  <Card title="从 Global Account 转入" icon="building-columns" href="/zh/stablecoin-account/v1.6/guide/transfer-funds-between-stablecoin-account-and-global-account">
    把你在 UQPAY Global Account 中已持有的法币（例如 USD）划转到 Stablecoin Account。
  </Card>

  <Card title="接收加密货币充值" icon="wallet" href="/zh/stablecoin-account/v1.6/guide/receive-deposits">
    生成充值钱包地址，接收从外部钱包发来的加密货币。
  </Card>
</CardGroup>

<h2 id="transfer-in-fiat-from-your-global-account">
  从 Global Account 转入法币
</h2>

如果你在 UQPAY Global Account 中已持有法币，\*\*转入（transfer in）\*\*可以把它划转到 Stablecoin Account。调用 [Create Transfer](/zh/stablecoin-account/v1.6/api-reference/create-transfer)，指定 `type: 4000`（Global Account → Stablecoin Account）、币种和金额。资金到账后进入对应的法币钱包，随时可以兑换成加密货币。

典型用途：入金 —— 先转入 USD，再[兑换](/zh/stablecoin-account/v1.6/guide/convert-currencies)成稳定币用于提现。

完整的请求、响应与 webhook 流程参见[在 Stablecoin Account 与 Global Account 之间转账](/zh/stablecoin-account/v1.6/guide/transfer-funds-between-stablecoin-account-and-global-account)。

<h2 id="receive-crypto-from-an-external-wallet">
  接收外部钱包的加密货币
</h2>

要用加密货币为账户添加资金，先为目标资产-网络组合申请一个**充值钱包地址**，再把地址提供给付款方。UQPAY 检测到入账交易后，会在交易确认时为你的余额入账，并通过[充值 webhook](/zh/stablecoin-account/v1.6/webhooks/deposit) 通知你。

典型用途：出金 —— 接收客户钱包发来的 USDT 或 USDC，再兑换成法币并转出到你的 Global Account。

地址生成、webhook 处理与订单对账参见[接收充值](/zh/stablecoin-account/v1.6/guide/receive-deposits)。

<Warning>
  充值地址只接受指定网络上的指定资产。以其他代币形式、或经其他网络发送的资金无法自动入账。
</Warning>

<h2 id="which-method-to-use">
  如何选择
</h2>

|      | 转入                                                                                           | 加密货币充值                                                                          |
| ---- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| 到账形式 | 法币（例如 USD）                                                                                   | 加密货币（例如 USDT、USDC）                                                              |
| 资金来源 | 你的 UQPAY Global Account                                                                      | 任意外部钱包                                                                          |
| 操作方式 | 调用 [Create Transfer](/zh/stablecoin-account/v1.6/api-reference/create-transfer)，`type: 4000` | 把[充值地址](/zh/stablecoin-account/v1.6/api-reference/deposit-wallet-address)提供给付款方 |
| 跟踪方式 | [转账 webhook](/zh/stablecoin-account/v1.6/webhooks/transfer)                                  | [充值 webhook](/zh/stablecoin-account/v1.6/webhooks/deposit)                      |

无论哪种方式，资金入账后都会出现在钱包的 `available_balance` 中 —— 可通过 [Retrieve Asset](/zh/stablecoin-account/v1.6/api-reference/retrieve-asset) 核对，或在[管理资产余额](/zh/stablecoin-account/v1.6/guide/manage-asset-balances)中查看交易流水。

<h2 id="related">
  相关页面
</h2>

* [在 Stablecoin Account 与 Global Account 之间转账](/zh/stablecoin-account/v1.6/guide/transfer-funds-between-stablecoin-account-and-global-account)
* [接收充值](/zh/stablecoin-account/v1.6/guide/receive-deposits)
* [支持的资产与网络](/zh/stablecoin-account/v1.6/guide/supported-assets-and-networks)
* [管理资产余额](/zh/stablecoin-account/v1.6/guide/manage-asset-balances)
