> ## 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.

# Listar checkouts

> Lista os checkouts de um produto

Requer o escopo `checkouts:read`. O parâmetro `product_id` é obrigatório. Filtre ainda por `status` e `search`.

<ResponseExample>
  ```json Resposta theme={null}
  {
    "data": [
      {
        "id": 3539,
        "product_id": 3257,
        "name": "Checkout Principal",
        "template": null,
        "checkout_theme_id": 1,
        "status": "published",
        "branding": {
          "dark_mode": true,
          "primary_color": "#0B6BFF",
          "secondary_color": null,
          "header_bg_color": null,
          "header_text_color": null,
          "logo": null,
          "top_banner": null,
          "top_2_banner": null,
          "sidebar_banner": null,
          "footer_banner": null
        },
        "created_at": "2026-06-01T10:00:00-03:00",
        "updated_at": "2026-06-01T10:05:00-03:00"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 100,
      "total": 1,
      "last_page": 1
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /checkouts
openapi: 3.1.0
info:
  title: SpeedSellX API
  version: 1.0.0
  description: >-
    API pública da SpeedSellX para consultar e atualizar, por integração, os
    dados da sua conta: produtos, pedidos, vendas, assinaturas, métricas,
    checkouts, upsells e webhooks. Autentique com `Authorization: Bearer
    sk_live_...` e gere chaves no painel, em Desenvolvedores. Requisições que
    alteram dados exigem o header HTTP `Idempotency-Key`. Listagens aceitam
    `page`/`per_page` e retornam `{ data, meta }`.
servers:
  - url: https://api.speedsellx.io/seller/v1
    description: Produção
security: []
tags:
  - name: Produtos
  - name: Pedidos
  - name: Vendas
  - name: Assinaturas
  - name: Métricas
  - name: Upsells
  - name: Checkouts
paths:
  /checkouts:
    get:
      tags:
        - Checkouts
      summary: Listar checkouts
      description: >-
        Retorna os checkouts de um produto (`product_id` obrigatório),
        paginados.
      operationId: v1.checkouts.index
      parameters:
        - name: product_id
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
        - name: per_page
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: search
          in: query
          schema:
            type: string
            maxLength: 255
        - name: status
          in: query
          schema:
            type: string
            maxLength: 50
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/CheckoutResource'
                    required:
                      - data
                  - type: object
                    properties:
                      data:
                        type: string
                      meta:
                        type: object
                        properties:
                          current_page:
                            type: integer
                          per_page:
                            type: integer
                          total:
                            type: integer
                          last_page:
                            type: integer
                        required:
                          - current_page
                          - per_page
                          - total
                          - last_page
                    required:
                      - data
                      - meta
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    CheckoutResource:
      type: object
      properties:
        id:
          type: integer
        product_id:
          type:
            - integer
            - 'null'
        name:
          type:
            - string
            - 'null'
        template:
          type:
            - string
            - 'null'
        checkout_theme_id:
          type:
            - integer
            - 'null'
        status:
          type:
            - string
            - 'null'
        branding:
          type: object
          properties:
            dark_mode:
              type: boolean
            primary_color:
              type:
                - string
                - 'null'
            secondary_color:
              type:
                - string
                - 'null'
            header_bg_color:
              type:
                - string
                - 'null'
            header_text_color:
              type:
                - string
                - 'null'
            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'
          required:
            - dark_mode
            - primary_color
            - secondary_color
            - header_bg_color
            - header_text_color
            - logo
            - top_banner
            - top_2_banner
            - sidebar_banner
            - footer_banner
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - product_id
        - name
        - template
        - checkout_theme_id
        - status
        - branding
        - created_at
        - updated_at
      title: CheckoutResource
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors

````