Get payment histories

결제 이력 조회 API : 사용자, 어드민

Create a new user

POST /users

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

userId

number

회원 ID

page

number

요청 페이지 번호

size

number

페이지당 element 수

sort

string

정렬 필드 및 조건

Response

{
  "totalPages" : 1,
  "totalElementCount" : 2,
  "currentPage" : 1,
  "currentElementCount" : 2,
  "perPageNumber" : 10,
  "firstPage" : true,
  "lastPage" : true,
  "hasNextPage" : false,
  "hasPrevious" : false,
  "elements" : [
    {
      "paymentId": 1,
      "status": "COMPLELTE",
      "method": "CARD",
      "price": 120000,
      "createdAt": "2024-09-25T13:00:00"
    },
    {
      "paymentId": 2,
      "status": "COMPLELTE",
      "method": "CARD",
      "price": 120000,
      "createdAt": "2024-09-25T13:12:00"
    }
}

Last updated