# 返回商戶網站 

**GET**`https://pay.example.com/pay/return/{trade_id}`

[請求範例 ↓](https://epusdt.com/zh-tw/api/endpoints/checkout-return#request-example)

已付款的 EPay 訂單會攜帶簽章參數跳回商戶網站，其他訂單返回收銀台。請依驗章後的非同步回呼出貨。

## 請求參數 

`trade_id` · `string` · PATH

建立訂單時回傳的 EPUSDT 交易編號。

## 相關文件 

* [建立易支付訂單](https://epusdt.com/zh-tw/api/endpoints/epay-order)
* [商戶回呼](https://epusdt.com/zh-tw/api/payment#callbacks)

## 回應

Location`Location: /pay/checkout-counter/20260523171652123456001`

application/json回應欄位
* `status_code` integer  
業務結果碼，可用於判斷原因。
* `message` string  
供閱讀的結果說明。
* `data` null  
介面回傳的資料，失敗時為 null。
* `request_id` string  
可用於追蹤記錄的請求識別碼。

application/json回應欄位
* `status_code` integer  
業務結果碼，可用於判斷原因。
* `message` string  
供閱讀的結果說明。
* `data` null  
介面回傳的資料，失敗時為 null。
* `request_id` string  
可用於追蹤記錄的請求識別碼。

application/json回應欄位
* `status_code` integer  
業務結果碼，可用於判斷原因。
* `message` string  
供閱讀的結果說明。
* `data` null  
介面回傳的資料，失敗時為 null。
* `request_id` string  
可用於追蹤記錄的請求識別碼。

application/json回應欄位
* `status_code` integer  
業務結果碼，可用於判斷原因。
* `message` string  
供閱讀的結果說明。
* `data` null  
介面回傳的資料，失敗時為 null。
* `request_id` string  
可用於追蹤記錄的請求識別碼。

[error-codes.json ↓](https://epusdt.com/agent-setup/error-codes.json)

**請求範例**

閘道網址 trade\_id 

```
curl -i -X GET \
  'https://pay.example.com/pay/return/20260523171652123456001'
```

**回應範例**302 · 重新導向400 · 10008 · 訂單不存在400 · 10044 · 訂單跳轉地址無效400 · 10045 · 訂單對應的商戶金鑰不可用400 · 10046 · 無法生成 EPay 返回簽名

Location

```
Location: /pay/checkout-counter/20260523171652123456001
```
