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

# Obter checkout

> Retorna o checkout pelo id, quando ele pertence à conta da chave. Um checkout de outra conta responde `404`. Exige o escopo `checkouts:read`.



## OpenAPI

````yaml /apps/seller/openapi.json get /public/checkouts/{id}
openapi: 3.1.0
info:
  title: SpeedSellX API
  version: 2.0.0
  description: >-
    API pública da SpeedSellX para consultar e atualizar, por integração, os
    dados da sua conta: produtos, pedidos, reembolsos, chargebacks, checkouts,
    upsells, webhooks, assinaturas, vendas e métricas.


    Autentique com `Authorization: Bearer sk_live_...` e gere chaves no painel,
    em Desenvolvedores. Requisições que alteram dados exigem o header
    `Idempotency-Key`. Listagens aceitam `page`/`per_page` (padrão 15) e
    retornam `{ data, links, meta }`.
servers:
  - url: https://api.speedsellx.io/v2
    description: Produção
security:
  - bearerAuth: []
tags:
  - name: Ping
    description: A chamada que prova que a chave funciona.
  - name: Pedidos
    description: Os pedidos da conta da chave.
  - name: Reembolsos
    description: Os pedidos de reembolso da conta da chave.
  - name: Produtos
    description: >-
      O catálogo da conta da chave: leitura, criação, substituição, preço e
      arquivamento.
  - name: Checkouts
    description: Os checkouts da conta da chave e a personalização deles.
  - name: Assinaturas
    description: As assinaturas recorrentes da conta da chave.
  - name: Upsells
    description: As ofertas de upsell da conta da chave.
  - name: Métricas
    description: Os agregados da conta da chave.
  - name: Vendas
    description: O resumo de vendas pagas por janela de datas.
  - name: Chargebacks
    description: Os chargebacks abertos contra a conta da chave.
  - name: Webhooks
    description: As assinaturas de webhook da conta da chave.
paths:
  /public/checkouts/{id}:
    get:
      tags:
        - Checkouts
      summary: Obter checkout
      description: >-
        Retorna o checkout pelo id, quando ele pertence à conta da chave. Um
        checkout de outra conta responde `404`. Exige o escopo `checkouts:read`.
      operationId: publicapi.checkouts.show
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: '`ApiCheckoutResource`'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/ApiCheckoutResource'
                required:
                  - data
        '401':
          description: Chave ausente, inválida ou revogada.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: string
                    const: unauthenticated
                required:
                  - status
                  - error
        '403':
          description: A chave não tem o escopo que a rota exige.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: string
                    const: insufficient_scope
                required:
                  - status
                  - error
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: string
                    const: not_found
                required:
                  - status
                  - error
        '429':
          description: Limite de requisições por minuto excedido para esta chave.
components:
  schemas:
    ApiCheckoutResource:
      type: object
      properties:
        id:
          type: integer
        seller_id:
          type:
            - integer
            - 'null'
        product_id:
          type:
            - integer
            - 'null'
        checkout_theme_id:
          type:
            - integer
            - 'null'
        name:
          type:
            - string
            - 'null'
        template:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        dark_mode:
          type: boolean
        primary_color:
          type:
            - string
            - 'null'
        pix_enabled:
          type:
            - boolean
            - 'null'
        credit_card_enabled:
          type:
            - boolean
            - 'null'
        billet_enabled:
          type:
            - boolean
            - 'null'
        pix_discount_amount:
          type:
            - integer
            - 'null'
        credit_card_discount_amount:
          type:
            - integer
            - 'null'
        billet_discount_amount:
          type:
            - integer
            - 'null'
        max_installments:
          type:
            - integer
            - 'null'
        payment_method_paypal_enabled:
          type: boolean
        payment_method_cc_paypal_enabled:
          type: boolean
        backredirect_enabled:
          type:
            - boolean
            - 'null'
        backredirect_url:
          type:
            - string
            - 'null'
        default:
          type: boolean
        logo:
          type:
            - string
            - 'null'
        top_banner:
          type:
            - string
            - 'null'
        top_2_banner:
          type:
            - string
            - 'null'
        sidebar_banner:
          type:
            - string
            - 'null'
        footer_banner:
          type:
            - string
            - 'null'
        custom_head_script:
          type:
            - string
            - 'null'
        custom_body_script:
          type:
            - string
            - 'null'
        sku:
          type:
            - string
            - 'null'
        public_url:
          type:
            - string
            - 'null'
        social_proof_rating:
          type:
            - number
            - 'null'
        social_proof_count:
          type:
            - integer
            - 'null'
      required:
        - id
        - seller_id
        - product_id
        - checkout_theme_id
        - name
        - template
        - status
        - dark_mode
        - primary_color
        - pix_enabled
        - credit_card_enabled
        - billet_enabled
        - pix_discount_amount
        - credit_card_discount_amount
        - billet_discount_amount
        - max_installments
        - payment_method_paypal_enabled
        - payment_method_cc_paypal_enabled
        - backredirect_enabled
        - backredirect_url
        - default
        - logo
        - top_banner
        - top_2_banner
        - sidebar_banner
        - footer_banner
        - custom_head_script
        - custom_body_script
        - sku
        - public_url
        - social_proof_rating
        - social_proof_count
      title: ApiCheckoutResource
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A chave de API da conta, no formato `sk_{modo}_{prefixo}.{segredo}`.

````