Pular para o conteúdo
Criar conta ou Entrar
O logotipo da documentação da Stripe
/
Pergunte à IA
Criar contaLogin
Comece já
Pagamentos
Receita
Plataformas e marketplaces
Gestão de valores
Recursos para desenvolvedores
APIs e SDKsAjuda
Visão geral
Controle de versão
Changelog
    Visão geral
    Clover
    Basil
    Acacia
    Versões anteriores
Atualize sua versão da API
Faça upgrade da sua versão do SDK
Essentials
SDKs
API
Testes
Stripe CLI
Projetos de exemplo
Ferramentas
Stripe Dashboard
Workbench
Dashboard de desenvolvedores
Stripe para Visual Studio Code
Terraform
Recursos
Fluxos de trabalho
Destinos de evento
Alertas de integridade da StripeCarregamento de arquivos
Soluções de IA
Kit de ferramentas para agentes
Protocolo de contexto do modeloCrie fluxos de cobrança SaaS com IA agentiva
Segurança e privacidade
Segurança
Rastreador da Web Stripebot
Amplie a Stripe
Desenvolva aplicativos da Stripe
Usar os aplicativos da Stripe
Parceiros
Ecossistema de parceiros
Certificação de parceiro
Estados Unidos
Português (Brasil)
Página inicialRecursos para desenvolvedoresChangelogBasil2025-03-31.basil

Removes total count expansion for list API methodsAlterações incompatíveis

Novidades

You can no longer expand the total_count property in lists. New users can’t expand total_count on earlier Stripe versions. Attempting to expand total_count returns a 400 error with a property_forbidden error message.

Why is this a breaking change?

We don’t allow requests for total_count expansion for list API methods. To use this version, you must migrate your integration to solely rely on the has_more list response field instead.

Impacto

If your integration uses total_count for pagination and it sends include[]=total_count or exclude[]=total_count API parameters with your API request, you need to update your pagination integration to rely only on the has_more response field.

Some top-level API resources always return total_count values for some of their list fields. You might notice this if you don’t add include[]=total_count or exclude[]=total_count to your request but you still receive total_count data as a part of the response. These API resources aren’t affected by this version change.

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
    • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-03-31.basil
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Esta página foi útil?
SimNão
  • Precisa de ajuda? Fale com o suporte.
  • Confira nosso changelog.
  • Dúvidas? Fale com a equipe de vendas.
  • LLM? Read llms.txt.
  • Powered by Markdoc