For the complete documentation index, see llms.txt. This page is also available as Markdown.

創建代付

提示 (TIP)

先發起為您代付。

介面地址 (Interface address)

POST https://api.tokenpay.me/v1/payanother/payment

介面參數 (Interface parameters)

參數名稱
位置
類型
必填
描述

app_id

body

string

應用程式 ID,示例值:8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd

mch_id

body

string

商戶 ID,示例值:12345678

description

body

string

描述,示例值:1234567890

out_trade_no

body

string

商戶訂單號(out_trade_notransaction_id 至少傳入一個)

amount

body

string

代付金額

chain

body

string

所屬公鏈,示例值:TRONETHEREUMBSC查看支援的公鏈

currency

body

string

幣種,示例值:TRXUSDTETH查看支援的幣種

to_address

body

string

收款地址

attach

body

string

自定義參數。在查詢 API 和支付通知中原樣返回,可作為自定義參數。實際上,此欄位僅在支付完成時返回。

notify_url

body

string

回調 URL,示例值:https://xxx/xxx建議使用 https

提示 (TIP)

app_id 可透過商戶後台 創建應用程式 獲取。

介面返回 (Interface return)

參數名稱
類型
必填
描述

code

integer

msg

string

狀態描述

request_id

string

返回示例 (Return example)

示例代碼 (Example code)

最後更新於