---
title: "Visualizar configuração de pagamento"
method: GET
path: "/{alias}/checkout/payments/{paymentId}/config/{id}"
tags: ["Checkout - Configurações de pagamentos"]
---

# Visualizar configuração de pagamento

`GET /{alias}/checkout/payments/{paymentId}/config/{id}`

Visualiza as configurações de um tipo de pagamento específico

## Path parameters

- `alias` string, required
- `paymentId` integer, required
- `id` integer, required

## Response `200`

Configuração de pagamento visualizada com sucesso

- CheckoutPaymentConfig
  - `id` integer
  - `payment_id` integer, required
  - `affiliation_id` integer, required
  - `active` boolean, required
  - `default_display` boolean, required
  - `spread` boolean
  - `ignore_promotions` boolean
  - `accumulate_discount` boolean
  - `percent_discount` number, float
  - `min_installment_value` number, float
  - `max_installments_without_tax` integer
  - `billet_expire_days` integer
  - `days_to_cancel_unpaid_billets` integer
  - `hours_to_cancel_unpaid_pix` integer
  - `hours_to_expire_pix_code` number
  - `billet_instructions` string
  - `installments` object
    - `data` CheckoutInstallment[]
      - `id` integer
      - `payment_id` integer
      - `installment` integer
      - `tax` number, float
      - `percent_discount` number, float
      - `start_at` BaseTimestamp
        - `date` string — Data e hora no formato YYYY-MM-DD H:MM:SS.
        - `timezone_type` integer — Número de representação do timezone.
        - `timezone` string — Fuso horário associado.
      - `end_at` BaseTimestamp
        - `date` string — Data e hora no formato YYYY-MM-DD H:MM:SS.
        - `timezone_type` integer — Número de representação do timezone.
        - `timezone` string — Fuso horário associado.
      - `created_at` BaseTimestamp
        - `date` string — Data e hora no formato YYYY-MM-DD H:MM:SS.
        - `timezone_type` integer — Número de representação do timezone.
        - `timezone` string — Fuso horário associado.
      - `updated_at` BaseTimestamp
        - `date` string — Data e hora no formato YYYY-MM-DD H:MM:SS.
        - `timezone_type` integer — Número de representação do timezone.
        - `timezone` string — Fuso horário associado.
  - `affiliation` object
    - `data` CheckoutAffiliation
      - `id` integer
      - `active` boolean
      - `backup` boolean
      - `name` string
      - `statement_descriptor` string
      - `auto_capture` boolean
      - `has_payment_config` boolean
      - `capture_hour_delay` integer
      - `force_minimum_tax` boolean
      - `status` string
      - `auth_type` string
      - `gateway` object
        - `data` CheckoutGateway[]
          - `alias` string
          - `name` string
          - `icon_url` string, uri — URL do ícone do gateway
          - `allow_backup` boolean
          - `allow_edit_pix_code_expiration_time` boolean
          - `installments_config` object — Configuração de parcelamento
            - `allow_custom_installments` boolean — Indica se parcelamentos personalizados são permitidos
            - `message` string, nullable — Mensagem explicativa sobre o parcelamento
            - `help_link` string, uri, nullable — Link de ajuda sobre o parcelamento
          - `auth_type` string
          - `gateway_exists` boolean
          - `params` object
            - `data` string[]
  - `payment` object
    - `data` CheckoutPayment
      - `id` integer
      - `alias` string
      - `name` string
      - `has_config` boolean
      - `active_config` boolean
      - `is_credit_card` boolean
      - `is_deposit` boolean
      - `is_billet` boolean
      - `is_pix` boolean
      - `is_pix_in_installments` boolean
      - `is_wallet` boolean
      - `icon_url` string, uri — URL do ícone da forma de pagamento
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Requisição inválida
- `404` — Configuração de pagamento não encontrada

---

[API](https://skmtc.net/yampi/apis/yampi-api.md) · [All operations](https://skmtc.net/yampi/apis/yampi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yampi/yampi-api/revisions/fa16c50bef09/schema)
