Ir a contenido
Crea una cuenta o inicia sesión
Logotipo de la documentación de Stripe
/
Pregúntale a la IA
Crear cuentaIniciar sesión
Empezar
Pagos
Ingresos
Plataformas y marketplaces
Gestión del dinero
Recursos para desarrolladores
API y SDKAyuda
Resumen
Control de versiones
Registro de cambios
    Resumen
    Clover
    Basil
    Acacia
    Versiones anteriores
Actualiza tu versión de la API
Mejora tu versión de SDK
Essentials
SDK
API
Pruebas
CLI de Stripe
Proyectos de muestra
Herramientas
Dashboard de Stripe
Espacio de trabajo
Dashboard de desarrolladores
Stripe para Visual Studio Code
Terraform
Funciones
Flujos de trabajo
Destinos de eventos
Alertas de estado de StripeCargas de archivos
Soluciones de IA
Kit de herramientas para agentes
Protocolo de Contexto del ModeloCrea flujos de trabajo para la facturación SaaS con IA agéntica
Seguridad y privacidad
Seguridad
Rastreo web de Stripebot
Ampliar Stripe
Desarrolla aplicaciones de Stripe
Usa aplicaciones de Stripe
Socios
Ecosistema de socios
Certificación de socio
Estados Unidos
Español (España)
InicioRecursos para desarrolladoresChangelogAcacia2024-12-18.acacia

Adds field-level permissions for revenue and worker count in an Account's business profile

Novedades

Adds undefined as a possible value for the Account.business_profile.annual_revenue and Account.business_profile.estimated_worker_count parameters in Accounts API responses.

Previously, Account.business_profile.annual_revenue and Account.business_profile.estimated_worker_count contained null or a value. This change allows the API to return undefined, null, or a value. This affects all API endpoints that return the Account object.

Impacto

This change allows you to differentiate how you handle responses returning the business_profile of an Account object. You can update your integration to handle the response differently depending on whether the annual_revenue and estimated_worker_count parameters return null or undefined.

Even if you don’t handle the values differently, update your integration to expect either value to make sure your integration remains compatible with all possible API responses and prevents potential errors when processing Account data.

Cambios

CamposCambiarDe → a
Account.business_profile.annual_revenueAccount.business_profile.estimated_worker_countCambiado
required → optional

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: 2024-12-18.acacia
  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.

¿Te ha sido útil la página?
SíNo
  • ¿Necesitas ayuda? Ponte en contacto con el equipo de soporte.
  • Echa un vistazo a nuestro registro de cambios.
  • ¿Tienes alguna pregunta? Ponte en contacto con el equipo de ventas.
  • ¿LLM? Lee llms.txt.
  • Con tecnología de Markdoc