Create

결제 API : 사용자, 어드민

Payment an order

POST /payment

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

orderId

string

Name of the user

payMethod

number

Age of the user

Response

{
  "paymentId": 1,
  "status": "COMPLELTE",
  "method": "CARD",
  "price": 120000,
  "createdAt": "2024-09-25T12:45:00"
}

Last updated