---
title: "유저의 환불 내역"
method: GET
path: "/bapi/v1/wallet/history/buy/cancel"
tags: ["Admin Wallet"]
---

# 유저의 환불 내역

`GET /bapi/v1/wallet/history/buy/cancel`

## Request

- Base URL: `https://api.wincl.io:443`
- URL: `https://api.wincl.io:443/bapi/v1/wallet/history/buy/cancel`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/wincl/apis/wincl-api/docs/bapi/v1/wallet/history/buy/cancel/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pageSize` integer, required
- `pageNum` integer, required
- `socialEmail` string

## Response `200`

OK

- WinclResponseDataListUserProductCancelHistory
  - `code` string
  - `currentPageNum` integer: 현재 페이지 번호
  - `items` UserProductCancelHistory[]
    - `adminEmail` string: 환불 처리자 이메일
    - `adminName` string: 환불 처리자
    - `cancelAmount` number: 취소한 수량(톤)
    - `currency` 'KRW' | 'USD': 결제 통화
    - `pgCanceledPrice` number: PG 결제 취소 금액
    - `procTime` string: 처리 일시
    - `prodName` string: 취소한 프로덕트명
    - `refundName` string: 사용자 닉네임
    - `socialEmail` string: 사용자 Email
    - `userId` string: 사용자 ID
  - `message` string
  - `pageSize` integer: 페이지당 아이템 개수
  - `sortType` 'AMOUNT_ASC' | 'AMOUNT_DESC' | 'ASC' | 'DESC' | 'NONE' | 'PRICE_ASC' | 'PRICE_DESC' | 'UNIT_PRICE_ASC' | 'UNIT_PRICE_DESC': 정렬 기준
  - `totalCount` integer: 전체 아이템 개수
  - `totalPages` integer: 전체 페이지 수

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/wincl/apis/wincl-api.md) - [All operations](https://skmtc.dev/wincl/apis/wincl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wincl/apis/wincl-api/revisions/662edcbbf2b3?raw)
