WinCL Payment API

주문 후 PG사 결제 단계 (Payco)

Operations 12

POST /api/v2/payment/kcp/approve Approval Kcp Order #
POST /api/v2/payment/kcp/reserve Reserve KCP Order #
POST /api/v2/payment/payco/approve Approval Payco Order #
POST /api/v2/payment/payco/reserve Reserve Payco Order #
POST /api/v2/payment/stripe/approve Approve Stripe Payment #
GET /api/v2/payment/stripe/latest-order retrieveLatestOrder #
POST /api/v2/payment/stripe/reserve Reserve Stripe Payment #
GET /api/v2/payment/stripe/test/approve Test approving Stripe Payment #
GET /api/v2/payment/stripe/test/checkout testHtmlCheckout #
GET /api/v2/payment/stripe/test/greeting testGreeting #
POST /api/v2/payment/stripe/test/reserve Test reserving Stripe Payment #
POST /api/v2/payment/stripe/webhook Stripe Webhook #

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-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-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wincl Admin Payment API
  version: '1.0'
  description: Admin Controller
servers:
- url: https://api.wincl.io:443
  description: Inferred Url
tags:
- name: Payment
  description: 주문 후 PG사 결제 단계 (Payco)
paths:
  /api/v2/payment/kcp/approve:
    post:
      tags:
      - Payment
      summary: Approval Kcp Order
      operationId: approveKcpPaymentUsingPOST
      parameters:
      - name: request
        in: query
        description: request
        required: true
        style: deepObject
        explode: true
        schema:
          type: object
          additionalProperties:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ApprovePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '905':
          description: ALREADY_PROCESSED_ORDER
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/kcp/reserve:
    post:
      tags:
      - Payment
      summary: Reserve KCP Order
      operationId: reserveKcpPaymentUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentReserveRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ReservePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '904':
          description: INSUFFICIENT_PRODUCT_STOCK
        '905':
          description: ALREADY_PROCESSED_ORDER
        '906':
          description: NON_PURCHASABLE_PRODUCT
        '924':
          description: UNSUPPORTED_CURRENCY
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/payco/approve:
    post:
      tags:
      - Payment
      summary: Approval Payco Order
      operationId: approvePaycoPaymentUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaycoApproveRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ApprovePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '905':
          description: ALREADY_PROCESSED_ORDER
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/payco/reserve:
    post:
      tags:
      - Payment
      summary: Reserve Payco Order
      operationId: reservePaycoPaymentUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentReserveRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ReservePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '904':
          description: INSUFFICIENT_PRODUCT_STOCK
        '905':
          description: ALREADY_PROCESSED_ORDER
        '906':
          description: NON_PURCHASABLE_PRODUCT
        '924':
          description: UNSUPPORTED_CURRENCY
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/approve:
    post:
      tags:
      - Payment
      summary: Approve Stripe Payment
      operationId: approveStripePaymentUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StripeApproveRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ApprovePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '905':
          description: ALREADY_PROCESSED_ORDER
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/latest-order:
    get:
      tags:
      - Payment
      summary: retrieveLatestOrder
      operationId: retrieveLatestOrderUsingGET
      parameters:
      - name: userId
        in: query
        description: userId
        required: false
        style: form
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WinclResponseData_LatestOrderData'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/reserve:
    post:
      tags:
      - Payment
      summary: Reserve Stripe Payment
      operationId: reserveStripePaymentUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentReserveRequest'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WinclResponseData_ReservePaymentResultData'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '904':
          description: INSUFFICIENT_PRODUCT_STOCK
        '905':
          description: ALREADY_PROCESSED_ORDER
        '906':
          description: NON_PURCHASABLE_PRODUCT
        '924':
          description: UNSUPPORTED_CURRENCY
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/test/approve:
    get:
      tags:
      - Payment
      summary: Test approving Stripe Payment
      operationId: testApproveStripePaymentUsingGET
      parameters:
      - name: session_id
        in: query
        description: session_id
        required: true
        style: form
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WinclResponseData_ApprovePaymentResultData'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '905':
          description: ALREADY_PROCESSED_ORDER
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/test/checkout:
    get:
      tags:
      - Payment
      summary: testHtmlCheckout
      operationId: testHtmlCheckoutUsingGET
      parameters:
      - name: orderId
        in: query
        description: orderId
        required: false
        style: form
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/test/greeting:
    get:
      tags:
      - Payment
      summary: testGreeting
      operationId: testGreetingUsingGET
      parameters:
      - name: name
        in: query
        description: name
        required: false
        style: form
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/test/reserve:
    post:
      tags:
      - Payment
      summary: Test reserving Stripe Payment
      operationId: testReserveStripePaymentUsingPOST
      parameters:
      - name: request
        in: query
        description: request
        required: true
        style: deepObject
        explode: true
        schema:
          type: object
          additionalProperties:
            type: string
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '904':
          description: INSUFFICIENT_PRODUCT_STOCK
        '905':
          description: ALREADY_PROCESSED_ORDER
        '906':
          description: NON_PURCHASABLE_PRODUCT
        '924':
          description: UNSUPPORTED_CURRENCY
      security:
      - Bearer 토큰 값:
        - global
  /api/v2/payment/stripe/webhook:
    post:
      tags:
      - Payment
      summary: Stripe Webhook
      operationId: handleWebhookUsingPOST
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '905':
          description: ALREADY_PROCESSED_ORDER
      security:
      - Bearer 토큰 값:
        - global
