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

關閉訂單

提示 (TIP)

供用戶手動取消訂單或商戶取消訂單使用。

介面地址 (Interface address)

POST https://api.tokenpay.me/v1/transaction/close

介面參數 (Interface parameters)

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

app_id

header

string

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

mch_id

body

string

商戶 ID,示例值:12345678

transaction_id

body

string

平台訂單號,示例值:2a1cfa6568xxxxxxxx3050957024c559

參數示例 (Parameters example)

{
  "app_id": "8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd",
  "mch_id": "12345678",
  "transaction_id": "2a1cfa6568xxxxxxxx3050957024c559"
}

介面返回 (Interface return)

參數名稱
類型
描述
說明

code

integer

msg

string

狀態描述

request_id

string

請求 ID

返回示例 (Return example)

示例代碼 (Example code)

最後更新於