History

Provide a history for the shop

get
Path parameters
shopIdstringRequired

ID of Shop

Example: 0x00011936a68f7c26797fa2ab64d444ea82c2fb1af36cdea6d4ff845da635f287
Query parameters
pageNumbernumberRequired

Current Page Number

Example: 1
pageSizenumberRequired

Number of items per page

Example: 10
actionsstringRequired

Filter

Example: 1,2
Responses
200Success
application/json
get
GET /v1/shop/history/{shopId}?pageNumber=1&pageSize=10&actions=1%2C2 HTTP/1.1
Host: 
Accept: */*
200Success
{
  "code": 0,
  "data": {
    "pageInfo": {
      "totalCount": 3,
      "totalPages": 1
    },
    "items": [
      {
        "shopId": "0x00012a23595cf31762a61502546e8b9f947baf3bd55040d9bd535f8afdbff409",
        "currency": "krw",
        "action": 1,
        "cancel": false,
        "increase": "1000000000000000000000",
        "providedAmount": "7000000000000000000000",
        "usedAmount": "100000000000000000000",
        "refundedAmount": "0",
        "purchaseId": "P172294893503200000",
        "paymentId": null,
        "blockNumber": "771",
        "blockTimestamp": "1722948976",
        "transactionHash": "0x17da663a07f3e6a70b6ca8d8a89debf97863687e6ec7effe454824cea9ee2059"
      }
    ]
  },
  "error": {
    "message": "Failed to check the validity of parameters"
  }
}