> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korbit.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter link de pagamento

> Retorna os dados públicos de um [link de pagamento](/pagamentos/checkout-links) (oferta, estado de publicação e destino). Use para validar catálogo e sincronizar links com sua base.



## OpenAPI

````yaml /openapi/korbit-public-v1.json get /v1/checkout-links/{publicCode}
openapi: 3.1.0
info:
  title: Korbit API
  version: 1.0.0
  description: >-
    API de pagamentos da Korbit para merchants: PIX, cartão (com 3DS),
    assinaturas, checkout por link, payouts, antecipações e refunds — com
    idempotência, webhooks assinados e ambiente sandbox.
  contact:
    name: Suporte Korbit
    email: suporte@korbit.com.br
servers:
  - url: https://api.korbit.com.br
    description: Produção (chaves kbt_live_)
  - url: https://api-test.korbit.com.br
    description: Sandbox (chaves kbt_test_)
security:
  - bearerAuth: []
tags:
  - name: Antecipações
  - name: Assinaturas
  - name: Atividade
  - name: Catálogo
  - name: Chaves de API
  - name: Checkout
  - name: Clientes e Pedidos
  - name: Pagamentos
  - name: Refunds e Disputas
  - name: Saldo e Saques
  - name: Sandbox
  - name: Webhooks
paths:
  /v1/checkout-links/{publicCode}:
    get:
      tags:
        - Checkout
      summary: Obter link de pagamento
      description: >-
        Retorna os dados públicos de um [link de
        pagamento](/pagamentos/checkout-links) (oferta, estado de publicação e
        destino). Use para validar catálogo e sincronizar links com sua base.
      operationId: resolveCommerceCheckoutLink
      parameters:
        - schema:
            type: string
            minLength: 20
            maxLength: 64
          in: path
          name: publicCode
          required: true
          description: >-
            Código público da oferta (a parte final do link:
            `korbit.com.br/o/{publicCode}`).
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - acceptedPaymentMethods
                  - amountMinor
                  - billingInterval
                  - currency
                  - gracePeriodDays
                  - intervalCount
                  - maxInstallments
                  - offerName
                  - productDescription
                  - productName
                  - productType
                properties:
                  acceptedPaymentMethods:
                    type: array
                    minItems: 1
                    items:
                      enum:
                        - PIX
                        - CARD
                  amountMinor:
                    type: integer
                    minimum: 1
                    maximum: 9007199254740991
                  billingInterval:
                    anyOf:
                      - enum:
                          - MONTH
                          - YEAR
                      - type: 'null'
                  currency:
                    enum:
                      - BRL
                  gracePeriodDays:
                    type: integer
                    minimum: 0
                    maximum: 90
                  intervalCount:
                    anyOf:
                      - type: integer
                        minimum: 1
                        maximum: 12
                      - type: 'null'
                  maxInstallments:
                    type: integer
                    minimum: 1
                    maximum: 12
                  offerName:
                    type: string
                    minLength: 1
                    maxLength: 200
                  productDescription:
                    anyOf:
                      - type: string
                        maxLength: 4000
                      - type: 'null'
                  productName:
                    type: string
                    minLength: 1
                    maxLength: 200
                  productType:
                    enum:
                      - ONE_TIME
                      - SUBSCRIPTION
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - detail
                  - instance
                  - requestId
                  - status
                  - title
                  - type
                properties:
                  code:
                    type: string
                  detail:
                    type: string
                  instance:
                    type: string
                  requestId:
                    type: string
                  status:
                    type: integer
                    minimum: 400
                    maximum: 599
                  title:
                    type: string
                  type:
                    type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - detail
                  - instance
                  - requestId
                  - status
                  - title
                  - type
                properties:
                  code:
                    type: string
                  detail:
                    type: string
                  instance:
                    type: string
                  requestId:
                    type: string
                  status:
                    type: integer
                    minimum: 400
                    maximum: 599
                  title:
                    type: string
                  type:
                    type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - detail
                  - instance
                  - requestId
                  - status
                  - title
                  - type
                properties:
                  code:
                    type: string
                  detail:
                    type: string
                  instance:
                    type: string
                  requestId:
                    type: string
                  status:
                    type: integer
                    minimum: 400
                    maximum: 599
                  title:
                    type: string
                  type:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Korbit API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.