> 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/reference/api-reference/crypto-payments/acquiring/checkout-mode/specified-chain-checkout.md).

# 指定链收银台

获取用于收款的数字货币地址。

{% hint style="warning" %}
每个请求都必须包含[公共参数](/cn/reference/api-reference/common-parameters.md)。
{% endhint %}

## 示例 <a href="#example" id="example"></a>

```
// crypto order
curl --location --request POST '/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "custom_code9982674851738108",
    "currency": "USDT_BSC_TEST", 
    "amount": "150",
    "payment_method": "on_chain",   
    "product_name": "product info",
      "customer_ref_id": "abc123",
    "notify_url": "https://notify.url",
      "remark": ""
    
}'



// Fiat order
curl --location --request POST '/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "custom_code9982674851738108",
    "currency": "CNY",
      "pay_currency": "USDT_BSC_TEST", 
    "amount": "210",
    "payment_method": "on_chain",   
    "product_name": "product info",
      "customer_ref_id": "abc123",
    "notify_url": "https://notify.url"
    
}'
```

<pre><code>// Response for the 150 USDT_BSC_TEST crypto order above
{
  "code":"200",
  "data":      
  {
<strong>    "request_id":"custom_code9982674851738108",
</strong><strong>    "partner_id":"2000051",
</strong><strong>    "order_no":"202406173100230009031352048",
</strong><strong>    "currency":"USDT_BSC_TEST",
</strong><strong>    "order_amount":"150",
</strong><strong>    "pay_amount":"150",
</strong><strong>    "fee_amount":"0.2",
</strong><strong>    "status":22,
</strong><strong>    "payment_method":"on_chain",
</strong><strong>    "receive_address":"0x1234567890abcdef1234567890abcdef12345678",
</strong><strong>    "checkout_url":"https://example.com/checkout/example"
</strong><strong>    },
</strong><strong>    "message":"success"
</strong><strong>}
</strong></code></pre>

法币计价示例的订单金额为 210 CNY，使用 USDT\_BSC\_TEST 付款。数字货币付款金额取决于适用汇率；上方响应仅对应数字货币计价示例。

请包含[收银台模式](/cn/reference/api-reference/crypto-payments/acquiring/checkout-mode.md)中定义的参数。

地址仅供示例说明。请使用 Topay 实际返回的充值地址，或所选网络上真实的收款人地址。