components:
  schemas:
    ApprovePaymentResultData:
      title: ApprovePaymentResultData
      type: object
      properties:
        orderId:
          type: string
        payment:
          $ref: '#/components/schemas/Payment'
        pgApproveId:
          type: string
        pgCode:
          type: string
        pgMessage:
          type: string
        pgProvider:
          type: string
          enum:
          - KCP
          - PAYCO
          - STRIPE
        successful:
          type: boolean
    LatestOrderData:
      title: LatestOrderData
      type: object
      properties:
        amount:
          type: number
          format: bigdecimal
        orderId:
          type: string
        price:
          type: number
          format: bigdecimal
    ReservePaymentResultData:
      title: ReservePaymentResultData
      type: object
      properties:
        pgCode:
          type: string
        pgMessage:
          type: string
        pgPaymentUrl:
          type: string
        pgProvider:
          type: string
          enum:
          - KCP
          - PAYCO
          - STRIPE
        pgReserveId:
          type: string
        successful:
          type: boolean
    WinclResponseData_ApprovePaymentResultData:
      title: WinclResponseData«ApprovePaymentResultData»
      type: object
      properties:
        code:
          type: string
        data:
          $ref: '#/components/schemas/ApprovePaymentResultData'
        message:
          type: string
    PaycoApproveRequest:
      title: PaycoApproveRequest
      type: object
      properties:
        code:
          type: string
        discountAmt:
          type: number
          format: bigdecimal
        mainPgCode:
          type: string
        paymentCertifyToken:
          type: string
        pointAmt:
          type: number
          format: bigdecimal
        reserveOrderNo:
          type: string
        sellerOrderReferenceKey:
          type: string
        totalPaymentAmt:
          type: number
          format: bigdecimal
        totalRemoteAreaDeliveryFeeAmt:
          type: number
          format: bigdecimal
    StripeApproveRequest:
      title: StripeApproveRequest
      type: object
      properties:
        checkoutSessionId:
          type: string
        orderId:
          type: string
        totalPaymentCent:
          type: number
          description: 센트단위의 주문금액
          format: bigdecimal
    PaymentReserveRequest:
      title: PaymentReserveRequest
      type: object
      properties:
        orderChannel:
          type: string
          enum:
          - MOBILE
          - PC
        orderId:
          type: string
        relayed:
          type: boolean
          description: 'false: 해당 PG 직접 이용 (기본값), true: 해당 PG 경유한 제3의 PG 이용'
          example: false
        returnUrl:
          type: string
    WinclResponseData_LatestOrderData:
      title: WinclResponseData«LatestOrderData»
      type: object
      properties:
        code:
          type: string
        data:
          $ref: '#/components/schemas/LatestOrderData'
        message:
          type: string
    Payment:
      title: Payment
      type: object
      properties:
        amt_discount:
          type: number
          format: bigdecimal
        amt_tax:
          type: number
          format: bigdecimal
        amt_tot_payment:
          type: number
          format: bigdecimal
        amt_vat:
          type: number
          format: bigdecimal
        corp_approve_key:
          type: string
        corp_email_member:
          type: string
        corp_id_ord:
          type: string
        corp_id_seller:
          type: string
        corp_nm_member:
          type: string
        detail_info:
          type: string
        dttm_complete:
          type: string
          format: date-time
        id_ord:
          type: string
        id_req_payment:
          type: string
        method_payment:
          type: string
        paymentMethodAndCorp:
          type: string
        payment_bank_corp_nm:
          type: string
        payment_bank_num:
          type: string
        payment_card_corp_cd:
          type: string
        payment_card_corp_nm:
          type: string
        payment_card_num:
          type: string
        payment_non_bank_acct:
          type: string
        payment_non_bank_corp_nm:
          type: string
        payment_non_bank_corp_num:
          type: string
        payment_phone_corp_nm:
          type: string
        payment_phone_num:
          type: string
        status_payment:
          type: string
          enum:
          - CANCELED
          - FAIL
          - SUCCESS
        yn_easy_payment:
          type: string
          enum:
          - N
          - Y
    WinclResponseData_ReservePaymentResultData:
      title: WinclResponseData«ReservePaymentResultData»
      type: object
      properties:
        code:
          type: string
        data:
          $ref: '#/components/schemas/ReservePaymentResultData'
        message:
          type: string
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT