<!--
THIS IS A GENERATED FILE. Any changes you make to it directly will be blown away.
Instead, edit a corresponding `.change.md` file and run `hark build`.
-->

# Changelog

## <a id="22-0-0"></a>22.0.0 - 2026-09-30
This release changes the pinned API version to `2026-09-30.endive`.

*

...

* Add support for event notification `V1CustomerCashBalanceTransactionCreatedEvent` with related object `CustomerCashBalanceTransaction`
  * Add support for event notification `V1FileCreatedEvent` with related object `File`

...

## <a id="21-2-0"></a>21.2.0 - 2026-08-10
* [#2112](https://github.com/stripe/stripe-php/pull/2112) Add `stripe.major_api_version` constant
* [#2117](https://github.com/stripe/stripe-php/pull/2117) Emit Claude Code plugin hint at module load time
* [#2105](https://github.com/stripe/stripe-php/pull/2105) add/adjust event parsing helpers

...

- Added `WebhookSignature::generateSignatureHeader($payload, $secret, $timestamp = null)`, which computes a full `Stripe-Signature` header for the given payload. Useful for unit tests!
* [#2119](https://github.com/stripe/stripe-php/pull/2119) Surface `object` property on `EventNotification`
*

...

`PaymentIntent.create().$params.payment_method_option.pix`, `PaymentIntent.payment_method_options.pix`, and `PaymentIntent.update().$params.payment_method_option.pix`
  * Add support for new values `block` and `resolution` on enum `Dispute.payment_method_details.card.case_type`
  * Add support for new value `terminal_android_apk` on enum `File.purpose`

...

* Add support for `current_period_end` and `current_period_start` on `SubscriptionItem`
  * Add support for `wifi` on `Terminal.Configuration`

## <a id="16-6-0"></a>16.6.0 - 2025-02-24
This release changes the pinned API version to `2025-02-24.acacia`.

* [#1816](https://github.com/stripe/stripe-php/pull/1816) add codeowners file

...

[#1807](https://github.com/stripe/stripe-php/pull/1807) minor justfile fixes
* [#1805](https://github.com/stripe/stripe-php/pull/1805) Restore testCoreEventsGet generated test
* [#1804](https://github.com/stripe/stripe-php/pull/1804) Update generated code
  * Add support for `close` method on resource `Treasury.FinancialAccount`

...

* Add support for new value `subscribe` on enums `Checkout.Session.submit_type` and `PaymentLink.submit_type`
  * Add support for new value `financial_account_statement` on enum `File.purpose`
  * Add support for `fraud_challenges` and `verified_by_fraud_challenge` on `Issuing.Authorization`
  * Add support for `trace_id` on `Payout`

...

* [#1364](https://github.com/stripe/stripe-php/pull/1364) API Updates
  * Add support for new value `terminal_reader_splashscreen` on enum `File.purpose`

## <a id="9-4-0"></a>9.4.0 - 2022-08-26
* [#1356](https://github.com/stripe/stripe-php/pull/1356) Add beta readme.md section
*

...

[#1304](https://github.com/stripe/stripe-php/pull/1304) Allow passing PSR-3 loggers to setLogger as they are compatible
* [#1351](https://github.com/stripe/stripe-php/pull/1351) Add a support section to the readme
* [#1352](https://github.com/stripe/stripe-php/pull/1352) API Updates
  * Add support for new resource `CustomerCashBalanceTransaction`

...

[#1273](https://github.com/stripe/stripe-php/pull/1273) Add some PHPDoc return types and fixes
* [#1337](https://github.com/stripe/stripe-php/pull/1337) API Updates
* [#1341](https://github.com/stripe/stripe-php/pull/1341) Next major release changes
* [#1344](https://github.com/stripe/stripe-php/pull/1344) API Updates

### Added

...

[#1302](https://github.com/stripe/stripe-php/pull/1302) API Updates
  * Add support for `custom_unit_amount` on `Price`
* [#1301](https://github.com/stripe/stripe-php/pull/1301) API Updates

  Documentation updates.

## <a id="8-7-0"></a>8.7.0 - 2022-06-17
* [#1307](https://github.com/stripe/stripe-php/pull/1307) Support updating pre-release versions

...

* [#1272](https://github.com/stripe/stripe-php/pull/1272) Allow users to pass a custom IPRESOLVE cURL option.
* [#1274](https://github.com/stripe/stripe-php/pull/1274) Fix PHPDoc on Discount for nullable properties
* [#1276](https://github.com/stripe/stripe-php/pull/1276) API Updates
  * Add support for new resource `CashBalance`

...

## <a id="7-117-0"></a>7.117.0 - 2022-03-18
* [#1249](https://github.com/stripe/stripe-php/pull/1249) Add missing constant for payment_behavior
* [#1251](https://github.com/stripe/stripe-php/pull/1251) Add support for SearchResult objects.
* [#1254](https://github.com/stripe/stripe-php/pull/1254) API Updates
  * Add support for `status` on `Card`

...

[#1241](https://github.com/stripe/stripe-php/pull/1241) Add generic parameter to \Stripe\Collection usages
* [#1243](https://github.com/stripe/stripe-php/pull/1243) Add test
* [#1240](https://github.com/stripe/stripe-php/pull/1240) API Updates
  * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`

## <a

...

[#1232](https://github.com/stripe/stripe-php/pull/1232) API Updates
  * Add support for `paid_out_of_band` on `Invoice`

## <a id="7-109-0"></a>7.109.0 - 2022-01-12
* [#1227](https://github.com/stripe/stripe-php/pull/1227) Update docs URLs
* [#1231](https://github.com/stripe/stripe-php/pull/1231) API Updates
  * Add support for `customer_creation` on `Checkout.Session`
## <a id="7-108-0"></a>7.108.0 - 2021-12-22
* [#1226](https://github.com/stripe/stripe-php/pull/1226) Upgrade php-cs-fixer to 3.4.0.
* [#1220](https://github.com/stripe/stripe-php/pull/1220) API Updates
* [#1222](https://github.com/stripe/stripe-php/pull/1222) API Updates
  * Add support for `processing` on `PaymentIntent`

...

[#1216](https://github.com/stripe/stripe-php/pull/1216) Fix namespaced classes in @return PHPDoc.
* [#1214](https://github.com/stripe/stripe-php/pull/1214) Announce PHP8 support in CHANGELOG.md
* [#1218](https://github.com/stripe/stripe-php/pull/1218) API Updates
  * Add support for new values `ge_vat` and `ua_vat` on enum `TaxId.type`

## <a

...

`Invoice.billing_reason`

## <a id="7-87-0"></a>7.87.0 - 2021-06-30
* [#1138](https://github.com/stripe/stripe-php/pull/1138) Deprecate travis
* [#1143](https://github.com/stripe/stripe-php/pull/1143) Streaming requests
* [#1149](https://github.com/stripe/stripe-php/pull/1149) API Updates
  * Add support for `wechat_pay` on `PaymentMethod`

...

[#1126](https://github.com/stripe/stripe-php/pull/1126) API Updates
  * Added support for new resource `Identity.VerificationReport`
  * Added support for new resource `Identity.VerificationSession`
  * `File#list.purpose` and `File.purpose` added new enum members: `identity_document_downloadable` and `selfie`.

## <a id="7-78-0"></a>7.78.0 - 2021-05-05
* [#1120](https://github.com/stripe/stripe-php/pull/1120) Update PHPDocs
  * Add support for `Radar.EarlyFraudWarning.payment_intent`

## <a id="7-77-0"></a>7.77.0 - 2021-04-12
* [#1107](https://github.com/stripe/stripe-php/pull/1107) Remove duplicate object phpdoc
* [#1110](https://github.com/stripe/stripe-php/pull/1110) Update PHPDocs

...

* [#1053](https://github.com/stripe/stripe-php/pull/1053) Update PHPDocs

## <a id="7-65-0"></a>7.65.0 - 2020-11-19
* [#1050](https://github.com/stripe/stripe-php/pull/1050) Added constants for `proration_behavior` on `Subscription`

## <a id="7-64-0"></a>7.64.0 - 2020-11-18
* [#1049](https://github.com/stripe/stripe-php/pull/1049) Update PHPDocs
## <a id="7-63-0"></a>7.63.0 - 2020-11-17
* [#1046](https://github.com/stripe/stripe-php/pull/1046) Force IPv4 resolving
* [#1048](https://github.com/stripe/stripe-php/pull/1048) Update PHPDocs

## <a id="7-62-0"></a>7.62.0 - 2020-11-09
* [#1041](https://github.com/stripe/stripe-php/pull/1041) Add missing constants on `Event`

...

* [#996](https://github.com/stripe/stripe-php/pull/996) Fixing telemetry
* [#997](https://github.com/stripe/stripe-php/pull/997) PHPDocs updated

## <a id="7-47-0"></a>7.47.0 - 2020-08-13
* [#991](https://github.com/stripe/stripe-php/pull/991) Fix invalid return types in OAuthService
*

...

[#975](https://github.com/stripe/stripe-php/pull/975) Add support for `political_exposure` on `Person`

## <a id="7-42-0"></a>7.42.0 - 2020-07-15
* [#974](https://github.com/stripe/stripe-php/pull/974) Add new constants for `purpose` on `File`

## <a id="7-41-1"></a>7.41.1 - 2020-07-15
* [#973](https://github.com/stripe/stripe-php/pull/973) Multiple PHPDoc fixes

...

* [#797](https://github.com/stripe/stripe-php/pull/797) Add support for reverse pagination

## <a id="7-10-0"></a>7.10.0 - 2019-11-05
* [#795](https://github.com/stripe/stripe-php/pull/795) Add support for `Mandate`

## <a id="7-9-0"></a>7.9.0 - 2019-11-05
* [#794](https://github.com/stripe/stripe-php/pull/794) Add PHPDoc to `ApiResponse`

...

[#790](https://github.com/stripe/stripe-php/pull/790) Mark nullable fields in PHPDoc

## <a id="7-7-1"></a>7.7.1 - 2019-10-25
* [#780](https://github.com/stripe/stripe-php/pull/780) Contributor Convenant
* [#781](https://github.com/stripe/stripe-php/pull/781) Fix telemetry header

## <a id="7-7-0"></a>7.7.0 - 2019-10-23
*
[#776](https://github.com/stripe/stripe-php/pull/776) Add `CAPABILITY_TRANSFERS` to `Account`
* [#778](https://github.com/stripe/stripe-php/pull/778) Add support for `TYPE_MX_RFC` type on `TaxId`

## <a id="7-6-0"></a>7.6.0 - 2019-10-22
* [#770](https://github.com/stripe/stripe-php/pull/770) Add missing constants for Customer's `TaxId`

## <a

...

[#755](https://github.com/stripe/stripe-php/pull/755) Respect Stripe-Should-Retry and Retry-After headers

## <a id="7-3-0"></a>7.3.0 - 2019-10-02
* [#749](https://github.com/stripe/stripe-php/pull/749) Call `toArray()` on objects only
* [#752](https://github.com/stripe/stripe-php/pull/752) Add `payment_intent.canceled` and `setup_intent.canceled` events

...

* [#725](https://github.com/stripe/stripe-php/pull/725) Couple of fixes for PHP 7.4

## <a id="6-43-1"></a>6.43.1 - 2019-08-29
* [#701](https://github.com/stripe/stripe-php/pull/701) Start testing PHP 7.3
* [#712](https://github.com/stripe/stripe-php/pull/712) Fix comment
*

...

[#663](https://github.com/stripe/stripe-php/pull/663) Add support for `radar.early_fraud_warning` resource

## <a id="6-36-0"></a>6.36.0 - 2019-05-22
* [#662](https://github.com/stripe/stripe-php/pull/662) Add constants for BalanceTransaction types
* [#661](https://github.com/stripe/stripe-php/pull/661) Add constants for new TaxId types

## <a

...

[#650](https://github.com/stripe/stripe-php/pull/650) Add missing constants for Event types

## <a id="6-34-3"></a>6.34.3 - 2019-05-01
* [#645](https://github.com/stripe/stripe-php/pull/645) Fix constant for `payment_intent.payment_failed`
* [#644](https://github.com/stripe/stripe-php/pull/644) Update return type to `static` to improve static analysis

...

[#628](https://github.com/stripe/stripe-php/pull/628) Add constants for `person.*` event types
* [#628](https://github.com/stripe/stripe-php/pull/628) Add missing constants for `Account` and `Person`

## <a id="6-31-4"></a>6.31.4 - 2019-04-05
* [#624](https://github.com/stripe/stripe-php/pull/624) Fix encoding of nested parameters in multipart requests

...

[#586](https://github.com/stripe/stripe-php/pull/586) Don't overwrite `CURLOPT_HTTP_VERSION` option
* [#566](https://github.com/stripe/stripe-php/pull/566) Fix dangling message contents

## <a id="6-29-0"></a>6.29.0 - 2019-01-23
* [#579](https://github.com/stripe/stripe-php/pull/579) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace.

...

[#546](https://github.com/stripe/stripe-php/pull/546) Drop files from the Composer package that aren't needed in the release

## <a id="6-20-0"></a>6.20.0 - 2018-10-30
* [#536](https://github.com/stripe/stripe-php/pull/536) Add support for the `Person` resource
* [#541](https://github.com/stripe/stripe-php/pull/541) Add support for the `WebhookEndpoint` resource

...

[#523](https://github.com/stripe/stripe-php/pull/523) Add support for Stripe Terminal

## <a id="6-18-0"></a>6.18.0 - 2018-09-24
* [#520](https://github.com/stripe/stripe-php/pull/520) Rename `\Stripe\FileUpload` to `\Stripe\File`

## <a id="6-17-2"></a>6.17.2 - 2018-09-18
*

...

## <a id="6-14-0"></a>6.14.0 - 2018-08-02
* [#505](https://github.com/stripe/stripe-php/pull/505) Add support for file links

## <a id="6-13-0"></a>6.13.0 - 2018-07-31
* [#502](https://github.com/stripe/stripe-php/pull/502) Add `isDeleted()` method to `\Stripe\StripeObject`

## <a id="6-12-0"></a>6.12.0 - 2018-07-28
*

...

[#488](https://github.com/stripe/stripe-php/pull/488) Add support for `$appPartnerId` to `Stripe::setAppInfo()`

## <a id="6-9-0"></a>6.9.0 - 2018-06-28
* [#487](https://github.com/stripe/stripe-php/pull/487) Add support for payment intents

## <a id="6-8-2"></a>6.8.2 - 2018-06-24
* [#486](https://github.com/stripe/stripe-php/pull/486) Make

...

[#442](https://github.com/stripe/stripe-php/pull/442) Fix PHPDoc for `\Stripe\Error\SignatureVerification`
* [#440](https://github.com/stripe/stripe-php/pull/440) Add support for topups

## <a id="6-1-0"></a>6.1.0 - 2018-02-12
* [#435](https://github.com/stripe/stripe-php/pull/435) Fix header persistence on `Collection` objects
*

...

[#414](https://github.com/stripe/stripe-php/pull/414) Use short array syntax
* [#411](https://github.com/stripe/stripe-php/pull/411) Use traits for common API operations
* [#404](https://github.com/stripe/stripe-php/pull/404) Fix serialization logic
* [#417](https://github.com/stripe/stripe-php/pull/417) Remove `ExternalAccount` class
*

...

1.2 where OpenSSL >= 1.0.1 (see #277 for context)

## <a id="3-18-0"></a>3.18.0 - 2016-07-28
* Add new `STATUS_` constants for subscriptions

## <a id="3-17-1"></a>3.17.1 - 2016-07-28
* Fix auto-paging iterator so that it plays nicely with `iterator_to_array`

## <a id="3-17-0"></a>3.17.0 - 2016-07-14

...

* Support making bitcoin charges through BitcoinReceiver source object

## <a id="1-17-5"></a>1.17.5 - 2014-12-23
* Adding support for creating file uploads.

## <a id="1-17-4"></a>1.17.4 - 2014-12-15
* Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds

...

* Running operations (`create`, `retrieve`, `all`) on upcoming invoice items now works

## <a id="1-17-1"></a>1.17.1 - 2014-08-01
* Requests now send Content-Type header

## <a id="1-17-0"></a>1.17.0 - 2014-07-29
* Application Fee refunds now a list instead of array
* HHVM now works
* Small bug fixes (thanks @bencromwell & @fastest963)