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 Shell
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 desarrolladoresChangelogAcacia2025-02-24.acacia

Credit grants can now be applied to specific prices

What’s new

When you create a credit grant, you can now define the scope of credit grants to cover a list of specific prices or a price_type to apply to the credit grant. You must specify either prices or price_type when you create the credit grant. Currently, you can only specify metered prices in the prices list and only metered is supported for the price_type.

Impact

This change enables granular control over which prices a credit grant can apply to. The new fields allow you to retrieve a balance summary for all credit grants that apply to a given list of prices.

Changes

ParámetrosCambiarRecursos o puntos de conexión
price_typepricesSe ha añadido
Billing.CreditBalanceSummary#retrieve.filter.applicability_scopeBilling.CreditGrant#create.applicability_config.scopeBilling.CreditGrant.applicability_config.scope

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-02-24.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.

Related changes

  • Credit grants can now be prioritized
¿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