Skip to main content

Read

權限限制: Public

需求描述

查詢付款資料

Method

GET

Endpoint

  • /api/products/

Response

查詢成功

  • HTTP Status Code: 200
[
{
"product_id": "string",
"name": "string",
"price": "float",
"recipient_id": "string",
"create_time": "timestamp",
},
{
"product_id": "string",
"name": "string",
"price": "float",
"recipient_id": "string",
"create_time": "timestamp",
},

]

使用者驗證失敗

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