Skip to main content

Create

需求描述

新增付款資料 以 product_id 產生 transaction_id 並存入資料庫

Method

POST

Endpoint

  • /api/transaction/payment/{product_id}/

Request Header

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

Response

新增成功

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