WinCL Admin Payment API

결제 완료된 건을 관리자가 환불

Operations 1

POST /bapi/v2/payment/{purchaseId}/cancel 사용자가 이미 구매한 배출권 환불하기 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wincl-admin-payment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wincl-admin-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wincl Admin Admin Payment API
  version: '1.0'
  description: Admin Controller
servers:
- url: https://api.wincl.io:443
  description: Inferred Url
tags:
- name: Admin Payment
  description: 결제 완료된 건을 관리자가 환불
paths:
  /bapi/v2/payment/{purchaseId}/cancel:
    post:
      tags:
      - Admin Payment
      summary: 사용자가 이미 구매한 배출권 환불하기
      operationId: refundPaymentUsingPOST
      parameters:
      - name: purchaseId
        in: path
        description: '`/bapi/v1/wallet/history/buy`에서 받은 `id_usr_prod_buy` 값'
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_RefundPaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
      - Bearer 토큰 값:
        - global
components:
  schemas:
    WinclResponseData_RefundPaymentResultData:
      title: WinclResponseData«RefundPaymentResultData»
      type: object
      properties:
        code:
          type: string
        data:
          $ref: '#/components/schemas/RefundPaymentResultData'
        message:
          type: string
    RefundPaymentResultData:
      title: RefundPaymentResultData
      type: object
      properties:
        cancelablePrice:
          type: number
          description: 추가 결제 취소 가능한 금액
          format: bigdecimal
        canceledPrice:
          type: number
          description: 결제 취소된 금액
          format: bigdecimal
        currency:
          type: string
          description: 결제 통화
          enum:
          - KRW
          - USD
        pgCode:
          type: string
        pgMessage:
          type: string
        pgProvider:
          type: string
          enum:
          - KCP
          - PAYCO
          - STRIPE
        purchaseId:
          type: string
          description: 구매 ID (`id_usr_prod_buy`)
        successful:
          type: boolean
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT