Skip to main content

Read

權限限制: Token Authencation. Token 可以經由 /api/auth/token取得

需求描述

查詢付款資料

Method

POST

Endpoint

  • /api/transaction/{transaction_id}/

Request Header

{
"Authorization": "Bearer {token}"
}

Response

查詢成功

  • HTTP Status Code: 200
{
"_id": "shortuuid",
"tx_id": "string",
"product_id": "string",
"recipient_id": "string",
"status": "string",
"create_time": "timestamp",
}

使用者驗證失敗

  • HTTP Status Code: 401
{
"detail": "Invalid token.",
}