packagist stripe/stripe-php v16.0.0

12 hours ago
  • #1756 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Rename usage_threshold_config to usage_threshold on Billing.Alert
    • Remove support for filter on Billing.Alert. Use the filters on the usage_threshold instead

    Additions

    • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
    • Add new method parseThinEvent() on the StripeClient class to parse thin events.
    • Add a new method rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

See the changelog for more details.

Don't miss a new stripe-php release

NewReleases is sending notifications on new releases.