Asaas · Schema

CheckoutSessionResponseDTO

PaymentsBillingSubscriptionPixBoletoCredit CardsCheckoutSplit PaymentsWebhookDigital AccountReceivablesInvoicingBrazilFintechSmall Business

Properties

Name Type Description
id string Identificador único do checkout no Asaas
link string Link de acesso do checkout
status object
billingTypes array Formas de pagamento
chargeTypes array Tipos de cobrança
minutesToExpire integer Tempo em minutos para expiração do checkout
externalReference string Identificador do checkout no seu sistema
callback object
items array Lista de itens no checkout
customerData object
subscription object
installment object
split array Configurações do split
View JSON Schema on GitHub

JSON Schema

asaas-checkout-session-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asaas/json-schema/asaas-checkout-session-response-dto-schema.json",
  "title": "CheckoutSessionResponseDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asaas-checkout-api-openapi.yml#/components/schemas/CheckoutSessionResponseDTO",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identificador único do checkout no Asaas",
      "deprecated": false
    },
    "link": {
      "type": "string",
      "description": "Link de acesso do checkout",
      "deprecated": false
    },
    "status": {
      "$ref": "#/$defs/CheckoutSessionResponseCheckoutSessionStatus"
    },
    "billingTypes": {
      "type": "array",
      "description": "Formas de pagamento",
      "deprecated": false,
      "items": {
        "$ref": "#/$defs/CheckoutSessionResponseBillingType"
      },
      "enum": [
        "CREDIT_CARD",
        "PIX"
      ]
    },
    "chargeTypes": {
      "type": "array",
      "description": "Tipos de cobrança",
      "deprecated": false,
      "items": {
        "$ref": "#/$defs/CheckoutSessionResponseChargeType"
      },
      "enum": [
        "DETACHED",
        "RECURRENT",
        "INSTALLMENT"
      ]
    },
    "minutesToExpire": {
      "maximum": 1440,
      "minimum": 10,
      "type": "integer",
      "description": "Tempo em minutos para expiração do checkout",
      "format": "int32",
      "deprecated": false
    },
    "externalReference": {
      "maxLength": 200,
      "type": "string",
      "description": "Identificador do checkout no seu sistema",
      "deprecated": false
    },
    "callback": {
      "$ref": "#/$defs/CheckoutSessionCallbackDTO"
    },
    "items": {
      "type": "array",
      "description": "Lista de itens no checkout",
      "deprecated": false,
      "items": {
        "$ref": "#/$defs/CheckoutSessionItemsDTO"
      }
    },
    "customerData": {
      "$ref": "#/$defs/CheckoutSessionCustomerDataDTO"
    },
    "subscription": {
      "$ref": "#/$defs/CheckoutSessionSubscriptionDTO"
    },
    "installment": {
      "$ref": "#/$defs/CheckoutSessionInstallmentDTO"
    },
    "split": {
      "type": "array",
      "description": "Configurações do split",
      "deprecated": false,
      "items": {
        "$ref": "#/$defs/CheckoutSessionSplitDTO"
      }
    }
  },
  "$defs": {
    "CheckoutSessionCallbackDTO": {
      "required": [
        "successUrl",
        "cancelUrl"
      ],
      "type": "object",
      "properties": {
        "successUrl": {
          "type": "string",
          "description": "URL de direcionamento para checkout com sucesso",
          "deprecated": false
        },
        "cancelUrl": {
          "type": "string",
          "description": "URL de direciomento para checkout cancelado",
          "deprecated": false
        },
        "expiredUrl": {
          "type": "string",
          "description": "URL de direcionamento para checkout expirado",
          "deprecated": false
        }
      },
      "description": "Informações de redirecionamento automático após pagamento na tela do checkout",
      "deprecated": false
    },
    "CheckoutSessionCustomerDataDTO": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Nome do cliente",
          "deprecated": false
        },
        "cpfCnpj": {
          "type": "string",
          "description": "CPF ou CNPJ do cliente",
          "deprecated": false
        },
        "email": {
          "type": "string",
          "description": "E-mail do cliente",
          "deprecated": false
        },
        "phone": {
          "type": "string",
          "description": "Telefone do cliente",
          "deprecated": false
        },
        "address": {
          "type": "string",
          "description": "Endereço do cliente",
          "deprecated": false
        },
        "addressNumber": {
          "type": "integer",
          "description": "Número do endereço",
          "format": "int32",
          "deprecated": false
        },
        "complement": {
          "type": "string",
          "description": "Complemento do endereço (máx. 255 caracteres)",
          "deprecated": false
        },
        "province": {
          "type": "string",
          "description": "Província do endereço",
          "deprecated": false
        },
        "postalCode": {
          "type": "string",
          "description": "Código postal do endereço",
          "deprecated": false
        },
        "city": {
          "type": "integer",
          "description": "Código da cidade",
          "format": "int32",
          "deprecated": false
        }
      },
      "description": "Dados do cliente",
      "deprecated": false
    },
    "CheckoutSessionInstallmentDTO": {
      "type": "object",
      "properties": {
        "maxInstallmentCount": {
          "maximum": 21,
          "minimum": 1,
          "type": "integer",
          "description": "Número máximo de parcelas",
          "format": "int32",
          "deprecated": false
        }
      },
      "description": "Detalhes do parcelamento. Caso informado, será obrigatório incluir o chargeType `INSTALLMENT`",
      "deprecated": false
    },
    "CheckoutSessionItemsDTO": {
      "required": [
        "imageBase64",
        "name",
        "quantity",
        "value"
      ],
      "type": "object",
      "properties": {
        "externalReference": {
          "type": "string",
          "description": "Identificador único do item no seu sistema",
          "deprecated": false
        },
        "description": {
          "maxLength": 150,
          "type": "string",
          "description": "Descrição do item",
          "deprecated": false
        },
        "imageBase64": {
          "type": "string",
          "description": "Imagem do item em Base64",
          "deprecated": false
        },
        "name": {
          "maxLength": 30,
          "type": "string",
          "description": "Nome do item",
          "deprecated": false
        },
        "quantity": {
          "type": "integer",
          "description": "Quantidade do item",
          "format": "int32",
          "deprecated": false
        },
        "value": {
          "type": "number",
          "description": "Valor do item",
          "deprecated": false
        }
      },
      "description": "Lista de itens no checkout",
      "deprecated": false
    },
    "CheckoutSessionResponseBillingType": {
      "type": "string",
      "description": "Formas de pagamento",
      "deprecated": false,
      "enum": [
        "CREDIT_CARD",
        "PIX"
      ]
    },
    "CheckoutSessionResponseChargeType": {
      "type": "string",
      "description": "Tipos de cobrança",
      "deprecated": false,
      "enum": [
        "DETACHED",
        "RECURRENT",
        "INSTALLMENT"
      ]
    },
    "CheckoutSessionResponseCheckoutSessionStatus": {
      "type": "string",
      "description": "Status do checkout",
      "deprecated": false,
      "enum": [
        "ACTIVE",
        "CANCELED",
        "EXPIRED",
        "PAID"
      ]
    },
    "CheckoutSessionSplitDTO": {
      "required": [
        "walletId"
      ],
      "type": "object",
      "properties": {
        "walletId": {
          "type": "string",
          "description": "Identificador da carteira Asaas que receberá a transferência",
          "deprecated": false
        },
        "fixedValue": {
          "type": "number",
          "description": "Valor fixo a ser transferido para a conta quando a cobrança for recebida",
          "deprecated": false
        },
        "percentageValue": {
          "type": "number",
          "description": "Percentual sobre o valor líquido da cobrança a ser transferido quando for recebida",
          "deprecated": false
        },
        "totalFixedValue": {
          "type": "number",
          "description": "(Somente parcelamentos). Valor que será feito split referente ao valor total que será parcelado.",
          "deprecated": false
        }
      },
      "description": "Configurações do split",
      "deprecated": false
    },
    "CheckoutSessionSubscriptionCycle": {
      "type": "string",
      "description": "Periodicidade da cobrança",
      "deprecated": false,
      "enum": [
        "WEEKLY",
        "BIWEEKLY",
        "MONTHLY",
        "BIMONTHLY",
        "QUARTERLY",
        "SEMIANNUALLY",
        "YEARLY"
      ]
    },
    "CheckoutSessionSubscriptionDTO": {
      "type": "object",
      "properties": {
        "cycle": {
          "$ref": "#/$defs/CheckoutSessionSubscriptionCycle"
        },
        "endDate": {
          "type": "string",
          "description": "Data limite para vencimento das cobranças",
          "format": "date",
          "deprecated": false
        },
        "nextDueDate": {
          "type": "string",
          "description": "Vencimento do próximo pagamento a ser gerado",
          "format": "date",
          "deprecated": false
        }
      },
      "description": "Detalhes da assinatura, obrigatório se chargeTypes incluir `RECURRENT`",
      "deprecated": false
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/asaas-checkout-session-response-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.