PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.7
Booking for Appointments and Events Calendar – Amelia v2.4.7
2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / stripe / stripe-php / CHANGELOG.md
ameliabooking / vendor / stripe / stripe-php Last commit date
data 3 years ago lib 7 months ago CHANGELOG.md 1 year ago CONTRIBUTING.md 1 year ago LICENSE 6 years ago OPENAPI_VERSION 1 year ago README.md 1 year ago VERSION 1 year ago composer.json 1 year ago init.php 1 year ago justfile 1 year ago
CHANGELOG.md
2717 lines
1 # Changelog
2
3 ## 17.2.1 - 2025-05-19
4 * [](https://github.com/stripe/stripe-php/pull/1869#1869](https://github.com/stripe/stripe-php/pull/1869](https://github.com/stripe/stripe-php/pull/1869) Fixed type of map parameters(eg. metadata, currency_options) from `StripeObject` to `array<KType, VType>` in all methods.
5 * [](https://github.com/stripe/stripe-php/pull/1866#1866](https://github.com/stripe/stripe-php/pull/1866](https://github.com/stripe/stripe-php/pull/1866) Adds CONTRIBUTING.md
6
7 ## 17.2.0 - 2025-04-30
8
9 This release changes the pinned API version to `2025-04-30.basil`.
10
11 * [](https://github.com/stripe/stripe-php/pull/1839#1839](https://github.com/stripe/stripe-php/pull/1839](https://github.com/stripe/stripe-php/pull/1839) Update generated code
12 * Add support for new value `tax_id_prohibited` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
13 * Add support for `wallet_options` on `Checkout.Session`
14 * Add support for `context` on `Event`
15 * Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Invoice.customer_tax_ids[].type` and `TaxId.type`
16 * Add support for new value `affirm` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
17 * Add support for `pix` on `PaymentMethodConfiguration`
18 * Add support for `klarna` on `PaymentMethodDomain`
19 * Add support for `us_cfpb_data` on `Person`
20 * Add support for `pending_reason` on `Refund`
21 * Change type of `Tax.CalculationLineItem.reference` from `nullable(string)` to `string`
22 * [](https://github.com/stripe/stripe-php/pull/1857#1857](https://github.com/stripe/stripe-php/pull/1857](https://github.com/stripe/stripe-php/pull/1857) Include new PHP 8.3 and 8.4 in CI
23 * [](https://github.com/stripe/stripe-php/pull/1856#1856](https://github.com/stripe/stripe-php/pull/1856](https://github.com/stripe/stripe-php/pull/1856) Faster parallel runner for PHP formatter
24
25 ## 17.1.1 - 2025-04-04
26 * [](https://github.com/stripe/stripe-php/pull/1847#1847](https://github.com/stripe/stripe-php/pull/1847](https://github.com/stripe/stripe-php/pull/1847) Remove stdClass from object shapes
27 * Remove intersection with `stdClass` in resource properties and fixed `instanceof` checks.
28
29 ## 17.1.0 - 2025-04-02
30 * [](https://github.com/stripe/stripe-php/pull/1843#1843](https://github.com/stripe/stripe-php/pull/1843](https://github.com/stripe/stripe-php/pull/1843) Add null type in resource fields to non required objects
31 * Fixes nullable resource properties that were incorrectly set as required in PHPDocs
32
33 ## 17.0.0 - 2025-04-01
34 * [](https://github.com/stripe/stripe-php/pull/1837#1837](https://github.com/stripe/stripe-php/pull/1837](https://github.com/stripe/stripe-php/pull/1837) Better type hints in your editor!!
35 * Added type hints for method parameters
36 * <img width="417" alt="PHPStorm IDE with array type hints" src="https://github.com/user-attachments/assets/e914dcda-354f-4df2-b82e-217ad931e71d">
37 * Improved type hints for resource properties that are not primitive types. Take for example, the invoice settings in Customer resource. Previously, you could not reference inner fields like `custom_fields` on `customer->invoice_settings` without PHPStan complaining. This is now fixed.
38
39 * [](https://github.com/stripe/stripe-php/pull/1818#1818](https://github.com/stripe/stripe-php/pull/1818](https://github.com/stripe/stripe-php/pull/1818) Support for APIs in the new API version 2025-03-31.basil
40
41 This release changes the pinned API version to `2025-03-31.basil`.
42
43 ### ⚠️ Breaking changes due to changes in the Stripe API
44
45 Please review details for the breaking changes and alternatives in the [](https://docs.stripe.com/changelog/acaciaStripe API changelog](https://docs.stripe.com/changelog/acacia](https://docs.stripe.com/changelog/acacia) before upgrading.
46
47 * Remove support for resources `UsageRecordSummary` and `UsageRecord`
48 * Remove support for `create` method on resource `UsageRecord`
49 * Remove support for `all` method on resource `UsageRecordSummary`
50 * Remove support for `upcomingLines` and `upcoming` methods on resource `Invoice`
51 * Remove support for `invoice` on `Charge` and `PaymentIntent`
52 * Remove support for `shipping_details` on `Checkout.Session`
53 * Remove support for `refund` on `CreditNote`
54 * Remove support for `tax_amounts` on `CreditNoteLineItem`, `CreditNote`, and `InvoiceLineItem`
55 * Remove support for `amount_excluding_tax` and `unit_amount_excluding_tax` on `CreditNoteLineItem` and `InvoiceLineItem`
56 * Remove support for `application_fee_amount`, `charge`, `paid_out_of_band`, `paid`, `payment_intent`, `quote`, `subscription`, `subscription_details`, `subscription_proration_date`, `tax`, `total_tax_amounts`, and `transfer_data` on `Invoice`
57 * Remove support for `discount` on `Invoice` and `Subscription`
58 * Remove support for `invoice_item`, `proration_details`, `proration`, `tax_rates`, and `type` on `InvoiceLineItem`
59 * Remove support for `plan`, `price`, and `subscription_item` on `InvoiceItem` and `InvoiceLineItem`
60 * Remove support for `subscription`, `unit_amount_decimal`, and `unit_amount` on `InvoiceItem`
61 * Remove support for `aggregate_usage` on `Plan`
62 * Remove support for `billing_thresholds` on `SubscriptionItem` and `Subscription`
63 * Remove support for `current_period_end` and `current_period_start` on `Subscription`
64
65 ### ⚠️ Other Breaking changes in the SDK
66 * [](https://github.com/stripe/stripe-php/pull/1826#1826](https://github.com/stripe/stripe-php/pull/1826](https://github.com/stripe/stripe-php/pull/1826) configure max_nextwork_retries at the client level
67 * Allow setting `maxNetworkRetries` at the `StripeClient` level via a new argument to the `RequestOptions` constructor
68 * ⚠️ (potentially breaking) a client's configuration for `maxNetworkRetries` is set during client initialization. Subsequent calls to `Stripe::setMaxNetworkRetries()` after client creation **won't** affect that client.
69 * Allow setting `maxNetworkRetries` per-request via the `max_network_retries` config argument. This works for both the service and resource based patterns. In both cases, an explicitly passed value takes precedence over the global (or client) value.
70 * [](https://github.com/stripe/stripe-php/pull/1835#1835](https://github.com/stripe/stripe-php/pull/1835](https://github.com/stripe/stripe-php/pull/1835) Removed the protected method _searchResource as it is no longer used
71 * ⚠️ Removed `_searchResource` method and `Search` trait. Use the public `search` method on `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription` resource.
72 * [](https://github.com/stripe/stripe-php/pull/1832#1832](https://github.com/stripe/stripe-php/pull/1832](https://github.com/stripe/stripe-php/pull/1832) Added requestCollection and requestSearchResult to StripeClientInterface
73 * ⚠️ Added `requestSearchResult`, `requestCollection` to `StripeClientInterface`. Developers building custom StripeClient will now have to implement these new methods.
74 * Refer to our implementation in [](https://github.com/stripe/stripe-php/blob/f65c497d0bc175aaa04538602fd49645f44f9384/lib/BaseStripeClient.php#L259-L315BaseStripeClient](https://github.com/stripe/stripe-php/blob/f65c497d0bc175aaa04538602fd49645f44f9384/lib/BaseStripeClient.php#L259-L315](https://github.com/stripe/stripe-php/blob/f65c497d0bc175aaa04538602fd49645f44f9384/lib/BaseStripeClient.php#L259-L315) for guidance.
75
76
77 ### Additions
78
79 * Add support for new resource `InvoicePayment`
80 * Add support for `all` and `retrieve` methods on resource `InvoicePayment`
81 * Add support for new values `forwarding_api_retryable_upstream_error` and `setup_intent_mobile_wallet_unsupported` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
82 * Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.type`
83 * Add support for new value `last` on enum `Billing.Meter.default_aggregation.formula`
84 * Add support for `presentment_details` on `Charge`, `Checkout.Session`, `PaymentIntent`, and `Refund`
85 * Add support for `optional_items` on `Checkout.Session` and `PaymentLink`
86 * Add support for `permissions` on `Checkout.Session`
87 * Add support for new value `custom` on enum `Checkout.Session.ui_mode`
88 * Add support for new values `billie`, `nz_bank_account`, and `satispay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
89 * Add support for `refunds` on `CreditNote`
90 * Add support for `total_taxes` on `CreditNote` and `Invoice`
91 * Add support for `taxes` on `CreditNoteLineItem` and `InvoiceLineItem`
92 * Add support for `checkout_session` on `CustomerBalanceTransaction`
93 * Add support for new values `checkout_session_subscription_payment_canceled` and `checkout_session_subscription_payment` on enum `CustomerBalanceTransaction.type`
94 * Add support for new value `invoice.overpaid` on enum `Event.type`
95 * Add support for `amount_overpaid`, `confirmation_secret`, and `payments` on `Invoice`
96 * Add support for `parent` on `InvoiceItem`, `InvoiceLineItem`, and `Invoice`
97 * Add support for new values `klarna` and `nz_bank_account` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types`
98 * Add support for `pricing` on `InvoiceItem` and `InvoiceLineItem`
99 * Add support for new value `network_fallback` on enum `Issuing.Authorization.request_history[].reason`
100 * Add support for new value `expired` on enum `Issuing.Authorization.status`
101 * Add support for new value `expired` on enum `PaymentIntent.cancellation_reason`
102 * Add support for new values `billie` and `satispay` on enum `PaymentLink.payment_method_types`
103 * Add support for `billie`, `nz_bank_account`, and `satispay` on `PaymentMethodConfiguration` and `PaymentMethod`
104 * Add support for new value `canceled` on enum `Review.closed_reason`
105 * Add support for `current_period_end` and `current_period_start` on `SubscriptionItem`
106 * Add support for `wifi` on `Terminal.Configuration`
107
108 ## 16.6.0 - 2025-02-24
109 * [](https://github.com/stripe/stripe-php/pull/1809#1809](https://github.com/stripe/stripe-php/pull/1809](https://github.com/stripe/stripe-php/pull/1809) Update generated code
110 * Add support for `priority` on `Billing.CreditGrant`
111 * Add support for `collected_information` on `Checkout.Session`
112 * [](https://github.com/stripe/stripe-php/pull/1816#1816](https://github.com/stripe/stripe-php/pull/1816](https://github.com/stripe/stripe-php/pull/1816) add codeowners file
113
114 ## 16.5.1 - 2025-02-07
115 * [](https://github.com/stripe/stripe-php/pull/1811#1811](https://github.com/stripe/stripe-php/pull/1811](https://github.com/stripe/stripe-php/pull/1811) Include a useful error message when a null byte is found in the URL path
116 * [](https://github.com/stripe/stripe-php/pull/1810#1810](https://github.com/stripe/stripe-php/pull/1810](https://github.com/stripe/stripe-php/pull/1810) Make `httpClient()` a public, static method
117
118 ## 16.5.0 - 2025-01-27
119 * [](https://github.com/stripe/stripe-php/pull/1804#1804](https://github.com/stripe/stripe-php/pull/1804](https://github.com/stripe/stripe-php/pull/1804) Update generated code
120 * Add support for `close` method on resource `Treasury.FinancialAccount`
121 * Add support for `discounts` on `Checkout.Session`
122 * Add support for new value `pay_by_bank` on enum `PaymentLink.payment_method_types[]`
123 * Add support for `pay_by_bank` on `PaymentMethodConfiguration` and `PaymentMethod`
124 * Add support for new value `pay_by_bank` on enum `PaymentMethod.type`
125 * Add support for `is_default` and `nickname` on `Treasury.FinancialAccount`
126 * [](https://github.com/stripe/stripe-php/pull/1805#1805](https://github.com/stripe/stripe-php/pull/1805](https://github.com/stripe/stripe-php/pull/1805) Restore testCoreEventsGet generated test
127 * [](https://github.com/stripe/stripe-php/pull/1807#1807](https://github.com/stripe/stripe-php/pull/1807](https://github.com/stripe/stripe-php/pull/1807) minor justfile fixes
128 * [](https://github.com/stripe/stripe-php/pull/1806#1806](https://github.com/stripe/stripe-php/pull/1806](https://github.com/stripe/stripe-php/pull/1806) Added CONTRIBUTING.md file
129 * [](https://github.com/stripe/stripe-php/pull/1802#1802](https://github.com/stripe/stripe-php/pull/1802](https://github.com/stripe/stripe-php/pull/1802) ensure dependencies are installed for format and test recipes
130 * [](https://github.com/stripe/stripe-php/pull/1801#1801](https://github.com/stripe/stripe-php/pull/1801](https://github.com/stripe/stripe-php/pull/1801) Add justfile, remove coveralls, and fix AUTOLOAD in CI
131 * [](https://github.com/stripe/stripe-php/pull/1797#1797](https://github.com/stripe/stripe-php/pull/1797](https://github.com/stripe/stripe-php/pull/1797) Added pull request template
132
133 ## 16.4.0 - 2024-12-18
134 * [](https://github.com/stripe/stripe-php/pull/1793#1793](https://github.com/stripe/stripe-php/pull/1793](https://github.com/stripe/stripe-php/pull/1793) This release changes the pinned API version to `2024-12-18.acacia`.
135 * Add support for new values `payout_minimum_balance_hold` and `payout_minimum_balance_release` on enum `BalanceTransaction.type`
136 * Add support for `allow_redisplay` on `Card` and `Source`
137 * Add support for `regulated_status` on `Card`
138 * Add support for new value `request_signature` on enum `Forwarding.Request.replacements[]`
139 * Change type of `LineItem.description` from `string` to `nullable(string)`
140 * Add support for new values `al_tin`, `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enum `TaxId.type`
141
142 ## 16.3.0 - 2024-11-20
143 * [](https://github.com/stripe/stripe-php/pull/1786#1786](https://github.com/stripe/stripe-php/pull/1786](https://github.com/stripe/stripe-php/pull/1786) This release changes the pinned API version to `2024-11-20.acacia`.
144 * Add support for `respond` test helper method on resource `Issuing.Authorization`
145 * Add support for `adaptive_pricing` on `Checkout.Session`
146 * Add support for new value `subscribe` on enums `Checkout.Session.submit_type` and `PaymentLink.submit_type`
147 * Add support for new value `financial_account_statement` on enum `File.purpose`
148 * Add support for `fraud_challenges` and `verified_by_fraud_challenge` on `Issuing.Authorization`
149 * Add support for `trace_id` on `Payout`
150 * Add support for new value `li_vat` on enum `TaxId.type`
151 * Add support for new value `service_tax` on enum `TaxRate.tax_type`
152 * Change type of `Treasury.InboundTransfer.origin_payment_method` from `string` to `nullable(string)`
153
154 ## 16.2.0 - 2024-10-29
155 * [](https://github.com/stripe/stripe-php/pull/1772#1772](https://github.com/stripe/stripe-php/pull/1772](https://github.com/stripe/stripe-php/pull/1772) This release changes the pinned API version to `2024-10-28.acacia`.
156 * Add support for new resource `V2.EventDestinations`
157 * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations`
158 * Add support for `submit_card` test helper method on resource `Issuing.Card`
159 * Add support for `groups` on `Account`
160 * Add support for `enhanced_eligibility_types` on `Dispute`
161 * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enum `Event.type`
162 * Add support for `metadata` on `Forwarding.Request`
163 * Add support for new value `alma` on enum `PaymentLink.payment_method_types[]`
164 * Add support for `alma` on `PaymentMethodConfiguration` and `PaymentMethod`
165 * Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethod`
166 * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enum `PaymentMethod.type`
167 * Add support for `amazon_pay` on `PaymentMethodDomain`
168 * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enum `TaxId.type`
169 * Add support for `flat_amount` and `rate_type` on `TaxRate`
170 * Add support for new value `retail_delivery_fee` on enum `TaxRate.tax_type`
171
172 ## 16.1.1 - 2024-10-18
173 * [](https://github.com/stripe/stripe-php/pull/1775#1775](https://github.com/stripe/stripe-php/pull/1775](https://github.com/stripe/stripe-php/pull/1775) Deserialize into correct v2 EventData types
174 * Fixes a bug where v2 EventData was not being deserialized into the appropriate type for `V1BillingMeterErrorReportTriggeredEvent` and `V1BillingMeterNoMeterFoundEvent`
175 * [](https://github.com/stripe/stripe-php/pull/1776#1776](https://github.com/stripe/stripe-php/pull/1776](https://github.com/stripe/stripe-php/pull/1776) update object tags for meter-related classes
176
177 - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server.
178 * [](https://github.com/stripe/stripe-php/pull/1773#1773](https://github.com/stripe/stripe-php/pull/1773](https://github.com/stripe/stripe-php/pull/1773) Clean up examples
179 * [](https://github.com/stripe/stripe-php/pull/1771#1771](https://github.com/stripe/stripe-php/pull/1771](https://github.com/stripe/stripe-php/pull/1771) Renamed example file names
180
181 ## 16.1.0 - 2024-10-03
182 * [](https://github.com/stripe/stripe-php/pull/1765#1765](https://github.com/stripe/stripe-php/pull/1765](https://github.com/stripe/stripe-php/pull/1765) Update generated code
183 * Remove the support for resource `Margin` that was accidentally made public in the last release
184
185 ## 16.0.0 - 2024-10-01
186 * [](https://github.com/stripe/stripe-php/pull/1756#1756](https://github.com/stripe/stripe-php/pull/1756](https://github.com/stripe/stripe-php/pull/1756) Support for APIs in the new API version 2024-09-30.acacia
187
188 This release changes the pinned API version to `2024-09-30.acacia`. Please read the [](https://stripe.com/docs/upgrades#2024-09-30.acaciaAPI Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading.
189
190 ### ⚠️ Breaking changes
191
192 * Rename `usage_threshold_config` to `usage_threshold` on `Billing.Alert`
193 * Remove support for `filter` on `Billing.Alert`. Use the filters on the `usage_threshold` instead
194
195
196 ### Additions
197
198 * Add support for new value `international_transaction` on enum `Treasury.ReceivedCredit.failure_code`
199 * Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` under the [](https://docs.corp.stripe.com/api-v2-overviewv2 namespace ](https://docs.corp.stripe.com/api-v2-overview](https://docs.corp.stripe.com/api-v2-overview)
200 * Add new method `parseThinEvent()` on the `StripeClient` class to parse [](https://docs.corp.stripe.com/event-destinations#events-overviewthin events](https://docs.corp.stripe.com/event-destinations#events-overview](https://docs.corp.stripe.com/event-destinations#events-overview).
201 * Add a new method [](https://github.com/stripe/stripe-node/tree/master?tab=readme-ov-file#custom-requestsrawRequest()](https://github.com/stripe/stripe-node/tree/master?tab=readme-ov-file#custom-requests](https://github.com/stripe/stripe-node/tree/master?tab=readme-ov-file#custom-requests) 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.
202
203
204 ## 15.10.0 - 2024-09-18
205 * [](https://github.com/stripe/stripe-php/pull/1747#1747](https://github.com/stripe/stripe-php/pull/1747](https://github.com/stripe/stripe-php/pull/1747) Update generated code
206 * Add support for new value `international_transaction` on enum `Treasury.ReceivedDebit.failure_code`
207 * [](https://github.com/stripe/stripe-php/pull/1745#1745](https://github.com/stripe/stripe-php/pull/1745](https://github.com/stripe/stripe-php/pull/1745) Update generated code
208 * Add support for new value `terminal_reader_invalid_location_for_activation` on enum `StripeError.code`
209 * Add support for `automatically_finalizes_at` on `Invoice`
210
211 ## 15.9.0 - 2024-09-12
212 * [](https://github.com/stripe/stripe-php/pull/1737#1737](https://github.com/stripe/stripe-php/pull/1737](https://github.com/stripe/stripe-php/pull/1737) Update generated code
213 * Add support for new resource `InvoiceRenderingTemplate`
214 * Add support for `all`, `archive`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
215
216 ## 15.8.0 - 2024-08-29
217 * [](https://github.com/stripe/stripe-php/pull/1742#1742](https://github.com/stripe/stripe-php/pull/1742](https://github.com/stripe/stripe-php/pull/1742) Generate SDK for OpenAPI spec version 1230
218 * Add support for new value `issuing_regulatory_reporting` on enum `File.purpose`
219 * Add support for new value `hr_oib` on enum `TaxId.type`
220 * Add support for `status_details` on `TestHelpers.TestClock`
221
222 ## 15.7.0 - 2024-08-15
223 * [](https://github.com/stripe/stripe-php/pull/1736#1736](https://github.com/stripe/stripe-php/pull/1736](https://github.com/stripe/stripe-php/pull/1736) Update generated code
224
225
226 ## 15.6.0 - 2024-08-08
227 * [](https://github.com/stripe/stripe-php/pull/1729#1729](https://github.com/stripe/stripe-php/pull/1729](https://github.com/stripe/stripe-php/pull/1729) Update generated code
228 * Add support for `activate`, `all`, `archive`, `create`, `deactivate`, and `retrieve` methods on resource `Billing.Alert`
229 * Add support for `retrieve` method on resource `Tax.Calculation`
230 * Add support for new value `invalid_mandate_reference_prefix_format` on enum `StripeError.code`
231 * Add support for `related_customer` on `Identity.VerificationSession`
232 * Add support for new value `financial_addresses.aba.forwarding` on enums `Treasury.FinancialAccount.active_features[]`, `Treasury.FinancialAccount.pending_features[]`, and `Treasury.FinancialAccount.restricted_features[]`
233
234 ## 15.5.0 - 2024-08-01
235 * [](https://github.com/stripe/stripe-php/pull/1727#1727](https://github.com/stripe/stripe-php/pull/1727](https://github.com/stripe/stripe-php/pull/1727) Update generated code
236 * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
237 * Add support for new value `charge_exceeds_transaction_limit` on enum `StripeError.code`
238 * Add support for new value `billing.alert.triggered` on enum `Event.type`
239
240 ## 15.4.0 - 2024-07-25
241 * [](https://github.com/stripe/stripe-php/pull/1726#1726](https://github.com/stripe/stripe-php/pull/1726](https://github.com/stripe/stripe-php/pull/1726) Update generated code
242 * Add support for `update` method on resource `Checkout.Session`
243 * Add support for new values `invoice.overdue` and `invoice.will_be_due` on enum `Event.type`
244 * Add support for `twint` on `PaymentMethodConfiguration`
245
246 ## 15.3.0 - 2024-07-18
247 * [](https://github.com/stripe/stripe-php/pull/1724#1724](https://github.com/stripe/stripe-php/pull/1724](https://github.com/stripe/stripe-php/pull/1724) Update generated code
248 * Add support for new value `issuing_dispute.funds_rescinded` on enum `Event.type`
249 * Add support for new value `stripe_s700` on enum `Terminal.Reader.device_type`
250 * [](https://github.com/stripe/stripe-php/pull/1722#1722](https://github.com/stripe/stripe-php/pull/1722](https://github.com/stripe/stripe-php/pull/1722) Update changelog
251
252 ## 15.2.0 - 2024-07-11
253 * [](https://github.com/stripe/stripe-php/pull/1721#1721](https://github.com/stripe/stripe-php/pull/1721](https://github.com/stripe/stripe-php/pull/1721) Update generated code
254 * ⚠️ Remove support for values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` from enum `StripeError.code`.
255 * ⚠️ Remove support for value `payment_intent_fx_quote_invalid` from enum `StripeError.code`. The was mistakenly released last week.
256 * Add support for `payment_method_options` on `ConfirmationToken`
257
258 ## 15.1.0 - 2024-07-05
259 * [](https://github.com/stripe/stripe-php/pull/1718#1718](https://github.com/stripe/stripe-php/pull/1718](https://github.com/stripe/stripe-php/pull/1718) Update generated code
260 * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
261 * Add support for new value `payment_intent_fx_quote_invalid` on enum `StripeError.code`
262 * Add support for new values `multibanco`, `twint`, and `zip` on enum `PaymentLink.payment_method_types[]`
263 * Add support for `posted_at` on `Tax.Transaction`
264 * Add support for `reboot_window` on `Terminal.Configuration`
265
266 ## 15.0.0 - 2024-06-24
267 * [](https://github.com/stripe/stripe-php/pull/1714#1714](https://github.com/stripe/stripe-php/pull/1714](https://github.com/stripe/stripe-php/pull/1714)
268
269 This release changes the pinned API version to 2024-06-20. Please read the [](https://stripe.com/docs/upgrades#2024-06-20API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
270
271 ### ⚠️ Breaking changes
272
273 * Remove the unused resource `PlatformTaxFee`
274 * Remove the protected method `_searchResource` on resources Charge, Customer, Invoice, PaymentIntent, Price, Product, and Subscription as it is no longer used.
275
276 ### Additions
277
278 * Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
279 * Add support for `fleet` and `fuel` on `Issuing.Authorization`
280 * Add support for new value `ch_uid` on enum `TaxId.type`
281
282 ## 14.10.0 - 2024-06-13
283 * [](https://github.com/stripe/stripe-php/pull/1706#1706](https://github.com/stripe/stripe-php/pull/1706](https://github.com/stripe/stripe-php/pull/1706) Update generated code
284 * Add support for `multibanco` on `PaymentMethodConfiguration` and `PaymentMethod`
285 * Add support for `twint` on `PaymentMethod`
286 * Add support for new values `multibanco` and `twint` on enum `PaymentMethod.type`
287 * Add support for `invoice_settings` on `Subscription`
288 * Add support for new value `de_stn` on enum `TaxId.type`
289
290 ## 14.9.0 - 2024-05-30
291 * [](https://github.com/stripe/stripe-php/pull/1702#1702](https://github.com/stripe/stripe-php/pull/1702](https://github.com/stripe/stripe-php/pull/1702) Update generated code
292 * Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enum `Event.type`
293 * [](https://github.com/stripe/stripe-php/pull/1701#1701](https://github.com/stripe/stripe-php/pull/1701](https://github.com/stripe/stripe-php/pull/1701) Added PHPDocs for `create`, `update`, `delete`, `all`, `retrieve` methods after moving them out of traits.
294 * [](https://github.com/stripe/stripe-php/pull/1700#1700](https://github.com/stripe/stripe-php/pull/1700](https://github.com/stripe/stripe-php/pull/1700) Add optional appInfo to StripeClient config
295 * `StripeClient` can now accept `$appInfo` as a `$config` option, so AppInfo can be set per-client. If not passed in, will fall back on the global AppInfo set by `Stripe::setAppInfo()`.
296 * The config expects `$appInfo` to be of type `array{name: string, version?: string, url?: string, partner_id?: string}`
297
298 ## 14.8.0 - 2024-05-23
299 * [](https://github.com/stripe/stripe-php/pull/1698#1698](https://github.com/stripe/stripe-php/pull/1698](https://github.com/stripe/stripe-php/pull/1698) Update generated code
300 * Add support for new value `terminal_reader_invalid_location_for_payment` on enum `StripeError.code`
301 * [](https://github.com/stripe/stripe-php/pull/1697#1697](https://github.com/stripe/stripe-php/pull/1697](https://github.com/stripe/stripe-php/pull/1697) Rename section for object type generation
302
303 ## 14.7.0 - 2024-05-16
304 * [](https://github.com/stripe/stripe-php/pull/1694#1694](https://github.com/stripe/stripe-php/pull/1694](https://github.com/stripe/stripe-php/pull/1694) Update generated code
305 * Add support for `fee_source` on `ApplicationFee`
306 * Add support for `loss_reason` on `Issuing.Dispute`
307 * Add support for `application_fee_amount` and `application_fee` on `Payout`
308 * Add support for `stripe_s700` on `Terminal.Configuration`
309
310 ## 14.6.0 - 2024-05-09
311 * [](https://github.com/stripe/stripe-php/pull/1692#1692](https://github.com/stripe/stripe-php/pull/1692](https://github.com/stripe/stripe-php/pull/1692) Update generated code
312 * Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
313 * Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enum `Event.type`
314 * Add support for `allow_redisplay` on `PaymentMethod`
315 * Add support for `tracking_details` on `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
316
317 ## 14.5.0 - 2024-05-02
318 * [](https://github.com/stripe/stripe-php/pull/1688#1688](https://github.com/stripe/stripe-php/pull/1688](https://github.com/stripe/stripe-php/pull/1688) Update generated code
319 * Add support for new value `shipping_address_invalid` on enum `StripeError.code`
320 * Add support for `ship_from_details` on `Tax.Calculation` and `Tax.Transaction`
321
322 ## 14.4.0 - 2024-04-25
323 * [](https://github.com/stripe/stripe-php/pull/1684#1684](https://github.com/stripe/stripe-php/pull/1684](https://github.com/stripe/stripe-php/pull/1684) Update generated code
324 * Change type of `Entitlements.ActiveEntitlement.feature` from `string` to `expandable($Entitlements.Feature)`
325 * Add support for `mobilepay` on `PaymentMethodConfiguration`
326
327 ## 14.3.0 - 2024-04-18
328 * [](https://github.com/stripe/stripe-php/pull/1681#1681](https://github.com/stripe/stripe-php/pull/1681](https://github.com/stripe/stripe-php/pull/1681) Update generated code
329 * Add support for `create_preview` method on resource `Invoice`
330 * Add support for `saved_payment_method_options` on `Checkout.Session`
331 * [](https://github.com/stripe/stripe-php/pull/1682#1682](https://github.com/stripe/stripe-php/pull/1682](https://github.com/stripe/stripe-php/pull/1682) Added @throws to autoPagingIterator. Fixes [](https://github.com/stripe/stripe-php/issues/1678#1678](https://github.com/stripe/stripe-php/issues/1678](https://github.com/stripe/stripe-php/issues/1678)
332
333 ## 14.2.0 - 2024-04-16
334 * [](https://github.com/stripe/stripe-php/pull/1680#1680](https://github.com/stripe/stripe-php/pull/1680](https://github.com/stripe/stripe-php/pull/1680) Update generated code
335 * Add support for new resource `Entitlements.ActiveEntitlementSummary`
336 * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `Event.type`
337 * Remove support for `config` on `Forwarding.Request`. This field is no longer used by the Forwarding Request API.
338 * Add support for `swish` on `PaymentMethodConfiguration`
339
340 ## 14.1.0 - 2024-04-11
341 * [](https://github.com/stripe/stripe-php/pull/1677#1677](https://github.com/stripe/stripe-php/pull/1677](https://github.com/stripe/stripe-php/pull/1677) Update generated code
342 * Add support for new values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` on enum `StripeError.code`
343 * Change type of `Billing.MeterEventAdjustment.cancel` from `BillingMeterResourceBillingMeterEventAdjustmentCancel` to `nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)`
344 * Add support for `amazon_pay` on `PaymentMethodConfiguration` and `PaymentMethod`
345 * Add support for new value `amazon_pay` on enum `PaymentMethod.type`
346 * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `TaxId.type`
347
348 ## 14.0.0 - 2024-04-10
349 * [](https://github.com/stripe/stripe-php/pull/1673#1673](https://github.com/stripe/stripe-php/pull/1673](https://github.com/stripe/stripe-php/pull/1673)
350
351 * This release changes the pinned API version to `2024-04-10`. Please read the [](https://stripe.com/docs/upgrades#2024-04-10API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.
352
353 ### ⚠️ Breaking changes
354
355 * Rename `features` to `marketing_features` on `Product`
356 * Do not force resolution to IPv4 - Forcing IPv4 was causing hard-to-understand failures for users in IPv6-only environments. If you want to force IPv4 yourself, you can do so by telling the API client to use a CurlClient other than the default
357 ```php
358 $curl = new \Stripe\HttpClient\CurlClient([
359 CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4
360 ]);
361 \Stripe\ApiRequestor::setHttpClient($curl);
362 ```
363
364 #### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
365
366 * Remove the below deprecated values on the enum `BalanceTransaction.Type`
367 * `obligation_inbound`
368 * `obligation_payout`
369 * `obligation_payout_failure`
370 * `obligation_reversal_outbound`
371 * Remove the deprecated value `various` on the enum `Climate.Supplier.RemovalPathway`
372 * Remove deprecated events
373 * `invoiceitem.updated`
374 * `order.created`
375 * `recipient.created`
376 * `recipient.deleted`
377 * `recipient.updated`
378 * `sku.created`
379 * `sku.deleted`
380 * `sku.updated`
381 * Remove the deprecated value `service_tax` on the enum `TaxRate.TaxType`
382 * Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration`
383 * Remove the legacy field `rendering_options` in `Invoice`. Use `rendering` instead.
384
385 ## 13.18.0 - 2024-04-09
386 * [](https://github.com/stripe/stripe-php/pull/1675#1675](https://github.com/stripe/stripe-php/pull/1675](https://github.com/stripe/stripe-php/pull/1675) Update generated code
387 * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
388 * Add support for `all` and `retrieve` methods on resource `ActiveEntitlement`
389 * Add support for `all`, `create`, `retrieve`, and `update` methods on resource `Feature`
390 * Add support for new value `none` on enum `Account.type`
391 * Add support for `cancel`, `event_name`, and `type` on `Billing.MeterEventAdjustment`
392
393 ## 13.17.0 - 2024-04-04
394 * [](https://github.com/stripe/stripe-php/pull/1670#1670](https://github.com/stripe/stripe-php/pull/1670](https://github.com/stripe/stripe-php/pull/1670) Update generated code
395 * Add support for `subscription_item` on `Discount`
396 * Add support for `email` and `phone` on `Identity.VerificationReport`
397 * Add support for `verification_flow` on `Identity.VerificationReport` and `Identity.VerificationSession`
398 * Add support for new value `verification_flow` on enums `Identity.VerificationReport.type` and `Identity.VerificationSession.type`
399 * Add support for `provided_details` on `Identity.VerificationSession`
400 * Change type of `Invoice.discounts` from `nullable(array(expandable(deletable($Discount))))` to `array(expandable(deletable($Discount)))`
401 * Add support for `zip` on `PaymentMethodConfiguration`
402 * Add support for `discounts` on `SubscriptionItem` and `Subscription`
403 * Add support for new value `mobile_phone_reader` on enum `Terminal.Reader.device_type`
404
405 ## 13.16.0 - 2024-03-28
406 * [](https://github.com/stripe/stripe-php/pull/1666#1666](https://github.com/stripe/stripe-php/pull/1666](https://github.com/stripe/stripe-php/pull/1666) Update generated code
407 * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
408 * Add support for `all`, `create`, `deactivate`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
409 * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
410 * Add support for `meter` on `Plan`
411
412 ## 13.15.0 - 2024-03-21
413 * [](https://github.com/stripe/stripe-php/pull/1664#1664](https://github.com/stripe/stripe-php/pull/1664](https://github.com/stripe/stripe-php/pull/1664) Update generated code
414 * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
415 * Add support for `retrieve` method on resource `ConfirmationToken`
416 * Add support for `all`, `create`, and `retrieve` methods on resource `Request`
417 * Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enum `StripeError.code`
418 * Add support for `mobilepay` on `PaymentMethod`
419 * Add support for new value `mobilepay` on enum `PaymentMethod.type`
420 * Add support for `name` on `Terminal.Configuration`
421
422 ## 13.14.0 - 2024-03-14
423 * [](https://github.com/stripe/stripe-php/pull/1660#1660](https://github.com/stripe/stripe-php/pull/1660](https://github.com/stripe/stripe-php/pull/1660) Update generated code
424 * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
425 * Add support for `all`, `create`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
426 * Add support for `all` and `retrieve` methods on resource `PhysicalBundle`
427 * Add support for `personalization_design` on `Issuing.Card`
428
429 ## 13.13.0 - 2024-02-29
430 * [](https://github.com/stripe/stripe-php/pull/1654#1654](https://github.com/stripe/stripe-php/pull/1654](https://github.com/stripe/stripe-php/pull/1654) Update generated code
431 * Change type of `Identity.VerificationSession.type` from `nullable(enum('document'|'id_number'))` to `enum('document'|'id_number')`
432 * Add resources `Application`, `ConnectCollectionTransfer`, `PlatformTaxFee`, `ReserveTransaction`, `SourceMandateNotification`, and `TaxDeductedAtSource`. These classes have no methods on them, and are used to provide more complete types for PHPDocs.
433 * [](https://github.com/stripe/stripe-php/pull/1657#1657](https://github.com/stripe/stripe-php/pull/1657](https://github.com/stripe/stripe-php/pull/1657) Update readme to use addBetaVersion
434
435 ## 13.12.0 - 2024-02-22
436 * [](https://github.com/stripe/stripe-php/pull/1651#1651](https://github.com/stripe/stripe-php/pull/1651](https://github.com/stripe/stripe-php/pull/1651) Update generated code
437 * Add support for `client_reference_id` on `Identity.VerificationReport` and `Identity.VerificationSession`
438 * Remove support for value `service_tax` from enum `TaxRate.tax_type`
439 * [](https://github.com/stripe/stripe-php/pull/1650#1650](https://github.com/stripe/stripe-php/pull/1650](https://github.com/stripe/stripe-php/pull/1650) Add TaxIds API
440 * Add support for `all`, `create`, `delete`, and `retrieve` methods on resource `TaxId`
441 * The `instanceUrl` function on `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path.
442
443 ## 13.11.0 - 2024-02-15
444 * [](https://github.com/stripe/stripe-php/pull/1639#1639](https://github.com/stripe/stripe-php/pull/1639](https://github.com/stripe/stripe-php/pull/1639) Update generated code
445 * Add support for `networks` on `Card`
446 * Add support for new value `financial_connections.account.refreshed_ownership` on enum `Event.type`
447 * [](https://github.com/stripe/stripe-php/pull/1648#1648](https://github.com/stripe/stripe-php/pull/1648](https://github.com/stripe/stripe-php/pull/1648) Remove broken methods on CustomerCashBalanceTransaction
448 * Bugfix: remove support for `CustomerCashBalanceTransaction::all` and `CustomerCashBalanceTransaction::retrieve`. These methods were included in the library unintentionally and never functioned.
449 * [](https://github.com/stripe/stripe-php/pull/1647#1647](https://github.com/stripe/stripe-php/pull/1647](https://github.com/stripe/stripe-php/pull/1647) Fix \Stripe\Tax\Settings::update
450 * [](https://github.com/stripe/stripe-php/pull/1646#1646](https://github.com/stripe/stripe-php/pull/1646](https://github.com/stripe/stripe-php/pull/1646) Add more specific PHPDoc and Psalm type for RequestOptions arrays on services
451
452 ## 13.10.0 - 2024-02-01
453 * [](https://github.com/stripe/stripe-php/pull/1636#1636](https://github.com/stripe/stripe-php/pull/1636](https://github.com/stripe/stripe-php/pull/1636) Update generated code
454 * Add support for new value `swish` on enum `PaymentLink.payment_method_types[]`
455 * Add support for `swish` on `PaymentMethod`
456 * Add support for new value `swish` on enum `PaymentMethod.type`
457 * Add support for `jurisdiction_level` on `TaxRate`
458 * Change type of `Terminal.Reader.status` from `string` to `enum('offline'|'online')`
459 * [](https://github.com/stripe/stripe-php/pull/1633#1633](https://github.com/stripe/stripe-php/pull/1633](https://github.com/stripe/stripe-php/pull/1633) Update generated code
460 * Add support for `issuer` on `Invoice`
461 * Add support for `customer_balance` on `PaymentMethodConfiguration`
462 * [](https://github.com/stripe/stripe-php/pull/1630#1630](https://github.com/stripe/stripe-php/pull/1630](https://github.com/stripe/stripe-php/pull/1630) Add paginated requests helper function and use in Search and All
463
464 ## 13.9.0 - 2024-01-12
465 * [](https://github.com/stripe/stripe-php/pull/1629#1629](https://github.com/stripe/stripe-php/pull/1629](https://github.com/stripe/stripe-php/pull/1629) Update generated code
466 * Add support for new resource `CustomerSession`
467 * Add support for `create` method on resource `CustomerSession`
468 * Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransaction.type`
469 * Add support for `billing_cycle_anchor_config` on `Subscription`
470
471 ## 13.8.0 - 2024-01-04
472 * [](https://github.com/stripe/stripe-php/pull/1627#1627](https://github.com/stripe/stripe-php/pull/1627](https://github.com/stripe/stripe-php/pull/1627) Update generated code
473 * Add support for `retrieve` method on resource `Tax.Registration`
474
475 ## 13.7.0 - 2023-12-22
476 * [](https://github.com/stripe/stripe-php/pull/1621#1621](https://github.com/stripe/stripe-php/pull/1621](https://github.com/stripe/stripe-php/pull/1621) Update generated code
477 * Add support for new resource `FinancialConnections.Transaction`
478 * Add support for `all` and `retrieve` methods on resource `Transaction`
479 * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
480 * Add support for new value `financial_connections.account.refreshed_transactions` on enum `Event.type`
481 * Add support for `subscriptions` and `transaction_refresh` on `FinancialConnections.Account`
482 * Add support for new value `transactions` on enum `FinancialConnections.Session.prefetch[]`
483 * Add support for `revolut_pay` on `PaymentMethodConfiguration`
484 * Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration`
485 * Change type of `Quote.invoice_settings` from `nullable(InvoiceSettingQuoteSetting)` to `InvoiceSettingQuoteSetting`
486 * Add support for `destination_details` on `Refund`
487
488 ## 13.6.0 - 2023-12-07
489 * [](https://github.com/stripe/stripe-php/pull/1613#1613](https://github.com/stripe/stripe-php/pull/1613](https://github.com/stripe/stripe-php/pull/1613) Update generated code
490 * Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enum `StripeError.code`
491 * Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransaction.type`
492 * Remove support for value `various` from enum `Climate.Supplier.removal_pathway`
493 * Add support for `inactive_message` and `restrictions` on `PaymentLink`
494 * [](https://github.com/stripe/stripe-php/pull/1612#1612](https://github.com/stripe/stripe-php/pull/1612](https://github.com/stripe/stripe-php/pull/1612) Report usage of .save and StripeClient
495 * Reports uses of the deprecated `.save` and of `StripeClient` in `X-Stripe-Client-Telemetry`. (You can disable telemetry via `\Stripe\Stripe::setEnableTelemetry(false);`, see the [](https://github.com/stripe/stripe-php/blob/master/README.md#telemetryREADME](https://github.com/stripe/stripe-php/blob/master/README.md#telemetry](https://github.com/stripe/stripe-php/blob/master/README.md#telemetry).)
496
497 ## 13.5.0 - 2023-11-30
498 * [](https://github.com/stripe/stripe-php/pull/1611#1611](https://github.com/stripe/stripe-php/pull/1611](https://github.com/stripe/stripe-php/pull/1611) Update generated code
499 * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
500 * Add support for `all`, `cancel`, `create`, `retrieve`, and `update` methods on resource `Order`
501 * Add support for `all` and `retrieve` methods on resources `Product` and `Supplier`
502 * Add support for new value `financial_connections_account_inactive` on enum `StripeError.code`
503 * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransaction.type`
504 * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `Event.type`
505
506 ## 13.4.0 - 2023-11-21
507 * [](https://github.com/stripe/stripe-php/pull/1608#1608](https://github.com/stripe/stripe-php/pull/1608](https://github.com/stripe/stripe-php/pull/1608) Update generated code
508 Add support for `transferred_to_balance` to `CustomerCashBalanceTransaction`
509 * [](https://github.com/stripe/stripe-php/pull/1605#1605](https://github.com/stripe/stripe-php/pull/1605](https://github.com/stripe/stripe-php/pull/1605) Update generated code
510 * Add support for `network_data` on `Issuing.Transaction`
511
512 ## 13.3.0 - 2023-11-09
513 * [](https://github.com/stripe/stripe-php/pull/1603#1603](https://github.com/stripe/stripe-php/pull/1603](https://github.com/stripe/stripe-php/pull/1603) Update generated code
514 * Add support for new value `terminal_reader_hardware_fault` on enum `StripeError.code`
515
516 ## 13.2.1 - 2023-11-06
517 * [](https://github.com/stripe/stripe-php/pull/1602#1602](https://github.com/stripe/stripe-php/pull/1602](https://github.com/stripe/stripe-php/pull/1602) Fix error when "id" is not a string.
518
519 ## 13.2.0 - 2023-11-02
520 * [](https://github.com/stripe/stripe-php/pull/1599#1599](https://github.com/stripe/stripe-php/pull/1599](https://github.com/stripe/stripe-php/pull/1599) Update generated code
521 * Add support for new resource `Tax.Registration`
522 * Add support for `all`, `create`, and `update` methods on resource `Registration`
523 * Add support for new value `token_card_network_invalid` on enum `StripeError.code`
524 * Add support for new value `payment_unreconciled` on enum `BalanceTransaction.type`
525 * Add support for `revolut_pay` on `PaymentMethod`
526 * Add support for new value `revolut_pay` on enum `PaymentMethod.type`
527
528 ## 13.1.0 - 2023-10-26
529 * [](https://github.com/stripe/stripe-php/pull/1595#1595](https://github.com/stripe/stripe-php/pull/1595](https://github.com/stripe/stripe-php/pull/1595) Update generated code
530 * Add support for new value `balance_invalid_parameter` on enum `StripeError.code`
531
532 ## 13.0.0 - 2023-10-16
533 * This release changes the pinned API version to `2023-10-16`. Please read the [](https://stripe.com/docs/upgrades#2023-10-16API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-php` package.
534 * [](https://github.com/stripe/stripe-php/pull/1593#1593](https://github.com/stripe/stripe-php/pull/1593](https://github.com/stripe/stripe-php/pull/1593) Update generated code
535 - Added `additional_tos_acceptances` field on `Person`
536
537 ## 12.8.0 - 2023-10-16
538 * [](https://github.com/stripe/stripe-php/pull/1590#1590](https://github.com/stripe/stripe-php/pull/1590](https://github.com/stripe/stripe-php/pull/1590) Update generated code
539 * Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `Event.type`
540
541 ## 12.7.0 - 2023-10-11
542 * [](https://github.com/stripe/stripe-php/pull/1589#1589](https://github.com/stripe/stripe-php/pull/1589](https://github.com/stripe/stripe-php/pull/1589) Update generated code
543 * Add support for `client_secret`, `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.Session`
544 * Add support for `offline` on `Terminal.Configuration`
545
546 ## 12.6.0 - 2023-10-05
547 * [](https://github.com/stripe/stripe-php/pull/1586#1586](https://github.com/stripe/stripe-php/pull/1586](https://github.com/stripe/stripe-php/pull/1586) Update generated code
548 * Add support for new resource `Issuing.Token`
549 * Add support for `all`, `retrieve`, and `update` methods on resource `Token`
550 * Add support for `token` on `Issuing.Authorization` and `Issuing.Transaction`
551 * [](https://github.com/stripe/stripe-php/pull/1569#1569](https://github.com/stripe/stripe-php/pull/1569](https://github.com/stripe/stripe-php/pull/1569) Fix: Do not bother removing `friendsofphp/php-cs-fixer`
552
553 ## 12.5.0 - 2023-09-28
554 * [](https://github.com/stripe/stripe-php/pull/1582#1582](https://github.com/stripe/stripe-php/pull/1582](https://github.com/stripe/stripe-php/pull/1582) Generate Discount, SourceTransaction and use sections in more places
555 * [](https://github.com/stripe/stripe-php/pull/1584#1584](https://github.com/stripe/stripe-php/pull/1584](https://github.com/stripe/stripe-php/pull/1584) Update generated code
556 * Add support for `rendering` on `Invoice`
557
558 ## 12.4.0 - 2023-09-21
559 * [](https://github.com/stripe/stripe-php/pull/1579#1579](https://github.com/stripe/stripe-php/pull/1579](https://github.com/stripe/stripe-php/pull/1579) Update generated code
560 * Add back constant for `invoiceitem.updated` webhook event. This was mistakenly removed in v12.2.0.
561 * [](https://github.com/stripe/stripe-php/pull/1566#1566](https://github.com/stripe/stripe-php/pull/1566](https://github.com/stripe/stripe-php/pull/1566) Fix: Remove `squizlabs/php_codesniffer`
562 * [](https://github.com/stripe/stripe-php/pull/1568#1568](https://github.com/stripe/stripe-php/pull/1568](https://github.com/stripe/stripe-php/pull/1568) Enhancement: Reference `phpunit.xsd` as installed with `composer`
563 * [](https://github.com/stripe/stripe-php/pull/1565#1565](https://github.com/stripe/stripe-php/pull/1565](https://github.com/stripe/stripe-php/pull/1565) Enhancement: Use PHP 8.2 as leading PHP version
564
565 ## 12.3.0 - 2023-09-14
566 * [](https://github.com/stripe/stripe-php/pull/1577#1577](https://github.com/stripe/stripe-php/pull/1577](https://github.com/stripe/stripe-php/pull/1577) Update generated code
567 * Add support for new resource `PaymentMethodConfiguration`
568 * Add support for `all`, `create`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
569 * Add support for `payment_method_configuration_details` on `Checkout.Session`, `PaymentIntent`, and `SetupIntent`
570 * [](https://github.com/stripe/stripe-php/pull/1573#1573](https://github.com/stripe/stripe-php/pull/1573](https://github.com/stripe/stripe-php/pull/1573) Update generated code
571 * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
572 * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
573 * Add support for new value `stripe_tax_inactive` on enum `StripeError.code`
574
575 ## 12.2.0 - 2023-09-07
576 * [](https://github.com/stripe/stripe-php/pull/1571#1571](https://github.com/stripe/stripe-php/pull/1571](https://github.com/stripe/stripe-php/pull/1571) Update generated code
577 * Add support for new resource `PaymentMethodDomain`
578 * Add support for `all`, `create`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
579 * Add support for new values `treasury.credit_reversal.created`, `treasury.credit_reversal.posted`, `treasury.debit_reversal.completed`, `treasury.debit_reversal.created`, `treasury.debit_reversal.initial_credit_granted`, `treasury.financial_account.closed`, `treasury.financial_account.created`, `treasury.financial_account.features_status_updated`, `treasury.inbound_transfer.canceled`, `treasury.inbound_transfer.created`, `treasury.inbound_transfer.failed`, `treasury.inbound_transfer.succeeded`, `treasury.outbound_payment.canceled`, `treasury.outbound_payment.created`, `treasury.outbound_payment.expected_arrival_date_updated`, `treasury.outbound_payment.failed`, `treasury.outbound_payment.posted`, `treasury.outbound_payment.returned`, `treasury.outbound_transfer.canceled`, `treasury.outbound_transfer.created`, `treasury.outbound_transfer.expected_arrival_date_updated`, `treasury.outbound_transfer.failed`, `treasury.outbound_transfer.posted`, `treasury.outbound_transfer.returned`, `treasury.received_credit.created`, `treasury.received_credit.failed`, `treasury.received_credit.succeeded`, and `treasury.received_debit.created` on enum `Event.type`
580 * Remove support for value `invoiceitem.updated` from enum `Event.type`
581 * Add support for `features` on `Product`
582
583 ## 12.1.0 - 2023-08-31
584 * [](https://github.com/stripe/stripe-php/pull/1560#1560](https://github.com/stripe/stripe-php/pull/1560](https://github.com/stripe/stripe-php/pull/1560) Update generated code
585 * Add support for new resource `AccountSession`
586 * Add support for `create` method on resource `AccountSession`
587 * Add support for new values `obligation_inbound`, `obligation_outbound`, `obligation_payout_failure`, `obligation_payout`, `obligation_reversal_inbound`, and `obligation_reversal_outbound` on enum `BalanceTransaction.type`
588 * Change type of `Event.type` from `string` to `enum`
589 * Add support for `application` on `PaymentLink`
590 * [](https://github.com/stripe/stripe-php/pull/1562#1562](https://github.com/stripe/stripe-php/pull/1562](https://github.com/stripe/stripe-php/pull/1562) Nicer ApiErrorException::__toString()
591 * [](https://github.com/stripe/stripe-php/pull/1558#1558](https://github.com/stripe/stripe-php/pull/1558](https://github.com/stripe/stripe-php/pull/1558) Update generated code
592 * Add support for `payment_method_details` on `Dispute`
593 * Add support for `prefetch` on `FinancialConnections.Session`
594
595 ## 12.0.0 - 2023-08-18
596 **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
597
598 ### Version pinning
599
600 In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your [](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-versionStripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version).
601
602 To successfully upgrade to stripe-php v12, you must either
603
604 1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
605
606 Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-versionStripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [](https://stripe.com/docs/keys#test-live-modesTest Mode](https://stripe.com/docs/keys#test-live-modes](https://stripe.com/docs/keys#test-live-modes) before deploying them to production.
607
608 You can read the [](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v12v12 migration guide](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v12](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v12) for more detailed instructions.
609 2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-php`.**
610
611 If you were previously initializing stripe-php without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-versionStripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example:
612
613 ```diff
614 // if using StripeClient
615 - $stripe = new \Stripe\StripeClient('sk_test_xyz');
616 + $stripe = new \Stripe\StripeClient([
617 + 'api_key' => 'sk_test_xyz',
618 'stripe_version' => '2020-08-27',
619 + ]);
620
621 // if using the global client
622 Stripe.apiKey = "sk_test_xyz";
623 + Stripe::setApiVersion('2020-08-27');
624 ```
625
626 If you were already initializing stripe-php with an explicit API Version, upgrading to v12 will not affect your integration.
627
628 Read the [v12 migration guide](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v12) for more details.
629
630 Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
631
632 That is, instead of upgrading stripe-php and separately upgrading your Stripe API Version through the Stripe Dashboard, whenever you upgrade major versions of stripe-php, you should also upgrade your integration to be compatible with the latest Stripe API version.
633
634 ### Other changes
635 " ⚠️" symbol highlights breaking changes.
636 * [#1553](https://github.com/stripe/stripe-php/pull/1553)⚠️ Remove deprecated enum value `Invoice.STATUS_DELETE`
637
638 * [#1550](https://github.com/stripe/stripe-php/pull/1550) PHPDoc changes
639 * Remove support for `alternate_statement_descriptors`, `destination`, and `dispute` on `Charge`
640 * Remove support for value `charge_refunded` from enum `Dispute.status`
641 * Remove support for `rendering` on `Invoice`
642 * Remove support for `attributes`, `caption`, and `deactivate_on` on `Product`
643
644 ## 11.0.0 - 2023-08-16
645 Please do not use stripe-php v11. It did not correctly apply the [pinning behavior](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md#version-pinning) and was removed from packagist
646
647 ## 10.21.0 - 2023-08-10
648 * [#1546](https://github.com/stripe/stripe-php/pull/1546) Update generated code
649 * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
650 * Add support for new value `adjusted_for_overdraft` on enum `CustomerBalanceTransaction.type`
651
652 ## 10.20.0 - 2023-08-03
653 * [#1539](https://github.com/stripe/stripe-php/pull/1539) Update generated code
654 * Add support for `subscription_details` on `Invoice`
655 * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enum `Radar.ValueList.item_type`
656
657 ## 10.19.0 - 2023-07-27
658 * [#1534](https://github.com/stripe/stripe-php/pull/1534) Update generated code
659 * Improve PHPDoc type for `ApplicationFee.refunds`
660 * Add support for `deleted` on `Apps.Secret`
661 * [#1526](https://github.com/stripe/stripe-php/pull/1526) Add constants for payment intent cancellation reasons
662 * [#1533](https://github.com/stripe/stripe-php/pull/1533) Update generated code
663 * Add support for new value `service_tax` on enum `TaxRate.tax_type`
664 * [#1487](https://github.com/stripe/stripe-php/pull/1487) PHPDoc: use union of literals for $method parameter throughout
665
666 ## 10.18.0 - 2023-07-20
667 * [#1533](https://github.com/stripe/stripe-php/pull/1533) Update generated code
668 * Add support for new value `service_tax` on enum `TaxRate.tax_type`
669 * [#1526](https://github.com/stripe/stripe-php/pull/1526) Add constants for payment intent cancellation reasons
670 * [#1487](https://github.com/stripe/stripe-php/pull/1487) PHPDoc: use union of literals for $method parameter throughout
671
672 ## 10.17.0 - 2023-07-13
673 * [#1525](https://github.com/stripe/stripe-php/pull/1525) Update generated code
674 * Add support for new resource `Tax.Settings`
675 * Add support for `retrieve` and `update` methods on resource `Settings`
676 * Add support for new value `invalid_tax_location` on enum `StripeError.code`
677 * Add support for `product` on `Tax.TransactionLineItem`
678 * Add constant for `tax.settings.updated` webhook event
679 * [#1520](https://github.com/stripe/stripe-php/pull/1520) Update generated code
680 * Release specs are identical.
681
682 ## 10.16.0 - 2023-06-29
683 * [#1517](https://github.com/stripe/stripe-php/pull/1517) Update generated code
684 * Add support for new value `application_fees_not_allowed` on enum `StripeError.code`
685 * Add support for `effective_at` on `CreditNote` and `Invoice`
686 * Add support for `on_behalf_of` on `Mandate`
687 * [#1514](https://github.com/stripe/stripe-php/pull/1514) Update generated code
688 * Release specs are identical.
689 * [#1512](https://github.com/stripe/stripe-php/pull/1512) Update generated code
690 * Change type of `Checkout.Session.success_url` from `string` to `nullable(string)`
691
692 ## 10.15.0 - 2023-06-08
693 * [#1506](https://github.com/stripe/stripe-php/pull/1506) Update generated code
694 * Add support for `preferred_locales` on `Issuing.Cardholder`
695
696 ## 10.14.0 - 2023-05-25
697 * [#1503](https://github.com/stripe/stripe-php/pull/1503) Update generated code
698 * Add support for `zip` on `PaymentMethod`
699 * Add support for new value `zip` on enum `PaymentMethod.type`
700 * [#1502](https://github.com/stripe/stripe-php/pull/1502) Generate error codes
701 * [#1501](https://github.com/stripe/stripe-php/pull/1501) Update generated code
702
703 * [#1499](https://github.com/stripe/stripe-php/pull/1499) Update generated code
704 * Add support for new values `amusement_tax` and `communications_tax` on enum `TaxRate.tax_type`
705
706 ## 10.13.0 - 2023-05-11
707 * [#1490](https://github.com/stripe/stripe-php/pull/1490) Update generated code
708 * Add support for `paypal` on `PaymentMethod`
709 * Add support for `effective_percentage` on `TaxRate`
710 * [#1488](https://github.com/stripe/stripe-php/pull/1488) Increment PHPStan to strictness level 2
711 * [#1483](https://github.com/stripe/stripe-php/pull/1483) Update generated code
712
713 * [#1480](https://github.com/stripe/stripe-php/pull/1480) Update generated code
714 * Change type of `Identity.VerificationSession.options` from `VerificationSessionOptions` to `nullable(VerificationSessionOptions)`
715 * Change type of `Identity.VerificationSession.type` from `enum('document'|'id_number')` to `nullable(enum('document'|'id_number'))`
716 * [#1478](https://github.com/stripe/stripe-php/pull/1478) Update generated code
717 * Release specs are identical.
718 * [#1475](https://github.com/stripe/stripe-php/pull/1475) Update generated code
719
720
721 ## 10.12.1 - 2023-04-04
722 * [#1473](https://github.com/stripe/stripe-php/pull/1473) Update generated code
723 * Add back `deleted` from `Invoice.status`.
724
725 ## 10.12.0 - 2023-03-30
726 * [#1470](https://github.com/stripe/stripe-php/pull/1470) Update generated code
727 * Remove support for `create` method on resource `Tax.Transaction`
728 * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `createFromCalculation` method.
729 * Remove support for value `deleted` from enum `Invoice.status`
730 * This is not a breaking change, as the value was never returned or accepted as input.
731 * [#1468](https://github.com/stripe/stripe-php/pull/1468) Trigger workflow for tags
732 * [#1467](https://github.com/stripe/stripe-php/pull/1467) Update generated code (new)
733 * Release specs are identical.
734
735 ## 10.11.0 - 2023-03-23
736 * [#1458](https://github.com/stripe/stripe-php/pull/1458) Update generated code
737 * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
738 * Add support for `create` and `list_line_items` methods on resource `Calculation`
739 * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
740 * Add support for `currency_conversion` on `Checkout.Session`
741 * Add support for new value `automatic_async` on enum `PaymentIntent.capture_method`
742 * Add support for new value `link` on enum `PaymentLink.payment_method_types[]`
743 * Add support for `automatic_payment_methods` on `SetupIntent`
744
745 ## 10.10.0 - 2023-03-16
746 * [#1457](https://github.com/stripe/stripe-php/pull/1457) API Updates
747 * Add support for `future_requirements` and `requirements` on `BankAccount`
748 * Add support for new value `automatic_async` on enum `PaymentIntent.capture_method`
749 * Add support for new value `cashapp` on enum `PaymentLink.payment_method_types[]`
750 * Add support for `cashapp` on `PaymentMethod`
751 * Add support for new value `cashapp` on enum `PaymentMethod.type`
752 * [#1454](https://github.com/stripe/stripe-php/pull/1454) Update generated code (new)
753 * Add support for new value `cashapp` on enum `PaymentLink.payment_method_types[]`
754 * Add support for `cashapp` on `PaymentMethod`
755 * Add support for new value `cashapp` on enum `PaymentMethod.type`
756
757 ## 10.9.1 - 2023-03-14
758 * [#1453](https://github.com/stripe/stripe-php/pull/1453) Restore StripeClient.getService
759
760 ## 10.9.0 - 2023-03-09
761 * [#1450](https://github.com/stripe/stripe-php/pull/1450) API Updates
762 * Add support for `cancellation_details` on `Subscription`
763 * Fix return types on custom methods (extends https://github.com/stripe/stripe-php/pull/1446)
764
765 * [#1446](https://github.com/stripe/stripe-php/pull/1446) stripe->customers->retrievePaymentMethod returns the wrong class (type hint)
766
767 ## 10.8.0 - 2023-03-02
768 * [#1447](https://github.com/stripe/stripe-php/pull/1447) API Updates
769 * Add support for `reconciliation_status` on `Payout`
770 * Add support for new value `lease_tax` on enum `TaxRate.tax_type`
771
772 ## 10.7.0 - 2023-02-23
773 * [#1444](https://github.com/stripe/stripe-php/pull/1444) API Updates
774 * Add support for new value `igst` on enum `TaxRate.tax_type`
775
776 ## 10.6.1 - 2023-02-21
777 * [#1443](https://github.com/stripe/stripe-php/pull/1443) Remove init.php from the list of ignored files
778
779 ## 10.6.0 - 2023-02-16
780 * [#1441](https://github.com/stripe/stripe-php/pull/1441) API Updates
781 * Add support for `refund_payment` method on resource `Terminal.Reader`
782 * Add support for `custom_fields` on `Checkout.Session` and `PaymentLink`
783 * [#1236](https://github.com/stripe/stripe-php/pull/1236) subscription_proration_date not always presented in Invoice
784 * [#1431](https://github.com/stripe/stripe-php/pull/1431) Fix: Do not use unbounded version constraint for `actions/checkout`
785 * [#1436](https://github.com/stripe/stripe-php/pull/1436) Enhancement: Enable and configure `visibility_required` fixer
786 * [#1432](https://github.com/stripe/stripe-php/pull/1432) Enhancement: Update `actions/cache`
787 * [#1434](https://github.com/stripe/stripe-php/pull/1434) Fix: Remove parentheses
788 * [#1433](https://github.com/stripe/stripe-php/pull/1433) Enhancement: Run tests on PHP 8.2
789 * [#1438](https://github.com/stripe/stripe-php/pull/1438) Update .gitattributes
790
791 ## 10.5.0 - 2023-02-02
792 * [#1439](https://github.com/stripe/stripe-php/pull/1439) API Updates
793 * Add support for `resume` method on resource `Subscription`
794 * Add support for `amount_shipping` and `shipping_cost` on `CreditNote` and `Invoice`
795 * Add support for `shipping_details` on `Invoice`
796 * Add support for `invoice_creation` on `PaymentLink`
797 * Add support for `trial_settings` on `Subscription`
798 * Add support for new value `paused` on enum `Subscription.status`
799
800 ## 10.4.0 - 2023-01-19
801 * [#1381](https://github.com/stripe/stripe-php/pull/1381) Add getService methods to StripeClient and AbstractServiceFactory to allow mocking
802 * [#1424](https://github.com/stripe/stripe-php/pull/1424) API Updates
803
804 * Added `REFUND_CREATED`, `REFUND_UPDATED` event definitions.
805 * [#1426](https://github.com/stripe/stripe-php/pull/1426) Ignore PHP version for formatting
806 * [#1425](https://github.com/stripe/stripe-php/pull/1425) Fix Stripe::setAccountId parameter type
807 * [#1418](https://github.com/stripe/stripe-php/pull/1418) Switch to mb_convert_encoding to fix utf8_encode deprecation warning
808
809 ## 10.3.0 - 2022-12-22
810 * [#1413](https://github.com/stripe/stripe-php/pull/1413) API Updates
811 Change `CheckoutSession.cancel_url` to be nullable.
812
813 ## 10.2.0 - 2022-12-15
814 * [#1411](https://github.com/stripe/stripe-php/pull/1411) API Updates
815 * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
816 * [#1407](https://github.com/stripe/stripe-php/pull/1407) API Updates
817
818
819 ## 10.1.0 - 2022-12-06
820 * [#1405](https://github.com/stripe/stripe-php/pull/1405) API Updates
821 * Add support for `flow` on `BillingPortal.Session`
822 * [#1404](https://github.com/stripe/stripe-php/pull/1404) API Updates
823 * Remove support for resources `Order` and `Sku`
824 * Remove support for `all`, `cancel`, `create`, `list_line_items`, `reopen`, `retrieve`, `submit`, and `update` methods on resource `Order`
825 * Remove support for `all`, `create`, `delete`, `retrieve`, and `update` methods on resource `Sku`
826 * Add support for `custom_text` on `Checkout.Session` and `PaymentLink`
827 * Add support for `invoice_creation` and `invoice` on `Checkout.Session`
828 * Remove support for `product` on `LineItem`
829 * Add support for `latest_charge` on `PaymentIntent`
830 * Remove support for `charges` on `PaymentIntent`
831
832 ## 10.0.0 - 2022-11-16
833 * [#1392](https://github.com/stripe/stripe-php/pull/1392) Next major release changes
834
835 Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
836
837 "⚠️" symbol highlights breaking changes.
838
839 ### Deprecated
840 * [#1382](https://github.com/stripe/stripe-php/pull/1382) Mark `resource.save` as deprecated. Prefer the static update method that doesn't require retrieval of the resource to update it.
841 ```PHP
842 // before
843 $resource = Price::retrieve(self::TEST_RESOURCE_ID);
844 $resource->metadata['key'] = 'value';
845 $resource->save();
846
847 // after
848 $resource = Price::update('price_123', [
849 'metadata' => ['key' => 'value'],
850 ]);
851 ```
852
853 ### ⚠️ Removed
854 - [](https://github.com/stripe/stripe-php/pull/1377#1377](https://github.com/stripe/stripe-php/pull/1377](https://github.com/stripe/stripe-php/pull/1377) Removed deprecated `Sku` resource and service
855 - [](https://github.com/stripe/stripe-php/pull/1375#1375](https://github.com/stripe/stripe-php/pull/1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Orders` resource and service
856 - [](https://github.com/stripe/stripe-php/pull/1375#1375](https://github.com/stripe/stripe-php/pull/1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Product` field from the `LineItem`
857 - [](https://github.com/stripe/stripe-php/pull/1388#1388](https://github.com/stripe/stripe-php/pull/1388](https://github.com/stripe/stripe-php/pull/1388) Removed deprecated `AlipayAccount` resource
858 - [](https://github.com/stripe/stripe-php/pull/1396#1396](https://github.com/stripe/stripe-php/pull/1396](https://github.com/stripe/stripe-php/pull/1396) Removed `charges` field on `PaymentIntent` and replace it with `latest_charge`.
859
860
861 ## 9.9.0 - 2022-11-08
862 * [](https://github.com/stripe/stripe-php/pull/1394#1394](https://github.com/stripe/stripe-php/pull/1394](https://github.com/stripe/stripe-php/pull/1394) API Updates
863 * Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enum `TaxId.type`
864 * [](https://github.com/stripe/stripe-php/pull/1389#1389](https://github.com/stripe/stripe-php/pull/1389](https://github.com/stripe/stripe-php/pull/1389) API Updates
865 * Add support for `on_behalf_of` on `Subscription`
866 * [](https://github.com/stripe/stripe-php/pull/1379#1379](https://github.com/stripe/stripe-php/pull/1379](https://github.com/stripe/stripe-php/pull/1379) Do not run Coveralls in PR-s
867
868 ## 9.8.0 - 2022-10-20
869 * [](https://github.com/stripe/stripe-php/pull/1383#1383](https://github.com/stripe/stripe-php/pull/1383](https://github.com/stripe/stripe-php/pull/1383) API Updates
870 * Add support for new values `jp_trn` and `ke_pin` on enum `TaxId.type`
871 * [](https://github.com/stripe/stripe-php/pull/1293#1293](https://github.com/stripe/stripe-php/pull/1293](https://github.com/stripe/stripe-php/pull/1293) Install deps in the install step of CI
872 * [](https://github.com/stripe/stripe-php/pull/1291#1291](https://github.com/stripe/stripe-php/pull/1291](https://github.com/stripe/stripe-php/pull/1291) Fix: Configure finder for `friendsofphp/php-cs-fixer`
873
874 ## 9.7.0 - 2022-10-13
875 * [](https://github.com/stripe/stripe-php/pull/1376#1376](https://github.com/stripe/stripe-php/pull/1376](https://github.com/stripe/stripe-php/pull/1376) API Updates
876 * Add support for `network_data` on `Issuing.Authorization`
877 * [](https://github.com/stripe/stripe-php/pull/1374#1374](https://github.com/stripe/stripe-php/pull/1374](https://github.com/stripe/stripe-php/pull/1374) Add request_log_url on ErrorObject
878 * [](https://github.com/stripe/stripe-php/pull/1370#1370](https://github.com/stripe/stripe-php/pull/1370](https://github.com/stripe/stripe-php/pull/1370) API Updates
879 * Add support for `created` on `Checkout.Session`
880
881 ## 9.6.0 - 2022-09-15
882 * [](https://github.com/stripe/stripe-php/pull/1365#1365](https://github.com/stripe/stripe-php/pull/1365](https://github.com/stripe/stripe-php/pull/1365) API Updates
883 * Add support for `from_invoice` and `latest_revision` on `Invoice`
884 * Add support for new value `pix` on enum `PaymentLink.payment_method_types[]`
885 * Add support for `pix` on `PaymentMethod`
886 * Add support for new value `pix` on enum `PaymentMethod.type`
887 * Add support for `created` on `Treasury.CreditReversal` and `Treasury.DebitReversal`
888
889 ## 9.5.0 - 2022-09-06
890 * [](https://github.com/stripe/stripe-php/pull/1364#1364](https://github.com/stripe/stripe-php/pull/1364](https://github.com/stripe/stripe-php/pull/1364) API Updates
891 * Add support for new value `terminal_reader_splashscreen` on enum `File.purpose`
892 * [](https://github.com/stripe/stripe-php/pull/1363#1363](https://github.com/stripe/stripe-php/pull/1363](https://github.com/stripe/stripe-php/pull/1363) chore: Update PHP tests to handle search methods.
893
894 ## 9.4.0 - 2022-08-26
895 * [](https://github.com/stripe/stripe-php/pull/1362#1362](https://github.com/stripe/stripe-php/pull/1362](https://github.com/stripe/stripe-php/pull/1362) API Updates
896 * Add support for `login_page` on `BillingPortal.Configuration`
897 * [](https://github.com/stripe/stripe-php/pull/1360#1360](https://github.com/stripe/stripe-php/pull/1360](https://github.com/stripe/stripe-php/pull/1360) Add test coverage using Coveralls
898 * [](https://github.com/stripe/stripe-php/pull/1361#1361](https://github.com/stripe/stripe-php/pull/1361](https://github.com/stripe/stripe-php/pull/1361) fix: Fix type hints for error objects.
899 * Update `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error` and `SetupIntent.setup_error` type to be `StripeObject`.
900 * Addresses https://github.com/stripe/stripe-php/issues/1353. The library today does not actually return a `ErrorObject` for these fields, so the type annotation was incorrect.
901 * [](https://github.com/stripe/stripe-php/pull/1356#1356](https://github.com/stripe/stripe-php/pull/1356](https://github.com/stripe/stripe-php/pull/1356) Add beta readme.md section
902
903 ## 9.3.0 - 2022-08-23
904 * [](https://github.com/stripe/stripe-php/pull/1355#1355](https://github.com/stripe/stripe-php/pull/1355](https://github.com/stripe/stripe-php/pull/1355) API Updates
905 * Change type of `Treasury.OutboundTransfer.destination_payment_method` from `string` to `string | null`
906 * Change the return type of `CustomerService.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
907 * This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
908
909 ## 9.2.0 - 2022-08-19
910 * [](https://github.com/stripe/stripe-php/pull/1352#1352](https://github.com/stripe/stripe-php/pull/1352](https://github.com/stripe/stripe-php/pull/1352) API Updates
911 * Add support for new resource `CustomerCashBalanceTransaction`
912 * Add support for `currency` on `PaymentLink`
913 * Add constant for `customer_cash_balance_transaction.created` webhook event.
914 * [](https://github.com/stripe/stripe-php/pull/1351#1351](https://github.com/stripe/stripe-php/pull/1351](https://github.com/stripe/stripe-php/pull/1351) Add a support section to the readme
915 * [](https://github.com/stripe/stripe-php/pull/1304#1304](https://github.com/stripe/stripe-php/pull/1304](https://github.com/stripe/stripe-php/pull/1304) Allow passing PSR-3 loggers to setLogger as they are compatible
916
917 ## 9.1.0 - 2022-08-11
918 * [](https://github.com/stripe/stripe-php/pull/1348#1348](https://github.com/stripe/stripe-php/pull/1348](https://github.com/stripe/stripe-php/pull/1348) API Updates
919 * Add support for `payment_method_collection` on `Checkout.Session` and `PaymentLink`
920
921 * [](https://github.com/stripe/stripe-php/pull/1346#1346](https://github.com/stripe/stripe-php/pull/1346](https://github.com/stripe/stripe-php/pull/1346) API Updates
922 * Add support for `expires_at` on `Apps.Secret`
923
924 ## 9.0.0 - 2022-08-02
925
926 Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v9. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
927
928 "⚠️" symbol highlights breaking changes.
929
930 * [](https://github.com/stripe/stripe-php/pull/1344#1344](https://github.com/stripe/stripe-php/pull/1344](https://github.com/stripe/stripe-php/pull/1344) API Updates
931 * [](https://github.com/stripe/stripe-php/pull/1337#1337](https://github.com/stripe/stripe-php/pull/1337](https://github.com/stripe/stripe-php/pull/1337) API Updates
932 * [](https://github.com/stripe/stripe-php/pull/1273#1273](https://github.com/stripe/stripe-php/pull/1273](https://github.com/stripe/stripe-php/pull/1273) Add some PHPDoc return types and fixes
933 * [](https://github.com/stripe/stripe-php/pull/1341#1341](https://github.com/stripe/stripe-php/pull/1341](https://github.com/stripe/stripe-php/pull/1341) Next major release changes
934
935 ### Added
936 * Add `alternate_statement_descriptors`, `authorization_code`, and `level3` properties to `Charge` resource.
937 * Add `previewLines` method to `CreditNote` resource.
938 * Add `transfer_data` property to `Subscription` resource.
939 * Add `SOURCE_TYPE_FPX` constant to `Transfer` resource.
940 * Add new error code constants to `ErrorObject`.
941 * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
942
943 ### ⚠️ Changed
944 * Updated certificate bundle ([](https://github.com/stripe/stripe-php/pull/1314#1314](https://github.com/stripe/stripe-php/pull/1314](https://github.com/stripe/stripe-php/pull/1314))
945 * Add `params` parameter to `close` method in `Dispute` resource.
946
947 ### ⚠️ Removed
948 * Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` resources.
949 * Remove `CAPABILITY_CARD_PAYMENTS`, `CAPABILITY_LEGACY_PAYMENTS`, `CAPABILITY_PLATFORM_PAYMENTS`, `CAPABILITY_TRANSFERS`, `CAPABILITY_STATUS_ACTIVE`, `CAPABILITY_STATUS_INACTIVE`, and `CAPABILITY_STATUS_PENDING` constants from `Account` resource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities.
950 * Remove `AssociatedObjects` array property from `EphemeralKey` resource. The field was undocumented and unsupported.
951 * Remove `details` method from `Card` resource. The endpoint was deprecated and no longer exists.
952 * Remove `recipient` property from `Card` resource. The property was deprecated.
953 * Remove ability to list `Card` resources for a particular `Recipient`.
954 * Remove `sources` property from `Card` resource. The property was deprecated.
955 * Remove `FAILURE_REASON` constant from `Refund` resource. The value was deprecated.
956 * Remove `Recipient` resource. The resource was deprecated.
957 * Remove `OrderItem` resource. The resource was deprecated.
958 * Remove `all` method from `LineItem`.
959 * Remove `cancel` method from `Transfer` and `TransferService`. This method is deprecated.
960 * Remove `allTransactions` method from `SourceService` service. Please use `allSourceTransactions` method instead.
961 * Remove `persons` method from `Account` resource. Please use `allPersons` method instead.
962 * Remove `sourceTransactions` method from `Source` resource. Please use `allSourceTransactions` method instead.
963 * Remove `usageRecordSummaries` method from `SubscriptionItem` resource. Please use `allUsageRecordSummaries` method instead.
964 * Remove `SOURCE_TYPE_ALIPAY_ACCOUNT` and `SOURCE_TYPE_FINANCING` constants from `Transfer` resource. The values were deprecated and are no longer in use.
965 * Remove deprecated error code constants from `ErrorObject`: `CODE_ACCOUNT_ALREADY_EXISTS`, `CODE_ORDER_CREATION_FAILED`, `CODE_ORDER_REQUIRED_SETTINGS`, `CODE_ORDER_STATUS_INVALID`, `CODE_ORDER_UPSTREAM_TIMEOUT`, and `CODE_UPSTREAM_ORDER_CREATION_FAILED`.
966 * Remove deprecated event constants from `Webhook`: `ISSUER_FRAUD_RECORD_CREATED`, ` ORDER_PAYMENT_FAILED`, `ORDER_PAYMENT_SUCCEEDED`, `ORDER_UPDATED`, `ORDER_RETURN_CREATED`, `PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED`, `PING`, `PROMOTION_CODE_DELETED`, and `TREASURY_RECEIVED_CREDIT_REVERSED`. The events are deprecated and no longer sent by Stripe.
967
968 ## 8.12.0 - 2022-07-25
969 * [](https://github.com/stripe/stripe-php/pull/1332#1332](https://github.com/stripe/stripe-php/pull/1332](https://github.com/stripe/stripe-php/pull/1332) API Updates
970 * Add support for `default_currency` and `invoice_credit_balance` on `Customer`
971
972
973 ## 8.11.0 - 2022-07-18
974 * [](https://github.com/stripe/stripe-php/pull/1324#1324](https://github.com/stripe/stripe-php/pull/1324](https://github.com/stripe/stripe-php/pull/1324) API Updates
975 * Add support for new value `blik` on enum `PaymentLink.payment_method_types[]`
976 * Add support for `blik` on `PaymentMethod`
977 * Add support for new value `blik` on enum `PaymentMethod.type`
978 * Add `Invoice.upcomingLines` method.
979 * Add `SourceService.allSourceTransactions` method.
980 * [](https://github.com/stripe/stripe-php/pull/1322#1322](https://github.com/stripe/stripe-php/pull/1322](https://github.com/stripe/stripe-php/pull/1322) API Updates
981 * Change type of `source_type` on `Transfer` from nullable string to string (comment-only change)
982
983 ## 8.10.0 - 2022-07-07
984 * [](https://github.com/stripe/stripe-php/pull/1319#1319](https://github.com/stripe/stripe-php/pull/1319](https://github.com/stripe/stripe-php/pull/1319) API Updates
985 * Add support for `currency_options` on `Coupon` and `Price`
986 * Add support for `currency` on `Subscription`
987 * [](https://github.com/stripe/stripe-php/pull/1318#1318](https://github.com/stripe/stripe-php/pull/1318](https://github.com/stripe/stripe-php/pull/1318) API Updates
988 * Add support for new values financial_connections.account.created, financial_connections.account.deactivated, financial_connections.account.disconnected, financial_connections.account.reactivated, and financial_connections.account.refreshed_balance on `Event`.
989
990 ## 8.9.0 - 2022-06-29
991 * [](https://github.com/stripe/stripe-php/pull/1316#1316](https://github.com/stripe/stripe-php/pull/1316](https://github.com/stripe/stripe-php/pull/1316) API Updates
992 * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
993 * Add support for `subtotal_excluding_tax` on `CreditNote` and `Invoice`
994 * Add support for `amount_excluding_tax` and `unit_amount_excluding_tax` on `CreditNoteLineItem` and `InvoiceLineItem`
995 * Add support for `total_excluding_tax` on `Invoice`
996 * Change type of `PaymentLink.payment_method_types[]` from `literal('card')` to `enum`
997 * Add support for `promptpay` on `PaymentMethod`
998 * Add support for new value `promptpay` on enum `PaymentMethod.type`
999 * Add support for `hosted_regulatory_receipt_url` and `reversal_details` on `Treasury.ReceivedCredit` and `Treasury.ReceivedDebit`
1000
1001 ## 8.8.0 - 2022-06-23
1002 * [](https://github.com/stripe/stripe-php/pull/1302#1302](https://github.com/stripe/stripe-php/pull/1302](https://github.com/stripe/stripe-php/pull/1302) API Updates
1003 * Add support for `custom_unit_amount` on `Price`
1004 * [](https://github.com/stripe/stripe-php/pull/1301#1301](https://github.com/stripe/stripe-php/pull/1301](https://github.com/stripe/stripe-php/pull/1301) API Updates
1005
1006 Documentation updates.
1007
1008 ## 8.7.0 - 2022-06-17
1009 * [](https://github.com/stripe/stripe-php/pull/1306#1306](https://github.com/stripe/stripe-php/pull/1306](https://github.com/stripe/stripe-php/pull/1306) API Updates
1010 * Add support for `fund_cash_balance` test helper method on resource `Customer`
1011 * Add support for `total_excluding_tax` on `CreditNote`
1012 * Add support for `rendering_options` on `Invoice`
1013 * [](https://github.com/stripe/stripe-php/pull/1307#1307](https://github.com/stripe/stripe-php/pull/1307](https://github.com/stripe/stripe-php/pull/1307) Support updating pre-release versions
1014 * [](https://github.com/stripe/stripe-php/pull/1305#1305](https://github.com/stripe/stripe-php/pull/1305](https://github.com/stripe/stripe-php/pull/1305) Trigger workflows on beta branches
1015 * [](https://github.com/stripe/stripe-php/pull/1302#1302](https://github.com/stripe/stripe-php/pull/1302](https://github.com/stripe/stripe-php/pull/1302) API Updates
1016 * Add support for `custom_unit_amount` on `Price`
1017 * [](https://github.com/stripe/stripe-php/pull/1301#1301](https://github.com/stripe/stripe-php/pull/1301](https://github.com/stripe/stripe-php/pull/1301) API Updates
1018
1019 Documentation updates.
1020
1021 ## 8.6.0 - 2022-06-08
1022 * [](https://github.com/stripe/stripe-php/pull/1300#1300](https://github.com/stripe/stripe-php/pull/1300](https://github.com/stripe/stripe-php/pull/1300) API Updates
1023 * Add support for `attach_to_self` and `flow_directions` on `SetupAttempt`
1024
1025 ## 8.5.0 - 2022-06-01
1026 * [](https://github.com/stripe/stripe-php/pull/1298#1298](https://github.com/stripe/stripe-php/pull/1298](https://github.com/stripe/stripe-php/pull/1298) API Updates
1027 * Add support for `radar_options` on `Charge` and `PaymentMethod`
1028 * Add support for new value `simulated_wisepos_e` on enum `Terminal.Reader.device_type`
1029
1030 ## 8.4.0 - 2022-05-26
1031 * [](https://github.com/stripe/stripe-php/pull/1296#1296](https://github.com/stripe/stripe-php/pull/1296](https://github.com/stripe/stripe-php/pull/1296) API Updates
1032 * Add support for `persons` method on resource `Account`
1033 * Add support for `balance_transactions` method on resource `Customer`
1034 * Add support for `id_number_secondary_provided` on `Person`
1035 * [](https://github.com/stripe/stripe-php/pull/1295#1295](https://github.com/stripe/stripe-php/pull/1295](https://github.com/stripe/stripe-php/pull/1295) API Updates
1036
1037
1038 ## 8.3.0 - 2022-05-23
1039 * [](https://github.com/stripe/stripe-php/pull/1294#1294](https://github.com/stripe/stripe-php/pull/1294](https://github.com/stripe/stripe-php/pull/1294) API Updates
1040 * Add support for new resource `Apps.Secret`
1041 * Add support for `affirm` and `link` on `PaymentMethod`
1042 * Add support for new values `affirm` and `link` on enum `PaymentMethod.type`
1043 * [](https://github.com/stripe/stripe-php/pull/1289#1289](https://github.com/stripe/stripe-php/pull/1289](https://github.com/stripe/stripe-php/pull/1289) fix: Update RequestOptions#redactedApiKey to stop exploding null.
1044
1045 ## 8.2.0 - 2022-05-19
1046 * [](https://github.com/stripe/stripe-php/pull/1286#1286](https://github.com/stripe/stripe-php/pull/1286](https://github.com/stripe/stripe-php/pull/1286) API Updates
1047 * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
1048 * Add support for `retrieve_payment_method` method on resource `Customer`
1049 * Add support for `all` and `list_owners` methods on resource `FinancialConnections.Account`
1050 * Add support for `treasury` on `Issuing.Authorization`, `Issuing.Dispute`, and `Issuing.Transaction`
1051 * Add support for `financial_account` on `Issuing.Card`
1052 * Add support for `client_secret` on `Order`
1053 * Add support for `attach_to_self` and `flow_directions` on `SetupIntent`
1054
1055 ## 8.1.0 - 2022-05-11
1056 * [](https://github.com/stripe/stripe-php/pull/1284#1284](https://github.com/stripe/stripe-php/pull/1284](https://github.com/stripe/stripe-php/pull/1284) API Updates
1057 * Add support for `consent_collection`, `customer_creation`, `payment_intent_data`, `shipping_options`, `submit_type`, and `tax_id_collection` on `PaymentLink`
1058 * Add support for `description` on `Subscription`
1059
1060 ## 8.0.0 - 2022-05-09
1061 * [](https://github.com/stripe/stripe-php/pull/1283#1283](https://github.com/stripe/stripe-php/pull/1283](https://github.com/stripe/stripe-php/pull/1283) Major version release of v8.0.0. The [](https://github.com/stripe/stripe-php/wiki/Migration-Guide-for-v8migration guide](https://github.com/stripe/stripe-php/wiki/Migration-Guide-for-v8](https://github.com/stripe/stripe-php/wiki/Migration-Guide-for-v8) contains more information.
1062 (⚠️ = breaking changes):
1063 * ⚠️ Replace the legacy `Order` API with the new `Order` API.
1064 * Resource modified: `Order`.
1065 * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
1066 * Removed methods: `pay` and `return_order`
1067 * Removed resources: `OrderItem` and `OrderReturn`
1068 * Removed references from other resources: `Charge.order`
1069 * ⚠️ Rename `\FinancialConnections\Account.refresh` method to `\FinancialConnections\Account.refresh_account`
1070 * Add support for `amount_discount`, `amount_tax`, and `product` on `LineItem`
1071
1072 ## 7.128.0 - 2022-05-05
1073 * [](https://github.com/stripe/stripe-php/pull/1282#1282](https://github.com/stripe/stripe-php/pull/1282](https://github.com/stripe/stripe-php/pull/1282) API Updates
1074 * Add support for `default_price` on `Product`
1075 * Add support for `instructions_email` on `Refund`
1076
1077
1078 ## 7.127.0 - 2022-05-05
1079 * [](https://github.com/stripe/stripe-php/pull/1281#1281](https://github.com/stripe/stripe-php/pull/1281](https://github.com/stripe/stripe-php/pull/1281) API Updates
1080 * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
1081 * [](https://github.com/stripe/stripe-php/pull/1278#1278](https://github.com/stripe/stripe-php/pull/1278](https://github.com/stripe/stripe-php/pull/1278) Pin setup-php action version.
1082 * [](https://github.com/stripe/stripe-php/pull/1277#1277](https://github.com/stripe/stripe-php/pull/1277](https://github.com/stripe/stripe-php/pull/1277) API Updates
1083 * Add support for `registered_address` on `Person`
1084
1085 ## 7.126.0 - 2022-05-03
1086 * [](https://github.com/stripe/stripe-php/pull/1276#1276](https://github.com/stripe/stripe-php/pull/1276](https://github.com/stripe/stripe-php/pull/1276) API Updates
1087 * Add support for new resource `CashBalance`
1088 * Change type of `BillingPortal.Configuration.application` from `$Application` to `deletable($Application)`
1089 * Add support for `cash_balance` on `Customer`
1090 * Add support for `application` on `Invoice`, `Quote`, `SubscriptionSchedule`, and `Subscription`
1091 * Add support for new value `eu_oss_vat` on enum `TaxId.type`
1092 * [](https://github.com/stripe/stripe-php/pull/1274#1274](https://github.com/stripe/stripe-php/pull/1274](https://github.com/stripe/stripe-php/pull/1274) Fix PHPDoc on Discount for nullable properties
1093 * [](https://github.com/stripe/stripe-php/pull/1272#1272](https://github.com/stripe/stripe-php/pull/1272](https://github.com/stripe/stripe-php/pull/1272) Allow users to pass a custom IPRESOLVE cURL option.
1094
1095 ## 7.125.0 - 2022-04-21
1096 * [](https://github.com/stripe/stripe-php/pull/1270#1270](https://github.com/stripe/stripe-php/pull/1270](https://github.com/stripe/stripe-php/pull/1270) API Updates
1097 * Add support for `expire` test helper method on resource `Refund`
1098
1099 ## 7.124.0 - 2022-04-18
1100 * [](https://github.com/stripe/stripe-php/pull/1265#1265](https://github.com/stripe/stripe-php/pull/1265](https://github.com/stripe/stripe-php/pull/1265) API Updates
1101 * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
1102 * Add support for `create_funding_instructions` method on resource `Customer`
1103 * Add support for `amount_details` on `PaymentIntent`
1104 * Add support for `customer_balance` on `PaymentMethod`
1105 * Add support for new value `customer_balance` on enum `PaymentMethod.type`
1106 * Add support for `configuration_overrides` on `Terminal.Location`
1107
1108
1109 ## 7.123.0 - 2022-04-13
1110 * [](https://github.com/stripe/stripe-php/pull/1263#1263](https://github.com/stripe/stripe-php/pull/1263](https://github.com/stripe/stripe-php/pull/1263) API Updates
1111 * Add support for `increment_authorization` method on resource `PaymentIntent`
1112 * [](https://github.com/stripe/stripe-php/pull/1262#1262](https://github.com/stripe/stripe-php/pull/1262](https://github.com/stripe/stripe-php/pull/1262) Add support for updating the version of the repo
1113 * [](https://github.com/stripe/stripe-php/pull/1230#1230](https://github.com/stripe/stripe-php/pull/1230](https://github.com/stripe/stripe-php/pull/1230) Add PHPDoc return types
1114 * [](https://github.com/stripe/stripe-php/pull/1242#1242](https://github.com/stripe/stripe-php/pull/1242](https://github.com/stripe/stripe-php/pull/1242) Fix some PHPDoc in tests
1115
1116 ## 7.122.0 - 2022-04-08
1117 * [](https://github.com/stripe/stripe-php/pull/1261#1261](https://github.com/stripe/stripe-php/pull/1261](https://github.com/stripe/stripe-php/pull/1261) API Updates
1118 * Add support for `apply_customer_balance` method on resource `PaymentIntent`
1119 * [](https://github.com/stripe/stripe-php/pull/1259#1259](https://github.com/stripe/stripe-php/pull/1259](https://github.com/stripe/stripe-php/pull/1259) API Updates
1120
1121 * Add `payment_intent.partially_funded`, `terminal.reader.action_failed`, and `terminal.reader.action_succeeded` events.
1122
1123 ## 7.121.0 - 2022-03-30
1124 * [](https://github.com/stripe/stripe-php/pull/1258#1258](https://github.com/stripe/stripe-php/pull/1258](https://github.com/stripe/stripe-php/pull/1258) API Updates
1125 * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
1126 * Add support for `action` on `Terminal.Reader`
1127
1128 ## 7.120.0 - 2022-03-29
1129 * [](https://github.com/stripe/stripe-php/pull/1257#1257](https://github.com/stripe/stripe-php/pull/1257](https://github.com/stripe/stripe-php/pull/1257) API Updates
1130 * Add support for Search API
1131 * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
1132
1133 ## 7.119.0 - 2022-03-25
1134 * [](https://github.com/stripe/stripe-php/pull/1256#1256](https://github.com/stripe/stripe-php/pull/1256](https://github.com/stripe/stripe-php/pull/1256) API Updates
1135 * Add support for PayNow and US Bank Accounts Debits payments
1136 * Add support for `paynow` and `us_bank_account` on `PaymentMethod`
1137 * Add support for new values `paynow` and `us_bank_account` on enum `PaymentMethod.type`
1138 * Add support for `failure_balance_transaction` on `Charge`
1139
1140 ## 7.118.0 - 2022-03-23
1141 * [](https://github.com/stripe/stripe-php/pull/1255#1255](https://github.com/stripe/stripe-php/pull/1255](https://github.com/stripe/stripe-php/pull/1255) API Updates
1142 * Add support for `cancel` method on resource `Refund`
1143 * Add support for new values `bg_uic`, `hu_tin`, and `si_tin` on enum `TaxId.type`
1144 * Add `test_helpers.test_clock.advancing`, `test_helpers.test_clock.created`, `test_helpers.test_clock.deleted`, `test_helpers.test_clock.internal_failure`, and `test_helpers.test_clock.ready` events.
1145
1146
1147 ## 7.117.0 - 2022-03-18
1148 * [](https://github.com/stripe/stripe-php/pull/1254#1254](https://github.com/stripe/stripe-php/pull/1254](https://github.com/stripe/stripe-php/pull/1254) API Updates
1149 * Add support for `status` on `Card`
1150 * [](https://github.com/stripe/stripe-php/pull/1251#1251](https://github.com/stripe/stripe-php/pull/1251](https://github.com/stripe/stripe-php/pull/1251) Add support for SearchResult objects.
1151 * [](https://github.com/stripe/stripe-php/pull/1249#1249](https://github.com/stripe/stripe-php/pull/1249](https://github.com/stripe/stripe-php/pull/1249) Add missing constant for payment_behavior
1152
1153 ## 7.116.0 - 2022-03-02
1154 * [](https://github.com/stripe/stripe-php/pull/1248#1248](https://github.com/stripe/stripe-php/pull/1248](https://github.com/stripe/stripe-php/pull/1248) API Updates
1155 * Add support for `proration_details` on `InvoiceLineItem`
1156
1157
1158 ## 7.115.0 - 2022-03-01
1159 * [](https://github.com/stripe/stripe-php/pull/1245#1245](https://github.com/stripe/stripe-php/pull/1245](https://github.com/stripe/stripe-php/pull/1245) [](https://github.com/stripe/stripe-php/pull/1247#1247](https://github.com/stripe/stripe-php/pull/1247](https://github.com/stripe/stripe-php/pull/1247) API Updates
1160 * Add support for new resource `TestHelpers.TestClock`
1161 * Add support for `test_clock` on `Customer`, `Invoice`, `InvoiceItem`, `Quote`, `Subscription`, and `SubscriptionSchedule`
1162 * Add support for `next_action` on `Refund`
1163 * Add support for `konbini` on `PaymentMethod`
1164 * [](https://github.com/stripe/stripe-php/pull/1244#1244](https://github.com/stripe/stripe-php/pull/1244](https://github.com/stripe/stripe-php/pull/1244) API Updates
1165 * Add support for new values `bbpos_wisepad3` and `stripe_m2` on enum `Terminal.Reader.device_type`
1166
1167 ## 7.114.0 - 2022-02-15
1168 * [](https://github.com/stripe/stripe-php/pull/1243#1243](https://github.com/stripe/stripe-php/pull/1243](https://github.com/stripe/stripe-php/pull/1243) Add test
1169 * [](https://github.com/stripe/stripe-php/pull/1240#1240](https://github.com/stripe/stripe-php/pull/1240](https://github.com/stripe/stripe-php/pull/1240) API Updates
1170 * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
1171 * [](https://github.com/stripe/stripe-php/pull/1241#1241](https://github.com/stripe/stripe-php/pull/1241](https://github.com/stripe/stripe-php/pull/1241) Add generic parameter to \Stripe\Collection usages
1172
1173 ## 7.113.0 - 2022-02-03
1174 * [](https://github.com/stripe/stripe-php/pull/1239#1239](https://github.com/stripe/stripe-php/pull/1239](https://github.com/stripe/stripe-php/pull/1239) API Updates
1175 * Add `REASON_EXPIRED_UNCAPTURED_CHARGE` enum value on `Refund`.
1176
1177 ## 7.112.0 - 2022-01-25
1178 * [](https://github.com/stripe/stripe-php/pull/1235#1235](https://github.com/stripe/stripe-php/pull/1235](https://github.com/stripe/stripe-php/pull/1235) API Updates
1179 * Add support for `phone_number_collection` on `PaymentLink`
1180 * Add support for new value `is_vat` on enum `TaxId.type`
1181
1182
1183 ## 7.111.0 - 2022-01-20
1184 * [](https://github.com/stripe/stripe-php/pull/1233#1233](https://github.com/stripe/stripe-php/pull/1233](https://github.com/stripe/stripe-php/pull/1233) API Updates
1185 * Add support for new resource `PaymentLink`
1186 * Add support for `payment_link` on `Checkout.Session`
1187
1188 ## 7.110.0 - 2022-01-13
1189 * [](https://github.com/stripe/stripe-php/pull/1232#1232](https://github.com/stripe/stripe-php/pull/1232](https://github.com/stripe/stripe-php/pull/1232) API Updates
1190 * Add support for `paid_out_of_band` on `Invoice`
1191
1192 ## 7.109.0 - 2022-01-12
1193 * [](https://github.com/stripe/stripe-php/pull/1231#1231](https://github.com/stripe/stripe-php/pull/1231](https://github.com/stripe/stripe-php/pull/1231) API Updates
1194 * Add support for `customer_creation` on `Checkout.Session`
1195 * [](https://github.com/stripe/stripe-php/pull/1227#1227](https://github.com/stripe/stripe-php/pull/1227](https://github.com/stripe/stripe-php/pull/1227) Update docs URLs
1196
1197 ## 7.108.0 - 2021-12-22
1198 * [](https://github.com/stripe/stripe-php/pull/1226#1226](https://github.com/stripe/stripe-php/pull/1226](https://github.com/stripe/stripe-php/pull/1226) Upgrade php-cs-fixer to 3.4.0.
1199 * [](https://github.com/stripe/stripe-php/pull/1222#1222](https://github.com/stripe/stripe-php/pull/1222](https://github.com/stripe/stripe-php/pull/1222) API Updates
1200 * Add support for `processing` on `PaymentIntent`
1201 * [](https://github.com/stripe/stripe-php/pull/1220#1220](https://github.com/stripe/stripe-php/pull/1220](https://github.com/stripe/stripe-php/pull/1220) API Updates
1202
1203 ## 7.107.0 - 2021-12-09
1204 * [](https://github.com/stripe/stripe-php/pull/1219#1219](https://github.com/stripe/stripe-php/pull/1219](https://github.com/stripe/stripe-php/pull/1219) API Updates
1205 * Add support for `metadata` on `BillingPortal.Configuration`
1206 * Add support for `wallets` on `Issuing.Card`
1207
1208 ## 7.106.0 - 2021-12-09
1209 * [](https://github.com/stripe/stripe-php/pull/1218#1218](https://github.com/stripe/stripe-php/pull/1218](https://github.com/stripe/stripe-php/pull/1218) API Updates
1210 * Add support for new values `ge_vat` and `ua_vat` on enum `TaxId.type`
1211 * [](https://github.com/stripe/stripe-php/pull/1216#1216](https://github.com/stripe/stripe-php/pull/1216](https://github.com/stripe/stripe-php/pull/1216) Fix namespaced classes in @return PHPDoc.
1212 * [](https://github.com/stripe/stripe-php/pull/1214#1214](https://github.com/stripe/stripe-php/pull/1214](https://github.com/stripe/stripe-php/pull/1214) Announce PHP8 support in CHANGELOG.md
1213
1214 ## 7.105.0 - 2021-12-06
1215 * [](https://github.com/stripe/stripe-php/pull/1213#1213](https://github.com/stripe/stripe-php/pull/1213](https://github.com/stripe/stripe-php/pull/1213) PHP 8.1 missing ReturnTypeWillChange annotations.
1216 * As of this version, PHP 8.1 is officially supported.
1217
1218 ## 7.104.0 - 2021-12-01
1219 * [](https://github.com/stripe/stripe-php/pull/1211#1211](https://github.com/stripe/stripe-php/pull/1211](https://github.com/stripe/stripe-php/pull/1211) PHPStan compatibility with PHP8.x
1220 * [](https://github.com/stripe/stripe-php/pull/1209#1209](https://github.com/stripe/stripe-php/pull/1209](https://github.com/stripe/stripe-php/pull/1209) PHPUnit compatibility with PHP 8.x
1221
1222 ## 7.103.0 - 2021-11-19
1223 * [](https://github.com/stripe/stripe-php/pull/1206#1206](https://github.com/stripe/stripe-php/pull/1206](https://github.com/stripe/stripe-php/pull/1206) API Updates
1224 * Add support for new value `jct` on enum `TaxRate.tax_type`
1225
1226 ## 7.102.0 - 2021-11-17
1227 * [](https://github.com/stripe/stripe-php/pull/1205#1205](https://github.com/stripe/stripe-php/pull/1205](https://github.com/stripe/stripe-php/pull/1205) API Updates
1228 * Add support for `automatic_payment_methods` on `PaymentIntent`
1229
1230 ## 7.101.0 - 2021-11-16
1231 * [](https://github.com/stripe/stripe-php/pull/1203#1203](https://github.com/stripe/stripe-php/pull/1203](https://github.com/stripe/stripe-php/pull/1203) API Updates
1232 * Add support for new resource `ShippingRate`
1233 * Add support for `shipping_options` and `shipping_rate` on `Checkout.Session`
1234 * Add support for `expire` method on resource `Checkout.Session`
1235 * Add support for `status` on `Checkout.Session`
1236
1237 ## 7.100.0 - 2021-10-11
1238 * [](https://github.com/stripe/stripe-php/pull/1190#1190](https://github.com/stripe/stripe-php/pull/1190](https://github.com/stripe/stripe-php/pull/1190) API Updates
1239 * Add support for `klarna` on `PaymentMethod`.
1240
1241 ## 7.99.0 - 2021-10-11
1242 * [](https://github.com/stripe/stripe-php/pull/1188#1188](https://github.com/stripe/stripe-php/pull/1188](https://github.com/stripe/stripe-php/pull/1188) API Updates
1243 * Add support for `list_payment_methods` method on resource `Customer`
1244
1245 ## 7.98.0 - 2021-10-07
1246 * [](https://github.com/stripe/stripe-php/pull/1187#1187](https://github.com/stripe/stripe-php/pull/1187](https://github.com/stripe/stripe-php/pull/1187) API Updates
1247 * Add support for `phone_number_collection` on `Checkout.Session`
1248 * Add support for new value `customer_id` on enum `Radar.ValueList.item_type`
1249 * Add support for new value `bbpos_wisepos_e` on enum `Terminal.Reader.device_type`
1250
1251 ## 7.97.0 - 2021-09-16
1252 * [](https://github.com/stripe/stripe-php/pull/1181#1181](https://github.com/stripe/stripe-php/pull/1181](https://github.com/stripe/stripe-php/pull/1181) API Updates
1253 * Add support for `full_name_aliases` on `Person`
1254
1255 ## 7.96.0 - 2021-09-15
1256 * [](https://github.com/stripe/stripe-php/pull/1178#1178](https://github.com/stripe/stripe-php/pull/1178](https://github.com/stripe/stripe-php/pull/1178) API Updates
1257 * Add support for livemode on Reporting.ReportType
1258 * Add support for new value `rst` on enum `TaxRate.tax_type`
1259
1260 ## 7.95.0 - 2021-09-01
1261 * [](https://github.com/stripe/stripe-php/pull/1177#1177](https://github.com/stripe/stripe-php/pull/1177](https://github.com/stripe/stripe-php/pull/1177) API Updates
1262 * Add support for `future_requirements` on `Account`, `Capability`, and `Person`
1263 * Add support for `after_expiration`, `consent`, `consent_collection`, `expires_at`, and `recovered_from` on `Checkout.Session`
1264
1265 ## 7.94.0 - 2021-08-19
1266 * [](https://github.com/stripe/stripe-php/pull/1173#1173](https://github.com/stripe/stripe-php/pull/1173](https://github.com/stripe/stripe-php/pull/1173) API Updates
1267 * Add support for new value `fil` on enum `Checkout.Session.locale`
1268 * Add support for new value `au_arn` on enum `TaxId.type`
1269
1270 ## 7.93.0 - 2021-08-11
1271 * [](https://github.com/stripe/stripe-php/pull/1172#1172](https://github.com/stripe/stripe-php/pull/1172](https://github.com/stripe/stripe-php/pull/1172) API Updates
1272 * Add support for `locale` on `BillingPortal.Session`
1273
1274 * [](https://github.com/stripe/stripe-php/pull/1171#1171](https://github.com/stripe/stripe-php/pull/1171](https://github.com/stripe/stripe-php/pull/1171) Fix typo in docblock `CurlClient::executeStreamingRequestWithRetries`
1275
1276 ## 7.92.0 - 2021-07-28
1277 * [](https://github.com/stripe/stripe-php/pull/1167#1167](https://github.com/stripe/stripe-php/pull/1167](https://github.com/stripe/stripe-php/pull/1167) API Updates
1278 * Add support for `account_type` on `BankAccount`
1279 * Add support for new value `redacted` on enum `Review.closed_reason`
1280
1281 ## 7.91.0 - 2021-07-22
1282 * [](https://github.com/stripe/stripe-php/pull/1164#1164](https://github.com/stripe/stripe-php/pull/1164](https://github.com/stripe/stripe-php/pull/1164) API Updates
1283 * Add support for new values `hr`, `ko`, and `vi` on enum `Checkout.Session.locale`
1284 * Add support for `payment_settings` on `Subscription`
1285
1286 ## 7.90.0 - 2021-07-20
1287 * [](https://github.com/stripe/stripe-php/pull/1163#1163](https://github.com/stripe/stripe-php/pull/1163](https://github.com/stripe/stripe-php/pull/1163) API Updates
1288 * Add support for `wallet` on `Issuing.Transaction`
1289 * [](https://github.com/stripe/stripe-php/pull/1160#1160](https://github.com/stripe/stripe-php/pull/1160](https://github.com/stripe/stripe-php/pull/1160) Remove unused API error types from docs.
1290
1291 ## 7.89.0 - 2021-07-14
1292 * [](https://github.com/stripe/stripe-php/pull/1158#1158](https://github.com/stripe/stripe-php/pull/1158](https://github.com/stripe/stripe-php/pull/1158) API Updates
1293 * Add support for `list_computed_upfront_line_items` method on resource `Quote`
1294 * [](https://github.com/stripe/stripe-php/pull/1157#1157](https://github.com/stripe/stripe-php/pull/1157](https://github.com/stripe/stripe-php/pull/1157) Improve readme for old PHP versions
1295
1296 ## 7.88.0 - 2021-07-09
1297 * [](https://github.com/stripe/stripe-php/pull/1152#1152](https://github.com/stripe/stripe-php/pull/1152](https://github.com/stripe/stripe-php/pull/1152) API Updates
1298 * Add support for new resource `Quote`
1299 * Add support for `quote` on `Invoice`
1300 * Add support for new value `quote_accept` on enum `Invoice.billing_reason`
1301 * [](https://github.com/stripe/stripe-php/pull/1155#1155](https://github.com/stripe/stripe-php/pull/1155](https://github.com/stripe/stripe-php/pull/1155) Add streaming methods to Service infra
1302 * Add support for `setStreamingHttpClient` and `streamingHttpClient` to `ApiRequestor`
1303 * Add support for `getStreamingClient` and `requestStream` to `AbstractService`
1304 * Add support for `requestStream` to `BaseStripeClient`
1305 * `\Stripe\RequestOptions::parse` now clones its input if it is already a `RequestOptions` object, to prevent accidental mutation.
1306 * [](https://github.com/stripe/stripe-php/pull/1151#1151](https://github.com/stripe/stripe-php/pull/1151](https://github.com/stripe/stripe-php/pull/1151) Add `mode` constants into Checkout\Session
1307
1308 ## 7.87.0 - 2021-06-30
1309 * [](https://github.com/stripe/stripe-php/pull/1149#1149](https://github.com/stripe/stripe-php/pull/1149](https://github.com/stripe/stripe-php/pull/1149) API Updates
1310 * Add support for `wechat_pay` on `PaymentMethod`
1311 * [](https://github.com/stripe/stripe-php/pull/1143#1143](https://github.com/stripe/stripe-php/pull/1143](https://github.com/stripe/stripe-php/pull/1143) Streaming requests
1312 * [](https://github.com/stripe/stripe-php/pull/1138#1138](https://github.com/stripe/stripe-php/pull/1138](https://github.com/stripe/stripe-php/pull/1138) Deprecate travis
1313
1314 ## 7.86.0 - 2021-06-25
1315 * [](https://github.com/stripe/stripe-php/pull/1145#1145](https://github.com/stripe/stripe-php/pull/1145](https://github.com/stripe/stripe-php/pull/1145) API Updates
1316 * Add support for `boleto` on `PaymentMethod`.
1317 * Add support for `il_vat` as a member of the `TaxID.Type` enum.
1318
1319 ## 7.85.0 - 2021-06-18
1320 * [](https://github.com/stripe/stripe-php/pull/1142#1142](https://github.com/stripe/stripe-php/pull/1142](https://github.com/stripe/stripe-php/pull/1142) API Updates
1321 * Add support for new TaxId types: `ca_pst_mb`, `ca_pst_bc`, `ca_gst_hst`, and `ca_pst_sk`.
1322
1323 ## 7.84.0 - 2021-06-16
1324 * [](https://github.com/stripe/stripe-php/pull/1141#1141](https://github.com/stripe/stripe-php/pull/1141](https://github.com/stripe/stripe-php/pull/1141) Update PHPDocs
1325 * Add support for `url` on `Checkout\Session`
1326
1327
1328 ## 7.83.0 - 2021-06-07
1329 * [](https://github.com/stripe/stripe-php/pull/1140#1140](https://github.com/stripe/stripe-php/pull/1140](https://github.com/stripe/stripe-php/pull/1140) API Updates
1330 * Added support for `tax_id_collection` on `Checkout\Session` and `Checkout\Session#create`
1331 * Update `Location` to be expandable on `Terminal\Reader`
1332
1333 ## 7.82.0 - 2021-06-04
1334 * [](https://github.com/stripe/stripe-php/pull/1136#1136](https://github.com/stripe/stripe-php/pull/1136](https://github.com/stripe/stripe-php/pull/1136) Update PHPDocs
1335 * Add support for `controller` on `Account`.
1336
1337 ## 7.81.0 - 2021-06-04
1338 * [](https://github.com/stripe/stripe-php/pull/1135#1135](https://github.com/stripe/stripe-php/pull/1135](https://github.com/stripe/stripe-php/pull/1135) API Updates
1339 * Add support for new resource `TaxCode`
1340 * Add support for `automatic_tax` `Invoice` and`Checkout.Session`.
1341 * Add support for `tax_behavior` on `Price`
1342 * Add support for `tax_code` on `Product`
1343 * Add support for `tax` on `Customer`
1344 * Add support for `tax_type` enum on `TaxRate`
1345
1346 ## 7.80.0 - 2021-05-26
1347 * [](https://github.com/stripe/stripe-php/pull/1130#1130](https://github.com/stripe/stripe-php/pull/1130](https://github.com/stripe/stripe-php/pull/1130) Update PHPDocs
1348
1349 ## 7.79.0 - 2021-05-19
1350 * [](https://github.com/stripe/stripe-php/pull/1126#1126](https://github.com/stripe/stripe-php/pull/1126](https://github.com/stripe/stripe-php/pull/1126) API Updates
1351 * Added support for new resource `Identity.VerificationReport`
1352 * Added support for new resource `Identity.VerificationSession`
1353 * `File#list.purpose` and `File.purpose` added new enum members: `identity_document_downloadable` and `selfie`.
1354
1355 ## 7.78.0 - 2021-05-05
1356 * [](https://github.com/stripe/stripe-php/pull/1120#1120](https://github.com/stripe/stripe-php/pull/1120](https://github.com/stripe/stripe-php/pull/1120) Update PHPDocs
1357 * Add support for `Radar.EarlyFraudWarning.payment_intent`
1358
1359 ## 7.77.0 - 2021-04-12
1360 * [](https://github.com/stripe/stripe-php/pull/1110#1110](https://github.com/stripe/stripe-php/pull/1110](https://github.com/stripe/stripe-php/pull/1110) Update PHPDocs
1361 * Add support for `acss_debit` on `PaymentMethod`
1362 * Add support for `payment_method_options` on `Checkout\Session`
1363 * [](https://github.com/stripe/stripe-php/pull/1107#1107](https://github.com/stripe/stripe-php/pull/1107](https://github.com/stripe/stripe-php/pull/1107) Remove duplicate object phpdoc
1364
1365 ## 7.76.0 - 2021-03-22
1366 * [](https://github.com/stripe/stripe-php/pull/1100#1100](https://github.com/stripe/stripe-php/pull/1100](https://github.com/stripe/stripe-php/pull/1100) Update PHPDocs
1367 * Added support for `amount_shipping` on `Checkout.Session.total_details`
1368 * [](https://github.com/stripe/stripe-php/pull/1088#1088](https://github.com/stripe/stripe-php/pull/1088](https://github.com/stripe/stripe-php/pull/1088) Make possibility to extend CurlClient
1369
1370 ## 7.75.0 - 2021-02-22
1371 * [](https://github.com/stripe/stripe-php/pull/1094#1094](https://github.com/stripe/stripe-php/pull/1094](https://github.com/stripe/stripe-php/pull/1094) Add support for Billing Portal Configuration API
1372
1373 ## 7.74.0 - 2021-02-17
1374 * [](https://github.com/stripe/stripe-php/pull/1093#1093](https://github.com/stripe/stripe-php/pull/1093](https://github.com/stripe/stripe-php/pull/1093) Update PHPDocs
1375 * Add support for on_behalf_of to Invoice
1376
1377 ## 7.73.0 - 2021-02-16
1378 * [](https://github.com/stripe/stripe-php/pull/1091#1091](https://github.com/stripe/stripe-php/pull/1091](https://github.com/stripe/stripe-php/pull/1091) Update PHPDocs
1379 * Add support for `afterpay_clearpay` on `PaymentMethod`.
1380
1381 ## 7.72.0 - 2021-02-08
1382 * [](https://github.com/stripe/stripe-php/pull/1089#1089](https://github.com/stripe/stripe-php/pull/1089](https://github.com/stripe/stripe-php/pull/1089) Update PHPDocs
1383 * Add support for `afterpay_clearpay_payments` on `Account.capabilities`
1384 * Add support for `payment_settings` on `Invoice`
1385
1386 ## 7.71.0 - 2021-02-05
1387 * [](https://github.com/stripe/stripe-php/pull/1087#1087](https://github.com/stripe/stripe-php/pull/1087](https://github.com/stripe/stripe-php/pull/1087) Update PHPDocs
1388 * [](https://github.com/stripe/stripe-php/pull/1086#1086](https://github.com/stripe/stripe-php/pull/1086](https://github.com/stripe/stripe-php/pull/1086) Update CA cert bundle URL
1389
1390 ## 7.70.0 - 2021-02-03
1391 * [](https://github.com/stripe/stripe-php/pull/1085#1085](https://github.com/stripe/stripe-php/pull/1085](https://github.com/stripe/stripe-php/pull/1085) Update PHPDocs
1392 * Add support for `nationality` on `Person`
1393 * Add member `gb_vat` of `TaxID` enum
1394
1395
1396 ## 7.69.0 - 2021-01-21
1397 * [](https://github.com/stripe/stripe-php/pull/1079#1079](https://github.com/stripe/stripe-php/pull/1079](https://github.com/stripe/stripe-php/pull/1079) Update PHPDocs
1398
1399 ## 7.68.0 - 2021-01-14
1400 * [](https://github.com/stripe/stripe-php/pull/1063#1063](https://github.com/stripe/stripe-php/pull/1063](https://github.com/stripe/stripe-php/pull/1063) Multiple API changes
1401 * [](https://github.com/stripe/stripe-php/pull/1061#1061](https://github.com/stripe/stripe-php/pull/1061](https://github.com/stripe/stripe-php/pull/1061) Bump phpDocumentor to 3.0.0
1402
1403 ## 7.67.0 - 2020-12-09
1404 * [](https://github.com/stripe/stripe-php/pull/1060#1060](https://github.com/stripe/stripe-php/pull/1060](https://github.com/stripe/stripe-php/pull/1060) Improve PHPDocs for `Discount`
1405 * [](https://github.com/stripe/stripe-php/pull/1059#1059](https://github.com/stripe/stripe-php/pull/1059](https://github.com/stripe/stripe-php/pull/1059) Upgrade PHPStan to 0.12.59
1406 * [](https://github.com/stripe/stripe-php/pull/1057#1057](https://github.com/stripe/stripe-php/pull/1057](https://github.com/stripe/stripe-php/pull/1057) Bump PHP-CS-Fixer and update code
1407
1408 ## 7.66.1 - 2020-12-01
1409 * [](https://github.com/stripe/stripe-php/pull/1054#1054](https://github.com/stripe/stripe-php/pull/1054](https://github.com/stripe/stripe-php/pull/1054) Improve error message for invalid keys in StripeClient
1410
1411 ## 7.66.0 - 2020-11-24
1412 * [](https://github.com/stripe/stripe-php/pull/1053#1053](https://github.com/stripe/stripe-php/pull/1053](https://github.com/stripe/stripe-php/pull/1053) Update PHPDocs
1413
1414 ## 7.65.0 - 2020-11-19
1415 * [](https://github.com/stripe/stripe-php/pull/1050#1050](https://github.com/stripe/stripe-php/pull/1050](https://github.com/stripe/stripe-php/pull/1050) Added constants for `proration_behavior` on `Subscription`
1416
1417 ## 7.64.0 - 2020-11-18
1418 * [](https://github.com/stripe/stripe-php/pull/1049#1049](https://github.com/stripe/stripe-php/pull/1049](https://github.com/stripe/stripe-php/pull/1049) Update PHPDocs
1419
1420 ## 7.63.0 - 2020-11-17
1421 * [](https://github.com/stripe/stripe-php/pull/1048#1048](https://github.com/stripe/stripe-php/pull/1048](https://github.com/stripe/stripe-php/pull/1048) Update PHPDocs
1422 * [](https://github.com/stripe/stripe-php/pull/1046#1046](https://github.com/stripe/stripe-php/pull/1046](https://github.com/stripe/stripe-php/pull/1046) Force IPv4 resolving
1423
1424 ## 7.62.0 - 2020-11-09
1425 * [](https://github.com/stripe/stripe-php/pull/1041#1041](https://github.com/stripe/stripe-php/pull/1041](https://github.com/stripe/stripe-php/pull/1041) Add missing constants on `Event`
1426 * [](https://github.com/stripe/stripe-php/pull/1038#1038](https://github.com/stripe/stripe-php/pull/1038](https://github.com/stripe/stripe-php/pull/1038) Update PHPDocs
1427
1428 ## 7.61.0 - 2020-10-20
1429 * [](https://github.com/stripe/stripe-php/pull/1030#1030](https://github.com/stripe/stripe-php/pull/1030](https://github.com/stripe/stripe-php/pull/1030) Add support for `jp_rn` and `ru_kpp` as a `type` on `TaxId`
1430
1431 ## 7.60.0 - 2020-10-15
1432 * [](https://github.com/stripe/stripe-php/pull/1027#1027](https://github.com/stripe/stripe-php/pull/1027](https://github.com/stripe/stripe-php/pull/1027) Warn if opts are in params
1433
1434 ## 7.58.0 - 2020-10-14
1435 * [](https://github.com/stripe/stripe-php/pull/1026#1026](https://github.com/stripe/stripe-php/pull/1026](https://github.com/stripe/stripe-php/pull/1026) Add support for the Payout Reverse API
1436
1437 ## 7.57.0 - 2020-09-29
1438 * [](https://github.com/stripe/stripe-php/pull/1020#1020](https://github.com/stripe/stripe-php/pull/1020](https://github.com/stripe/stripe-php/pull/1020) Add support for the `SetupAttempt` resource and List API
1439
1440 ## 7.56.0 - 2020-09-25
1441 * [](https://github.com/stripe/stripe-php/pull/1019#1019](https://github.com/stripe/stripe-php/pull/1019](https://github.com/stripe/stripe-php/pull/1019) Update PHPDocs
1442
1443 ## 7.55.0 - 2020-09-24
1444 * [](https://github.com/stripe/stripe-php/pull/1018#1018](https://github.com/stripe/stripe-php/pull/1018](https://github.com/stripe/stripe-php/pull/1018) Multiple API changes
1445 * Updated PHPDocs
1446 * Added `TYPE_CONTRIBUTION` as a constant on `BalanceTransaction`
1447
1448 ## 7.54.0 - 2020-09-23
1449 * [](https://github.com/stripe/stripe-php/pull/1017#1017](https://github.com/stripe/stripe-php/pull/1017](https://github.com/stripe/stripe-php/pull/1017) Updated PHPDoc
1450
1451 ## 7.53.1 - 2020-09-22
1452 * [](https://github.com/stripe/stripe-php/pull/1015#1015](https://github.com/stripe/stripe-php/pull/1015](https://github.com/stripe/stripe-php/pull/1015) Bugfix: don't error on systems with php_uname in disablefunctions with whitespace
1453
1454 ## 7.53.0 - 2020-09-21
1455 * [](https://github.com/stripe/stripe-php/pull/1016#1016](https://github.com/stripe/stripe-php/pull/1016](https://github.com/stripe/stripe-php/pull/1016) Updated PHPDocs
1456
1457 ## 7.52.0 - 2020-09-08
1458 * [](https://github.com/stripe/stripe-php/pull/1010#1010](https://github.com/stripe/stripe-php/pull/1010](https://github.com/stripe/stripe-php/pull/1010) Update PHPDocs
1459
1460 ## 7.51.0 - 2020-09-02
1461 * [](https://github.com/stripe/stripe-php/pull/1007#1007](https://github.com/stripe/stripe-php/pull/1007](https://github.com/stripe/stripe-php/pull/1007) Multiple API changes
1462 * Add support for the Issuing Dispute Submit API
1463 * Add constants for `payment_status` on Checkout `Session`
1464 * [](https://github.com/stripe/stripe-php/pull/1003#1003](https://github.com/stripe/stripe-php/pull/1003](https://github.com/stripe/stripe-php/pull/1003) Add trim to getSignatures to allow for leading whitespace.
1465
1466 ## 7.50.0 - 2020-08-28
1467 * [](https://github.com/stripe/stripe-php/pull/1005#1005](https://github.com/stripe/stripe-php/pull/1005](https://github.com/stripe/stripe-php/pull/1005) Updated PHPDocs
1468
1469 ## 7.49.0 - 2020-08-19
1470 * [](https://github.com/stripe/stripe-php/pull/998#998](https://github.com/stripe/stripe-php/pull/998](https://github.com/stripe/stripe-php/pull/998) PHPDocs updated
1471
1472 ## 7.48.0 - 2020-08-17
1473 * [](https://github.com/stripe/stripe-php/pull/997#997](https://github.com/stripe/stripe-php/pull/997](https://github.com/stripe/stripe-php/pull/997) PHPDocs updated
1474 * [](https://github.com/stripe/stripe-php/pull/996#996](https://github.com/stripe/stripe-php/pull/996](https://github.com/stripe/stripe-php/pull/996) Fixing telemetry
1475
1476 ## 7.47.0 - 2020-08-13
1477 * [](https://github.com/stripe/stripe-php/pull/994#994](https://github.com/stripe/stripe-php/pull/994](https://github.com/stripe/stripe-php/pull/994) Nullable balance_transactions on issuing disputes
1478 * [](https://github.com/stripe/stripe-php/pull/991#991](https://github.com/stripe/stripe-php/pull/991](https://github.com/stripe/stripe-php/pull/991) Fix invalid return types in OAuthService
1479
1480 ## 7.46.1 - 2020-08-07
1481 * [](https://github.com/stripe/stripe-php/pull/990#990](https://github.com/stripe/stripe-php/pull/990](https://github.com/stripe/stripe-php/pull/990) PHPdoc changes
1482
1483 ## 7.46.0 - 2020-08-05
1484 * [](https://github.com/stripe/stripe-php/pull/989#989](https://github.com/stripe/stripe-php/pull/989](https://github.com/stripe/stripe-php/pull/989) Add support for the `PromotionCode` resource and APIs
1485
1486 ## 7.45.0 - 2020-07-28
1487 * [](https://github.com/stripe/stripe-php/pull/981#981](https://github.com/stripe/stripe-php/pull/981](https://github.com/stripe/stripe-php/pull/981) PHPdoc updates
1488
1489 ## 7.44.0 - 2020-07-20
1490 * [](https://github.com/stripe/stripe-php/pull/948#948](https://github.com/stripe/stripe-php/pull/948](https://github.com/stripe/stripe-php/pull/948) Add `first()` and `last()` functions to `Collection`
1491
1492 ## 7.43.0 - 2020-07-17
1493 * [](https://github.com/stripe/stripe-php/pull/975#975](https://github.com/stripe/stripe-php/pull/975](https://github.com/stripe/stripe-php/pull/975) Add support for `political_exposure` on `Person`
1494
1495 ## 7.42.0 - 2020-07-15
1496 * [](https://github.com/stripe/stripe-php/pull/974#974](https://github.com/stripe/stripe-php/pull/974](https://github.com/stripe/stripe-php/pull/974) Add new constants for `purpose` on `File`
1497
1498 ## 7.41.1 - 2020-07-15
1499 * [](https://github.com/stripe/stripe-php/pull/973#973](https://github.com/stripe/stripe-php/pull/973](https://github.com/stripe/stripe-php/pull/973) Multiple PHPDoc fixes
1500
1501 ## 7.41.0 - 2020-07-14
1502 * [](https://github.com/stripe/stripe-php/pull/971#971](https://github.com/stripe/stripe-php/pull/971](https://github.com/stripe/stripe-php/pull/971) Adds enum values for `billing_address_collection` on Checkout `Session`
1503
1504 ## 7.40.0 - 2020-07-06
1505 * [](https://github.com/stripe/stripe-php/pull/964#964](https://github.com/stripe/stripe-php/pull/964](https://github.com/stripe/stripe-php/pull/964) Add OAuthService
1506
1507 ## 7.39.0 - 2020-06-25
1508 * [](https://github.com/stripe/stripe-php/pull/960#960](https://github.com/stripe/stripe-php/pull/960](https://github.com/stripe/stripe-php/pull/960) Add constants for `payment_behavior` on `Subscription`
1509
1510 ## 7.38.0 - 2020-06-24
1511 * [](https://github.com/stripe/stripe-php/pull/959#959](https://github.com/stripe/stripe-php/pull/959](https://github.com/stripe/stripe-php/pull/959) Add multiple constants missing for `Event`
1512
1513 ## 7.37.2 - 2020-06-23
1514 * [](https://github.com/stripe/stripe-php/pull/957#957](https://github.com/stripe/stripe-php/pull/957](https://github.com/stripe/stripe-php/pull/957) Updated PHPDocs
1515
1516 ## 7.37.1 - 2020-06-11
1517 * [](https://github.com/stripe/stripe-php/pull/952#952](https://github.com/stripe/stripe-php/pull/952](https://github.com/stripe/stripe-php/pull/952) Improve PHPDoc
1518
1519 ## 7.37.0 - 2020-06-09
1520 * [](https://github.com/stripe/stripe-php/pull/950#950](https://github.com/stripe/stripe-php/pull/950](https://github.com/stripe/stripe-php/pull/950) Add support for `id_npwp` and `my_frp` as `type` on `TaxId`
1521
1522 ## 7.36.2 - 2020-06-03
1523 * [](https://github.com/stripe/stripe-php/pull/946#946](https://github.com/stripe/stripe-php/pull/946](https://github.com/stripe/stripe-php/pull/946) Update PHPDoc
1524
1525 ## 7.36.1 - 2020-05-28
1526 * [](https://github.com/stripe/stripe-php/pull/938#938](https://github.com/stripe/stripe-php/pull/938](https://github.com/stripe/stripe-php/pull/938) Remove extra array_keys() call.
1527 * [](https://github.com/stripe/stripe-php/pull/942#942](https://github.com/stripe/stripe-php/pull/942](https://github.com/stripe/stripe-php/pull/942) fix autopagination for service methods
1528
1529 ## 7.36.0 - 2020-05-21
1530 * [](https://github.com/stripe/stripe-php/pull/937#937](https://github.com/stripe/stripe-php/pull/937](https://github.com/stripe/stripe-php/pull/937) Add support for `ae_trn`, `cl_tin` and `sa_vat` as `type` on `TaxId`
1531
1532 ## 7.35.0 - 2020-05-20
1533 * [](https://github.com/stripe/stripe-php/pull/936#936](https://github.com/stripe/stripe-php/pull/936](https://github.com/stripe/stripe-php/pull/936) Add `anticipation_repayment` as a `type` on `BalanceTransaction`
1534
1535 ## 7.34.0 - 2020-05-18
1536 * [](https://github.com/stripe/stripe-php/pull/934#934](https://github.com/stripe/stripe-php/pull/934](https://github.com/stripe/stripe-php/pull/934) Add support for `issuing_dispute` as a `type` on `BalanceTransaction`
1537
1538 ## 7.33.1 - 2020-05-15
1539 * [](https://github.com/stripe/stripe-php/pull/933#933](https://github.com/stripe/stripe-php/pull/933](https://github.com/stripe/stripe-php/pull/933) Services bugfix: convert nested null params to empty strings
1540
1541 ## 7.33.0 - 2020-05-14
1542 * [](https://github.com/stripe/stripe-php/pull/771#771](https://github.com/stripe/stripe-php/pull/771](https://github.com/stripe/stripe-php/pull/771) Introduce client/services API. The [](https://github.com/stripe/stripe-php/wiki/Migration-to-StripeClient-and-services-in-7.33.0migration guide](https://github.com/stripe/stripe-php/wiki/Migration-to-StripeClient-and-services-in-7.33.0](https://github.com/stripe/stripe-php/wiki/Migration-to-StripeClient-and-services-in-7.33.0) contains before & after examples of the backwards-compatible changes.
1543
1544 ## 7.32.1 - 2020-05-13
1545 * [](https://github.com/stripe/stripe-php/pull/932#932](https://github.com/stripe/stripe-php/pull/932](https://github.com/stripe/stripe-php/pull/932) Fix multiple PHPDoc
1546
1547 ## 7.32.0 - 2020-05-11
1548 * [](https://github.com/stripe/stripe-php/pull/931#931](https://github.com/stripe/stripe-php/pull/931](https://github.com/stripe/stripe-php/pull/931) Add support for the `LineItem` resource and APIs
1549
1550 ## 7.31.0 - 2020-05-01
1551 * [](https://github.com/stripe/stripe-php/pull/927#927](https://github.com/stripe/stripe-php/pull/927](https://github.com/stripe/stripe-php/pull/927) Add support for new tax IDs
1552
1553 ## 7.30.0 - 2020-04-29
1554 * [](https://github.com/stripe/stripe-php/pull/924#924](https://github.com/stripe/stripe-php/pull/924](https://github.com/stripe/stripe-php/pull/924) Add support for the `Price` resource and APIs
1555
1556 ## 7.29.0 - 2020-04-22
1557 * [](https://github.com/stripe/stripe-php/pull/920#920](https://github.com/stripe/stripe-php/pull/920](https://github.com/stripe/stripe-php/pull/920) Add support for the `Session` resource and APIs on the `BillingPortal` namespace
1558
1559 ## 7.28.1 - 2020-04-10
1560 * [](https://github.com/stripe/stripe-php/pull/915#915](https://github.com/stripe/stripe-php/pull/915](https://github.com/stripe/stripe-php/pull/915) Improve PHPdocs for many classes
1561
1562 ## 7.28.0 - 2020-04-03
1563 * [](https://github.com/stripe/stripe-php/pull/912#912](https://github.com/stripe/stripe-php/pull/912](https://github.com/stripe/stripe-php/pull/912) Preserve backwards compatibility for typoed `TYPE_ADJUSTEMENT` enum.
1564 * [](https://github.com/stripe/stripe-php/pull/911#911](https://github.com/stripe/stripe-php/pull/911](https://github.com/stripe/stripe-php/pull/911) Codegenerated PHPDoc for nested resources
1565 * [](https://github.com/stripe/stripe-php/pull/902#902](https://github.com/stripe/stripe-php/pull/902](https://github.com/stripe/stripe-php/pull/902) Update docstrings for nested resources
1566
1567 ## 7.27.3 - 2020-03-18
1568 * [](https://github.com/stripe/stripe-php/pull/899#899](https://github.com/stripe/stripe-php/pull/899](https://github.com/stripe/stripe-php/pull/899) Convert keys to strings in `StripeObject::toArray()`
1569
1570 ## 7.27.2 - 2020-03-13
1571 * [](https://github.com/stripe/stripe-php/pull/894#894](https://github.com/stripe/stripe-php/pull/894](https://github.com/stripe/stripe-php/pull/894) Multiple PHPDocs changes
1572
1573 ## 7.27.1 - 2020-03-03
1574 * [](https://github.com/stripe/stripe-php/pull/890#890](https://github.com/stripe/stripe-php/pull/890](https://github.com/stripe/stripe-php/pull/890) Update PHPdoc
1575
1576 ## 7.27.0 - 2020-02-28
1577 * [](https://github.com/stripe/stripe-php/pull/889#889](https://github.com/stripe/stripe-php/pull/889](https://github.com/stripe/stripe-php/pull/889) Add new constants for `type` on `TaxId`
1578
1579 ## 7.26.0 - 2020-02-26
1580 * [](https://github.com/stripe/stripe-php/pull/886#886](https://github.com/stripe/stripe-php/pull/886](https://github.com/stripe/stripe-php/pull/886) Add support for listing Checkout `Session`
1581 * [](https://github.com/stripe/stripe-php/pull/883#883](https://github.com/stripe/stripe-php/pull/883](https://github.com/stripe/stripe-php/pull/883) Add PHPDoc class descriptions
1582
1583 ## 7.25.0 - 2020-02-14
1584 * [](https://github.com/stripe/stripe-php/pull/879#879](https://github.com/stripe/stripe-php/pull/879](https://github.com/stripe/stripe-php/pull/879) Make `\Stripe\Collection` implement `\Countable`
1585 * [](https://github.com/stripe/stripe-php/pull/875#875](https://github.com/stripe/stripe-php/pull/875](https://github.com/stripe/stripe-php/pull/875) Last set of PHP-CS-Fixer updates
1586 * [](https://github.com/stripe/stripe-php/pull/874#874](https://github.com/stripe/stripe-php/pull/874](https://github.com/stripe/stripe-php/pull/874) Enable php_unit_internal_class rule
1587 * [](https://github.com/stripe/stripe-php/pull/873#873](https://github.com/stripe/stripe-php/pull/873](https://github.com/stripe/stripe-php/pull/873) Add support for phpDocumentor in Makefile
1588 * [](https://github.com/stripe/stripe-php/pull/872#872](https://github.com/stripe/stripe-php/pull/872](https://github.com/stripe/stripe-php/pull/872) Another batch of PHP-CS-Fixer rule updates
1589 * [](https://github.com/stripe/stripe-php/pull/871#871](https://github.com/stripe/stripe-php/pull/871](https://github.com/stripe/stripe-php/pull/871) Fix a few PHPDoc comments
1590 * [](https://github.com/stripe/stripe-php/pull/870#870](https://github.com/stripe/stripe-php/pull/870](https://github.com/stripe/stripe-php/pull/870) More PHP-CS-Fixer tweaks
1591
1592 ## 7.24.0 - 2020-02-10
1593 * [](https://github.com/stripe/stripe-php/pull/862#862](https://github.com/stripe/stripe-php/pull/862](https://github.com/stripe/stripe-php/pull/862) Better PHPDoc
1594 * [](https://github.com/stripe/stripe-php/pull/865#865](https://github.com/stripe/stripe-php/pull/865](https://github.com/stripe/stripe-php/pull/865) Get closer to `@PhpCsFixer` standard ruleset
1595
1596 ## 7.23.0 - 2020-02-05
1597 * [](https://github.com/stripe/stripe-php/pull/860#860](https://github.com/stripe/stripe-php/pull/860](https://github.com/stripe/stripe-php/pull/860) Add PHPDoc types for expandable fields
1598 * [](https://github.com/stripe/stripe-php/pull/858#858](https://github.com/stripe/stripe-php/pull/858](https://github.com/stripe/stripe-php/pull/858) Use `native_function_invocation` PHPStan rule
1599 * [](https://github.com/stripe/stripe-php/pull/857#857](https://github.com/stripe/stripe-php/pull/857](https://github.com/stripe/stripe-php/pull/857) Update PHPDoc on nested resources
1600 * [](https://github.com/stripe/stripe-php/pull/855#855](https://github.com/stripe/stripe-php/pull/855](https://github.com/stripe/stripe-php/pull/855) PHPDoc: `StripeObject` -> `ErrorObject` where appropriate
1601 * [](https://github.com/stripe/stripe-php/pull/837#837](https://github.com/stripe/stripe-php/pull/837](https://github.com/stripe/stripe-php/pull/837) Autogen diff
1602 * [](https://github.com/stripe/stripe-php/pull/854#854](https://github.com/stripe/stripe-php/pull/854](https://github.com/stripe/stripe-php/pull/854) Upgrade PHPStan and fix settings
1603 * [](https://github.com/stripe/stripe-php/pull/850#850](https://github.com/stripe/stripe-php/pull/850](https://github.com/stripe/stripe-php/pull/850) Yet more PHPDoc updates
1604
1605 ## 7.22.0 - 2020-01-31
1606 * [](https://github.com/stripe/stripe-php/pull/849#849](https://github.com/stripe/stripe-php/pull/849](https://github.com/stripe/stripe-php/pull/849) Add new constants for `type` on `TaxId`
1607 * [](https://github.com/stripe/stripe-php/pull/843#843](https://github.com/stripe/stripe-php/pull/843](https://github.com/stripe/stripe-php/pull/843) Even more PHPDoc fixes
1608 * [](https://github.com/stripe/stripe-php/pull/841#841](https://github.com/stripe/stripe-php/pull/841](https://github.com/stripe/stripe-php/pull/841) More PHPDoc fixes
1609
1610 ## 7.21.1 - 2020-01-29
1611 * [](https://github.com/stripe/stripe-php/pull/840#840](https://github.com/stripe/stripe-php/pull/840](https://github.com/stripe/stripe-php/pull/840) Update phpdocs across multiple resources.
1612
1613 ## 7.21.0 - 2020-01-28
1614 * [](https://github.com/stripe/stripe-php/pull/839#839](https://github.com/stripe/stripe-php/pull/839](https://github.com/stripe/stripe-php/pull/839) Add support for `TYPE_ES_CIF` on `TaxId`
1615
1616 ## 7.20.0 - 2020-01-23
1617 * [](https://github.com/stripe/stripe-php/pull/836#836](https://github.com/stripe/stripe-php/pull/836](https://github.com/stripe/stripe-php/pull/836) Add new type values for `TaxId`
1618
1619 ## 7.19.1 - 2020-01-14
1620 * [](https://github.com/stripe/stripe-php/pull/831#831](https://github.com/stripe/stripe-php/pull/831](https://github.com/stripe/stripe-php/pull/831) Fix incorrect `UnexpectedValueException` instantiation
1621
1622 ## 7.19.0 - 2020-01-14
1623 * [](https://github.com/stripe/stripe-php/pull/830#830](https://github.com/stripe/stripe-php/pull/830](https://github.com/stripe/stripe-php/pull/830) Add support for `CreditNoteLineItem`
1624
1625 ## 7.18.0 - 2020-01-13
1626 * [](https://github.com/stripe/stripe-php/pull/829#829](https://github.com/stripe/stripe-php/pull/829](https://github.com/stripe/stripe-php/pull/829) Don't call php_uname function if disabled by php.ini
1627
1628 ## 7.17.0 - 2020-01-08
1629 * [](https://github.com/stripe/stripe-php/pull/821#821](https://github.com/stripe/stripe-php/pull/821](https://github.com/stripe/stripe-php/pull/821) Improve PHPDoc types for `ApiErrorException.get/setJsonBody()` methods
1630
1631 ## 7.16.0 - 2020-01-06
1632 * [](https://github.com/stripe/stripe-php/pull/826#826](https://github.com/stripe/stripe-php/pull/826](https://github.com/stripe/stripe-php/pull/826) Rename remaining `$options` to `$opts`
1633 * [](https://github.com/stripe/stripe-php/pull/825#825](https://github.com/stripe/stripe-php/pull/825](https://github.com/stripe/stripe-php/pull/825) Update PHPDoc
1634
1635 ## 7.15.0 - 2020-01-06
1636 * [](https://github.com/stripe/stripe-php/pull/824#824](https://github.com/stripe/stripe-php/pull/824](https://github.com/stripe/stripe-php/pull/824) Add constant `TYPE_SG_UEN` to `TaxId`
1637
1638 ## 7.14.2 - 2019-12-04
1639 * [](https://github.com/stripe/stripe-php/pull/816#816](https://github.com/stripe/stripe-php/pull/816](https://github.com/stripe/stripe-php/pull/816) Disable autoloader when checking for `Throwable`
1640
1641 ## 7.14.1 - 2019-11-26
1642 * [](https://github.com/stripe/stripe-php/pull/812#812](https://github.com/stripe/stripe-php/pull/812](https://github.com/stripe/stripe-php/pull/812) Fix invalid PHPdoc on `Subscription`
1643
1644 ## 7.14.0 - 2019-11-26
1645 * [](https://github.com/stripe/stripe-php/pull/811#811](https://github.com/stripe/stripe-php/pull/811](https://github.com/stripe/stripe-php/pull/811) Add support for `CreditNote` preview.
1646
1647 ## 7.13.0 - 2019-11-19
1648 * [](https://github.com/stripe/stripe-php/pull/808#808](https://github.com/stripe/stripe-php/pull/808](https://github.com/stripe/stripe-php/pull/808) Add support for listing lines on an Invoice directly via `Invoice::allLines()`
1649
1650 ## 7.12.0 - 2019-11-08
1651
1652 - [](https://github.com/stripe/stripe-php/pull/805#805](https://github.com/stripe/stripe-php/pull/805](https://github.com/stripe/stripe-php/pull/805) Add Source::allSourceTransactions and SubscriptionItem::allUsageRecordSummaries
1653 - [](https://github.com/stripe/stripe-php/pull/798#798](https://github.com/stripe/stripe-php/pull/798](https://github.com/stripe/stripe-php/pull/798) The argument of `array_key_exists` cannot be `null`
1654 - [](https://github.com/stripe/stripe-php/pull/803#803](https://github.com/stripe/stripe-php/pull/803](https://github.com/stripe/stripe-php/pull/803) Removed unwanted got
1655
1656 ## 7.11.0 - 2019-11-06
1657
1658 - [](https://github.com/stripe/stripe-php/pull/797#797](https://github.com/stripe/stripe-php/pull/797](https://github.com/stripe/stripe-php/pull/797) Add support for reverse pagination
1659
1660 ## 7.10.0 - 2019-11-05
1661
1662 - [](https://github.com/stripe/stripe-php/pull/795#795](https://github.com/stripe/stripe-php/pull/795](https://github.com/stripe/stripe-php/pull/795) Add support for `Mandate`
1663
1664 ## 7.9.0 - 2019-11-05
1665
1666 - [](https://github.com/stripe/stripe-php/pull/794#794](https://github.com/stripe/stripe-php/pull/794](https://github.com/stripe/stripe-php/pull/794) Add PHPDoc to `ApiResponse`
1667 - [](https://github.com/stripe/stripe-php/pull/792#792](https://github.com/stripe/stripe-php/pull/792](https://github.com/stripe/stripe-php/pull/792) Use single quotes for `OBJECT_NAME` constants
1668
1669 ## 7.8.0 - 2019-11-05
1670
1671 - [](https://github.com/stripe/stripe-php/pull/790#790](https://github.com/stripe/stripe-php/pull/790](https://github.com/stripe/stripe-php/pull/790) Mark nullable fields in PHPDoc
1672 - [](https://github.com/stripe/stripe-php/pull/788#788](https://github.com/stripe/stripe-php/pull/788](https://github.com/stripe/stripe-php/pull/788) Early codegen fixes
1673 - [](https://github.com/stripe/stripe-php/pull/787#787](https://github.com/stripe/stripe-php/pull/787](https://github.com/stripe/stripe-php/pull/787) Use PHPStan in Travis CI
1674
1675 ## 7.7.1 - 2019-10-25
1676
1677 - [](https://github.com/stripe/stripe-php/pull/781#781](https://github.com/stripe/stripe-php/pull/781](https://github.com/stripe/stripe-php/pull/781) Fix telemetry header
1678 - [](https://github.com/stripe/stripe-php/pull/780#780](https://github.com/stripe/stripe-php/pull/780](https://github.com/stripe/stripe-php/pull/780) Contributor Convenant
1679
1680 ## 7.7.0 - 2019-10-23
1681
1682 - [](https://github.com/stripe/stripe-php/pull/776#776](https://github.com/stripe/stripe-php/pull/776](https://github.com/stripe/stripe-php/pull/776) Add `CAPABILITY_TRANSFERS` to `Account`
1683 - [](https://github.com/stripe/stripe-php/pull/778#778](https://github.com/stripe/stripe-php/pull/778](https://github.com/stripe/stripe-php/pull/778) Add support for `TYPE_MX_RFC` type on `TaxId`
1684
1685 ## 7.6.0 - 2019-10-22
1686
1687 - [](https://github.com/stripe/stripe-php/pull/770#770](https://github.com/stripe/stripe-php/pull/770](https://github.com/stripe/stripe-php/pull/770) Add missing constants for Customer's `TaxId`
1688
1689 ## 7.5.0 - 2019-10-18
1690
1691 - [](https://github.com/stripe/stripe-php/pull/768#768](https://github.com/stripe/stripe-php/pull/768](https://github.com/stripe/stripe-php/pull/768) Redact API key in `RequestOptions` debug info
1692
1693 ## 7.4.0 - 2019-10-15
1694
1695 - [](https://github.com/stripe/stripe-php/pull/764#764](https://github.com/stripe/stripe-php/pull/764](https://github.com/stripe/stripe-php/pull/764) Add support for HTTP request monitoring callback
1696
1697 ## 7.3.1 - 2019-10-07
1698
1699 - [](https://github.com/stripe/stripe-php/pull/755#755](https://github.com/stripe/stripe-php/pull/755](https://github.com/stripe/stripe-php/pull/755) Respect Stripe-Should-Retry and Retry-After headers
1700
1701 ## 7.3.0 - 2019-10-02
1702
1703 - [](https://github.com/stripe/stripe-php/pull/752#752](https://github.com/stripe/stripe-php/pull/752](https://github.com/stripe/stripe-php/pull/752) Add `payment_intent.canceled` and `setup_intent.canceled` events
1704 - [](https://github.com/stripe/stripe-php/pull/749#749](https://github.com/stripe/stripe-php/pull/749](https://github.com/stripe/stripe-php/pull/749) Call `toArray()` on objects only
1705
1706 ## 7.2.2 - 2019-09-24
1707
1708 - [](https://github.com/stripe/stripe-php/pull/746#746](https://github.com/stripe/stripe-php/pull/746](https://github.com/stripe/stripe-php/pull/746) Add missing decline codes
1709
1710 ## 7.2.1 - 2019-09-23
1711
1712 - [](https://github.com/stripe/stripe-php/pull/744#744](https://github.com/stripe/stripe-php/pull/744](https://github.com/stripe/stripe-php/pull/744) Added new PHPDoc
1713
1714 ## 7.2.0 - 2019-09-17
1715
1716 - [](https://github.com/stripe/stripe-php/pull/738#738](https://github.com/stripe/stripe-php/pull/738](https://github.com/stripe/stripe-php/pull/738) Added missing constants for `SetupIntent` events
1717
1718 ## 7.1.1 - 2019-09-16
1719
1720 - [](https://github.com/stripe/stripe-php/pull/737#737](https://github.com/stripe/stripe-php/pull/737](https://github.com/stripe/stripe-php/pull/737) Added new PHPDoc
1721
1722 ## 7.1.0 - 2019-09-13
1723
1724 - [](https://github.com/stripe/stripe-php/pull/736#736](https://github.com/stripe/stripe-php/pull/736](https://github.com/stripe/stripe-php/pull/736) Make `CaseInsensitiveArray` countable and traversable
1725
1726 ## 7.0.2 - 2019-09-06
1727
1728 - [](https://github.com/stripe/stripe-php/pull/729#729](https://github.com/stripe/stripe-php/pull/729](https://github.com/stripe/stripe-php/pull/729) Fix usage of `SignatureVerificationException` in PHPDoc blocks
1729
1730 ## 7.0.1 - 2019-09-05
1731
1732 - [](https://github.com/stripe/stripe-php/pull/728#728](https://github.com/stripe/stripe-php/pull/728](https://github.com/stripe/stripe-php/pull/728) Clean up Collection
1733
1734 ## 7.0.0 - 2019-09-03
1735
1736 Major version release. The [](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v7migration guide](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v7](https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v7) contains a detailed list of backwards-incompatible changes with upgrade instructions.
1737
1738 Pull requests included in this release (cf. [](https://github.com/stripe/stripe-php/pull/552#552](https://github.com/stripe/stripe-php/pull/552](https://github.com/stripe/stripe-php/pull/552)) (⚠️ = breaking changes):
1739
1740 - ⚠️ Drop support for PHP 5.4 ([](https://github.com/stripe/stripe-php/pull/551#551](https://github.com/stripe/stripe-php/pull/551](https://github.com/stripe/stripe-php/pull/551))
1741 - ⚠️ Drop support for PHP 5.5 ([](https://github.com/stripe/stripe-php/pull/554#554](https://github.com/stripe/stripe-php/pull/554](https://github.com/stripe/stripe-php/pull/554))
1742 - Bump dependencies ([](https://github.com/stripe/stripe-php/pull/553#553](https://github.com/stripe/stripe-php/pull/553](https://github.com/stripe/stripe-php/pull/553))
1743 - Remove `CURLFile` check ([](https://github.com/stripe/stripe-php/pull/555#555](https://github.com/stripe/stripe-php/pull/555](https://github.com/stripe/stripe-php/pull/555))
1744 - Update constant definitions for PHP >= 5.6 ([](https://github.com/stripe/stripe-php/pull/556#556](https://github.com/stripe/stripe-php/pull/556](https://github.com/stripe/stripe-php/pull/556))
1745 - ⚠️ Remove `FileUpload` alias ([](https://github.com/stripe/stripe-php/pull/557#557](https://github.com/stripe/stripe-php/pull/557](https://github.com/stripe/stripe-php/pull/557))
1746 - Remove `curl_reset` check ([](https://github.com/stripe/stripe-php/pull/570#570](https://github.com/stripe/stripe-php/pull/570](https://github.com/stripe/stripe-php/pull/570))
1747 - Use `\Stripe\<class>::class` constant instead of strings ([](https://github.com/stripe/stripe-php/pull/643#643](https://github.com/stripe/stripe-php/pull/643](https://github.com/stripe/stripe-php/pull/643))
1748 - Use `array_column` to flatten params ([](https://github.com/stripe/stripe-php/pull/686#686](https://github.com/stripe/stripe-php/pull/686](https://github.com/stripe/stripe-php/pull/686))
1749 - ⚠️ Remove deprecated methods ([](https://github.com/stripe/stripe-php/pull/692#692](https://github.com/stripe/stripe-php/pull/692](https://github.com/stripe/stripe-php/pull/692))
1750 - ⚠️ Remove `IssuerFraudRecord` ([](https://github.com/stripe/stripe-php/pull/696#696](https://github.com/stripe/stripe-php/pull/696](https://github.com/stripe/stripe-php/pull/696))
1751 - Update constructors of Stripe exception classes ([](https://github.com/stripe/stripe-php/pull/559#559](https://github.com/stripe/stripe-php/pull/559](https://github.com/stripe/stripe-php/pull/559))
1752 - Fix remaining TODOs ([](https://github.com/stripe/stripe-php/pull/700#700](https://github.com/stripe/stripe-php/pull/700](https://github.com/stripe/stripe-php/pull/700))
1753 - Use yield for autopagination ([](https://github.com/stripe/stripe-php/pull/703#703](https://github.com/stripe/stripe-php/pull/703](https://github.com/stripe/stripe-php/pull/703))
1754 - ⚠️ Rename fake magic methods and rewrite array conversion ([](https://github.com/stripe/stripe-php/pull/704#704](https://github.com/stripe/stripe-php/pull/704](https://github.com/stripe/stripe-php/pull/704))
1755 - Add `ErrorObject` to Stripe exceptions ([](https://github.com/stripe/stripe-php/pull/705#705](https://github.com/stripe/stripe-php/pull/705](https://github.com/stripe/stripe-php/pull/705))
1756 - Start using PHP CS Fixer ([](https://github.com/stripe/stripe-php/pull/706#706](https://github.com/stripe/stripe-php/pull/706](https://github.com/stripe/stripe-php/pull/706))
1757 - Update error messages for nested resource operations ([](https://github.com/stripe/stripe-php/pull/708#708](https://github.com/stripe/stripe-php/pull/708](https://github.com/stripe/stripe-php/pull/708))
1758 - Upgrade retry logic ([](https://github.com/stripe/stripe-php/pull/707#707](https://github.com/stripe/stripe-php/pull/707](https://github.com/stripe/stripe-php/pull/707))
1759 - ⚠️ `Collection` improvements / fixes ([](https://github.com/stripe/stripe-php/pull/715#715](https://github.com/stripe/stripe-php/pull/715](https://github.com/stripe/stripe-php/pull/715))
1760 - ⚠️ Modernize exceptions ([](https://github.com/stripe/stripe-php/pull/709#709](https://github.com/stripe/stripe-php/pull/709](https://github.com/stripe/stripe-php/pull/709))
1761 - Add constants for error codes ([](https://github.com/stripe/stripe-php/pull/716#716](https://github.com/stripe/stripe-php/pull/716](https://github.com/stripe/stripe-php/pull/716))
1762 - Update certificate bundle ([](https://github.com/stripe/stripe-php/pull/717#717](https://github.com/stripe/stripe-php/pull/717](https://github.com/stripe/stripe-php/pull/717))
1763 - Retry requests on a 429 that's a lock timeout ([](https://github.com/stripe/stripe-php/pull/718#718](https://github.com/stripe/stripe-php/pull/718](https://github.com/stripe/stripe-php/pull/718))
1764 - Fix `toArray()` calls ([](https://github.com/stripe/stripe-php/pull/719#719](https://github.com/stripe/stripe-php/pull/719](https://github.com/stripe/stripe-php/pull/719))
1765 - Couple of fixes for PHP 7.4 ([](https://github.com/stripe/stripe-php/pull/725#725](https://github.com/stripe/stripe-php/pull/725](https://github.com/stripe/stripe-php/pull/725))
1766
1767 ## 6.43.1 - 2019-08-29
1768
1769 - [](https://github.com/stripe/stripe-php/pull/722#722](https://github.com/stripe/stripe-php/pull/722](https://github.com/stripe/stripe-php/pull/722) Make `LoggerInterface::error` compatible with its PSR-3 counterpart
1770 - [](https://github.com/stripe/stripe-php/pull/714#714](https://github.com/stripe/stripe-php/pull/714](https://github.com/stripe/stripe-php/pull/714) Add `pending_setup_intent` property in `Subscription`
1771 - [](https://github.com/stripe/stripe-php/pull/713#713](https://github.com/stripe/stripe-php/pull/713](https://github.com/stripe/stripe-php/pull/713) Add typehint to `ApiResponse`
1772 - [](https://github.com/stripe/stripe-php/pull/712#712](https://github.com/stripe/stripe-php/pull/712](https://github.com/stripe/stripe-php/pull/712) Fix comment
1773 - [](https://github.com/stripe/stripe-php/pull/701#701](https://github.com/stripe/stripe-php/pull/701](https://github.com/stripe/stripe-php/pull/701) Start testing PHP 7.3
1774
1775 ## 6.43.0 - 2019-08-09
1776
1777 - [](https://github.com/stripe/stripe-php/pull/694#694](https://github.com/stripe/stripe-php/pull/694](https://github.com/stripe/stripe-php/pull/694) Add `SubscriptionItem::createUsageRecord` method
1778
1779 ## 6.42.0 - 2019-08-09
1780
1781 - [](https://github.com/stripe/stripe-php/pull/688#688](https://github.com/stripe/stripe-php/pull/688](https://github.com/stripe/stripe-php/pull/688) Remove `SubscriptionScheduleRevision`
1782 - Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.
1783
1784 ## 6.41.0 - 2019-07-31
1785
1786 - [](https://github.com/stripe/stripe-php/pull/683#683](https://github.com/stripe/stripe-php/pull/683](https://github.com/stripe/stripe-php/pull/683) Move the List Balance History API to `/v1/balance_transactions`
1787
1788 ## 6.40.0 - 2019-06-27
1789
1790 - [](https://github.com/stripe/stripe-php/pull/675#675](https://github.com/stripe/stripe-php/pull/675](https://github.com/stripe/stripe-php/pull/675) Add support for `SetupIntent` resource and APIs
1791
1792 ## 6.39.2 - 2019-06-26
1793
1794 - [](https://github.com/stripe/stripe-php/pull/676#676](https://github.com/stripe/stripe-php/pull/676](https://github.com/stripe/stripe-php/pull/676) Fix exception message in `CustomerBalanceTransaction::update()`
1795
1796 ## 6.39.1 - 2019-06-25
1797
1798 - [](https://github.com/stripe/stripe-php/pull/674#674](https://github.com/stripe/stripe-php/pull/674](https://github.com/stripe/stripe-php/pull/674) Add new constants for `collection_method` on `Invoice`
1799
1800 ## 6.39.0 - 2019-06-24
1801
1802 - [](https://github.com/stripe/stripe-php/pull/673#673](https://github.com/stripe/stripe-php/pull/673](https://github.com/stripe/stripe-php/pull/673) Enable request latency telemetry by default
1803
1804 ## 6.38.0 - 2019-06-17
1805
1806 - [](https://github.com/stripe/stripe-php/pull/649#649](https://github.com/stripe/stripe-php/pull/649](https://github.com/stripe/stripe-php/pull/649) Add support for `CustomerBalanceTransaction` resource and APIs
1807
1808 ## 6.37.2 - 2019-06-17
1809
1810 - [](https://github.com/stripe/stripe-php/pull/671#671](https://github.com/stripe/stripe-php/pull/671](https://github.com/stripe/stripe-php/pull/671) Add new PHPDoc
1811 - [](https://github.com/stripe/stripe-php/pull/672#672](https://github.com/stripe/stripe-php/pull/672](https://github.com/stripe/stripe-php/pull/672) Add constants for `submit_type` on Checkout `Session`
1812
1813 ## 6.37.1 - 2019-06-14
1814
1815 - [](https://github.com/stripe/stripe-php/pull/670#670](https://github.com/stripe/stripe-php/pull/670](https://github.com/stripe/stripe-php/pull/670) Add new PHPDoc
1816
1817 ## 6.37.0 - 2019-05-23
1818
1819 - [](https://github.com/stripe/stripe-php/pull/663#663](https://github.com/stripe/stripe-php/pull/663](https://github.com/stripe/stripe-php/pull/663) Add support for `radar.early_fraud_warning` resource
1820
1821 ## 6.36.0 - 2019-05-22
1822
1823 - [](https://github.com/stripe/stripe-php/pull/661#661](https://github.com/stripe/stripe-php/pull/661](https://github.com/stripe/stripe-php/pull/661) Add constants for new TaxId types
1824 - [](https://github.com/stripe/stripe-php/pull/662#662](https://github.com/stripe/stripe-php/pull/662](https://github.com/stripe/stripe-php/pull/662) Add constants for BalanceTransaction types
1825
1826 ## 6.35.2 - 2019-05-20
1827
1828 - [](https://github.com/stripe/stripe-php/pull/655#655](https://github.com/stripe/stripe-php/pull/655](https://github.com/stripe/stripe-php/pull/655) Add constants for payment intent statuses
1829 - [](https://github.com/stripe/stripe-php/pull/659#659](https://github.com/stripe/stripe-php/pull/659](https://github.com/stripe/stripe-php/pull/659) Fix PHPDoc for various nested Account actions
1830 - [](https://github.com/stripe/stripe-php/pull/660#660](https://github.com/stripe/stripe-php/pull/660](https://github.com/stripe/stripe-php/pull/660) Fix various PHPDoc
1831
1832 ## 6.35.1 - 2019-05-20
1833
1834 - [](https://github.com/stripe/stripe-php/pull/658#658](https://github.com/stripe/stripe-php/pull/658](https://github.com/stripe/stripe-php/pull/658) Use absolute value when checking timestamp tolerance
1835
1836 ## 6.35.0 - 2019-05-14
1837
1838 - [](https://github.com/stripe/stripe-php/pull/651#651](https://github.com/stripe/stripe-php/pull/651](https://github.com/stripe/stripe-php/pull/651) Add support for the Capability resource and APIs
1839
1840 ## 6.34.6 - 2019-05-13
1841
1842 - [](https://github.com/stripe/stripe-php/pull/654#654](https://github.com/stripe/stripe-php/pull/654](https://github.com/stripe/stripe-php/pull/654) Fix typo in definition of `Event::PAYMENT_METHOD_ATTACHED` constant
1843
1844 ## 6.34.5 - 2019-05-06
1845
1846 - [](https://github.com/stripe/stripe-php/pull/647#647](https://github.com/stripe/stripe-php/pull/647](https://github.com/stripe/stripe-php/pull/647) Set the return type to static for more operations
1847
1848 ## 6.34.4 - 2019-05-06
1849
1850 - [](https://github.com/stripe/stripe-php/pull/650#650](https://github.com/stripe/stripe-php/pull/650](https://github.com/stripe/stripe-php/pull/650) Add missing constants for Event types
1851
1852 ## 6.34.3 - 2019-05-01
1853
1854 - [](https://github.com/stripe/stripe-php/pull/644#644](https://github.com/stripe/stripe-php/pull/644](https://github.com/stripe/stripe-php/pull/644) Update return type to `static` to improve static analysis
1855 - [](https://github.com/stripe/stripe-php/pull/645#645](https://github.com/stripe/stripe-php/pull/645](https://github.com/stripe/stripe-php/pull/645) Fix constant for `payment_intent.payment_failed`
1856
1857 ## 6.34.2 - 2019-04-26
1858
1859 - [](https://github.com/stripe/stripe-php/pull/642#642](https://github.com/stripe/stripe-php/pull/642](https://github.com/stripe/stripe-php/pull/642) Fix an issue where existing idempotency keys would be overwritten when using automatic retries
1860
1861 ## 6.34.1 - 2019-04-25
1862
1863 - [](https://github.com/stripe/stripe-php/pull/640#640](https://github.com/stripe/stripe-php/pull/640](https://github.com/stripe/stripe-php/pull/640) Add missing phpdocs
1864
1865 ## 6.34.0 - 2019-04-24
1866
1867 - [](https://github.com/stripe/stripe-php/pull/626#626](https://github.com/stripe/stripe-php/pull/626](https://github.com/stripe/stripe-php/pull/626) Add support for the `TaxRate` resource and APIs
1868 - [](https://github.com/stripe/stripe-php/pull/639#639](https://github.com/stripe/stripe-php/pull/639](https://github.com/stripe/stripe-php/pull/639) Fix multiple phpdoc issues
1869
1870 ## 6.33.0 - 2019-04-22
1871
1872 - [](https://github.com/stripe/stripe-php/pull/630#630](https://github.com/stripe/stripe-php/pull/630](https://github.com/stripe/stripe-php/pull/630) Add support for the `TaxId` resource and APIs
1873
1874 ## 6.32.1 - 2019-04-19
1875
1876 - [](https://github.com/stripe/stripe-php/pull/636#636](https://github.com/stripe/stripe-php/pull/636](https://github.com/stripe/stripe-php/pull/636) Correct type of `$personId` in PHPDoc
1877
1878 ## 6.32.0 - 2019-04-18
1879
1880 - [](https://github.com/stripe/stripe-php/pull/621#621](https://github.com/stripe/stripe-php/pull/621](https://github.com/stripe/stripe-php/pull/621) Add support for `CreditNote`
1881
1882 ## 6.31.5 - 2019-04-12
1883
1884 - [](https://github.com/stripe/stripe-php/pull/628#628](https://github.com/stripe/stripe-php/pull/628](https://github.com/stripe/stripe-php/pull/628) Add constants for `person.*` event types
1885 - [](https://github.com/stripe/stripe-php/pull/628#628](https://github.com/stripe/stripe-php/pull/628](https://github.com/stripe/stripe-php/pull/628) Add missing constants for `Account` and `Person`
1886
1887 ## 6.31.4 - 2019-04-05
1888
1889 - [](https://github.com/stripe/stripe-php/pull/624#624](https://github.com/stripe/stripe-php/pull/624](https://github.com/stripe/stripe-php/pull/624) Fix encoding of nested parameters in multipart requests
1890
1891 ## 6.31.3 - 2019-04-02
1892
1893 - [](https://github.com/stripe/stripe-php/pull/623#623](https://github.com/stripe/stripe-php/pull/623](https://github.com/stripe/stripe-php/pull/623) Only use HTTP/2 with curl >= 7.60.0
1894
1895 ## 6.31.2 - 2019-03-25
1896
1897 - [](https://github.com/stripe/stripe-php/pull/619#619](https://github.com/stripe/stripe-php/pull/619](https://github.com/stripe/stripe-php/pull/619) Fix PHPDoc return types for list methods for nested resources
1898
1899 ## 6.31.1 - 2019-03-22
1900
1901 - [](https://github.com/stripe/stripe-php/pull/612#612](https://github.com/stripe/stripe-php/pull/612](https://github.com/stripe/stripe-php/pull/612) Add a lot of constants
1902 - [](https://github.com/stripe/stripe-php/pull/614#614](https://github.com/stripe/stripe-php/pull/614](https://github.com/stripe/stripe-php/pull/614) Add missing subscription status constants
1903
1904 ## 6.31.0 - 2019-03-18
1905
1906 - [](https://github.com/stripe/stripe-php/pull/600#600](https://github.com/stripe/stripe-php/pull/600](https://github.com/stripe/stripe-php/pull/600) Add support for the `PaymentMethod` resource and APIs
1907 - [](https://github.com/stripe/stripe-php/pull/606#606](https://github.com/stripe/stripe-php/pull/606](https://github.com/stripe/stripe-php/pull/606) Add support for retrieving a Checkout `Session`
1908 - [](https://github.com/stripe/stripe-php/pull/611#611](https://github.com/stripe/stripe-php/pull/611](https://github.com/stripe/stripe-php/pull/611) Add support for deleting a Terminal `Location` and `Reader`
1909
1910 ## 6.30.5 - 2019-03-11
1911
1912 - [](https://github.com/stripe/stripe-php/pull/607#607](https://github.com/stripe/stripe-php/pull/607](https://github.com/stripe/stripe-php/pull/607) Correctly handle case where a metadata key is called `metadata`
1913
1914 ## 6.30.4 - 2019-02-27
1915
1916 - [](https://github.com/stripe/stripe-php/pull/602#602](https://github.com/stripe/stripe-php/pull/602](https://github.com/stripe/stripe-php/pull/602) Add `subscription_schedule` to `Subscription` for PHPDoc.
1917
1918 ## 6.30.3 - 2019-02-26
1919
1920 - [](https://github.com/stripe/stripe-php/pull/603#603](https://github.com/stripe/stripe-php/pull/603](https://github.com/stripe/stripe-php/pull/603) Improve PHPDoc on the `Source` object to cover all types of Sources currently supported.
1921
1922 ## 6.30.2 - 2019-02-25
1923
1924 - [](https://github.com/stripe/stripe-php/pull/601#601](https://github.com/stripe/stripe-php/pull/601](https://github.com/stripe/stripe-php/pull/601) Fix PHPDoc across multiple resources and add support for new events.
1925
1926 ## 6.30.1 - 2019-02-16
1927
1928 - [](https://github.com/stripe/stripe-php/pull/599#599](https://github.com/stripe/stripe-php/pull/599](https://github.com/stripe/stripe-php/pull/599) Fix PHPDoc for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
1929
1930 ## 6.30.0 - 2019-02-12
1931
1932 - [](https://github.com/stripe/stripe-php/pull/590#590](https://github.com/stripe/stripe-php/pull/590](https://github.com/stripe/stripe-php/pull/590) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
1933
1934 ## 6.29.3 - 2019-01-31
1935
1936 - [](https://github.com/stripe/stripe-php/pull/592#592](https://github.com/stripe/stripe-php/pull/592](https://github.com/stripe/stripe-php/pull/592) Some more PHPDoc fixes
1937
1938 ## 6.29.2 - 2019-01-31
1939
1940 - [](https://github.com/stripe/stripe-php/pull/591#591](https://github.com/stripe/stripe-php/pull/591](https://github.com/stripe/stripe-php/pull/591) Fix PHPDoc for nested resources
1941
1942 ## 6.29.1 - 2019-01-25
1943
1944 - [](https://github.com/stripe/stripe-php/pull/566#566](https://github.com/stripe/stripe-php/pull/566](https://github.com/stripe/stripe-php/pull/566) Fix dangling message contents
1945 - [](https://github.com/stripe/stripe-php/pull/586#586](https://github.com/stripe/stripe-php/pull/586](https://github.com/stripe/stripe-php/pull/586) Don't overwrite `CURLOPT_HTTP_VERSION` option
1946
1947 ## 6.29.0 - 2019-01-23
1948
1949 - [](https://github.com/stripe/stripe-php/pull/579#579](https://github.com/stripe/stripe-php/pull/579](https://github.com/stripe/stripe-php/pull/579) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
1950
1951 ## 6.28.1 - 2019-01-21
1952
1953 - [](https://github.com/stripe/stripe-php/pull/580#580](https://github.com/stripe/stripe-php/pull/580](https://github.com/stripe/stripe-php/pull/580) Properly serialize `individual` on `Account` objects
1954
1955 ## 6.28.0 - 2019-01-03
1956
1957 - [](https://github.com/stripe/stripe-php/pull/576#576](https://github.com/stripe/stripe-php/pull/576](https://github.com/stripe/stripe-php/pull/576) Add support for iterating directly over `Collection` instances
1958
1959 ## 6.27.0 - 2018-12-21
1960
1961 - [](https://github.com/stripe/stripe-php/pull/571#571](https://github.com/stripe/stripe-php/pull/571](https://github.com/stripe/stripe-php/pull/571) Add support for the `CheckoutSession` resource
1962
1963 ## 6.26.0 - 2018-12-11
1964
1965 - [](https://github.com/stripe/stripe-php/pull/568#568](https://github.com/stripe/stripe-php/pull/568](https://github.com/stripe/stripe-php/pull/568) Enable persistent connections
1966
1967 ## 6.25.0 - 2018-12-10
1968
1969 - [](https://github.com/stripe/stripe-php/pull/567#567](https://github.com/stripe/stripe-php/pull/567](https://github.com/stripe/stripe-php/pull/567) Add support for account links
1970
1971 ## 6.24.0 - 2018-11-28
1972
1973 - [](https://github.com/stripe/stripe-php/pull/562#562](https://github.com/stripe/stripe-php/pull/562](https://github.com/stripe/stripe-php/pull/562) Add support for the Review resource
1974 - [](https://github.com/stripe/stripe-php/pull/564#564](https://github.com/stripe/stripe-php/pull/564](https://github.com/stripe/stripe-php/pull/564) Add event name constants for subscription schedule aborted/expiring
1975
1976 ## 6.23.0 - 2018-11-27
1977
1978 - [](https://github.com/stripe/stripe-php/pull/542#542](https://github.com/stripe/stripe-php/pull/542](https://github.com/stripe/stripe-php/pull/542) Add support for `ValueList` and `ValueListItem` for Radar
1979
1980 ## 6.22.1 - 2018-11-20
1981
1982 - [](https://github.com/stripe/stripe-php/pull/561#561](https://github.com/stripe/stripe-php/pull/561](https://github.com/stripe/stripe-php/pull/561) Add cast and some docs to telemetry introduced in 6.22.0/549
1983
1984 ## 6.22.0 - 2018-11-15
1985
1986 - [](https://github.com/stripe/stripe-php/pull/549#549](https://github.com/stripe/stripe-php/pull/549](https://github.com/stripe/stripe-php/pull/549) Add support for client telemetry
1987
1988 ## 6.21.1 - 2018-11-12
1989
1990 - [](https://github.com/stripe/stripe-php/pull/548#548](https://github.com/stripe/stripe-php/pull/548](https://github.com/stripe/stripe-php/pull/548) Don't mutate `Exception` class properties from `OAuthBase` error
1991
1992 ## 6.21.0 - 2018-11-08
1993
1994 - [](https://github.com/stripe/stripe-php/pull/537#537](https://github.com/stripe/stripe-php/pull/537](https://github.com/stripe/stripe-php/pull/537) Add new API endpoints for the `Invoice` resource.
1995
1996 ## 6.20.1 - 2018-11-07
1997
1998 - [](https://github.com/stripe/stripe-php/pull/546#546](https://github.com/stripe/stripe-php/pull/546](https://github.com/stripe/stripe-php/pull/546) Drop files from the Composer package that aren't needed in the release
1999
2000 ## 6.20.0 - 2018-10-30
2001
2002 - [](https://github.com/stripe/stripe-php/pull/536#536](https://github.com/stripe/stripe-php/pull/536](https://github.com/stripe/stripe-php/pull/536) Add support for the `Person` resource
2003 - [](https://github.com/stripe/stripe-php/pull/541#541](https://github.com/stripe/stripe-php/pull/541](https://github.com/stripe/stripe-php/pull/541) Add support for the `WebhookEndpoint` resource
2004
2005 ## 6.19.5 - 2018-10-17
2006
2007 - [](https://github.com/stripe/stripe-php/pull/539#539](https://github.com/stripe/stripe-php/pull/539](https://github.com/stripe/stripe-php/pull/539) Fix methods on `\Stripe\PaymentIntent` to properly pass arguments to the API.
2008
2009 ## 6.19.4 - 2018-10-11
2010
2011 - [](https://github.com/stripe/stripe-php/pull/534#534](https://github.com/stripe/stripe-php/pull/534](https://github.com/stripe/stripe-php/pull/534) Fix PSR-4 autoloading for `\Stripe\FileUpload` class alias
2012
2013 ## 6.19.3 - 2018-10-09
2014
2015 - [](https://github.com/stripe/stripe-php/pull/530#530](https://github.com/stripe/stripe-php/pull/530](https://github.com/stripe/stripe-php/pull/530) Add constants for `flow` (`FLOW_*`), `status` (`STATUS_*`) and `usage` (`USAGE_*`) on `\Stripe\Source`
2016
2017 ## 6.19.2 - 2018-10-08
2018
2019 - [](https://github.com/stripe/stripe-php/pull/531#531](https://github.com/stripe/stripe-php/pull/531](https://github.com/stripe/stripe-php/pull/531) Store HTTP response headers in case-insensitive array
2020
2021 ## 6.19.1 - 2018-09-25
2022
2023 - [](https://github.com/stripe/stripe-php/pull/526#526](https://github.com/stripe/stripe-php/pull/526](https://github.com/stripe/stripe-php/pull/526) Ignore null values in request parameters
2024
2025 ## 6.19.0 - 2018-09-24
2026
2027 - [](https://github.com/stripe/stripe-php/pull/523#523](https://github.com/stripe/stripe-php/pull/523](https://github.com/stripe/stripe-php/pull/523) Add support for Stripe Terminal
2028
2029 ## 6.18.0 - 2018-09-24
2030
2031 - [](https://github.com/stripe/stripe-php/pull/520#520](https://github.com/stripe/stripe-php/pull/520](https://github.com/stripe/stripe-php/pull/520) Rename `\Stripe\FileUpload` to `\Stripe\File`
2032
2033 ## 6.17.2 - 2018-09-18
2034
2035 - [](https://github.com/stripe/stripe-php/pull/522#522](https://github.com/stripe/stripe-php/pull/522](https://github.com/stripe/stripe-php/pull/522) Fix warning when adding a new additional owner to an existing array
2036
2037 ## 6.17.1 - 2018-09-14
2038
2039 - [](https://github.com/stripe/stripe-php/pull/517#517](https://github.com/stripe/stripe-php/pull/517](https://github.com/stripe/stripe-php/pull/517) Integer-index encode all sequential arrays
2040
2041 ## 6.17.0 - 2018-09-05
2042
2043 - [](https://github.com/stripe/stripe-php/pull/514#514](https://github.com/stripe/stripe-php/pull/514](https://github.com/stripe/stripe-php/pull/514) Add support for reporting resources
2044
2045 ## 6.16.0 - 2018-08-23
2046
2047 - [](https://github.com/stripe/stripe-php/pull/509#509](https://github.com/stripe/stripe-php/pull/509](https://github.com/stripe/stripe-php/pull/509) Add support for usage record summaries
2048
2049 ## 6.15.0 - 2018-08-03
2050
2051 - [](https://github.com/stripe/stripe-php/pull/504#504](https://github.com/stripe/stripe-php/pull/504](https://github.com/stripe/stripe-php/pull/504) Add cancel support for topups
2052
2053 ## 6.14.0 - 2018-08-02
2054
2055 - [](https://github.com/stripe/stripe-php/pull/505#505](https://github.com/stripe/stripe-php/pull/505](https://github.com/stripe/stripe-php/pull/505) Add support for file links
2056
2057 ## 6.13.0 - 2018-07-31
2058
2059 - [](https://github.com/stripe/stripe-php/pull/502#502](https://github.com/stripe/stripe-php/pull/502](https://github.com/stripe/stripe-php/pull/502) Add `isDeleted()` method to `\Stripe\StripeObject`
2060
2061 ## 6.12.0 - 2018-07-28
2062
2063 - [](https://github.com/stripe/stripe-php/pull/501#501](https://github.com/stripe/stripe-php/pull/501](https://github.com/stripe/stripe-php/pull/501) Add support for scheduled query runs (`\Stripe\Sigma\ScheduledQueryRun`) for Sigma
2064
2065 ## 6.11.0 - 2018-07-26
2066
2067 - [](https://github.com/stripe/stripe-php/pull/500#500](https://github.com/stripe/stripe-php/pull/500](https://github.com/stripe/stripe-php/pull/500) Add support for Stripe Issuing
2068
2069 ## 6.10.4 - 2018-07-19
2070
2071 - [](https://github.com/stripe/stripe-php/pull/498#498](https://github.com/stripe/stripe-php/pull/498](https://github.com/stripe/stripe-php/pull/498) Internal improvements to the `\Stripe\ApiResource.classUrl()` method
2072
2073 ## 6.10.3 - 2018-07-16
2074
2075 - [](https://github.com/stripe/stripe-php/pull/497#497](https://github.com/stripe/stripe-php/pull/497](https://github.com/stripe/stripe-php/pull/497) Use HTTP/2 only for HTTPS requests
2076
2077 ## 6.10.2 - 2018-07-11
2078
2079 - [](https://github.com/stripe/stripe-php/pull/494#494](https://github.com/stripe/stripe-php/pull/494](https://github.com/stripe/stripe-php/pull/494) Enable HTTP/2 support
2080
2081 ## 6.10.1 - 2018-07-10
2082
2083 - [](https://github.com/stripe/stripe-php/pull/493#493](https://github.com/stripe/stripe-php/pull/493](https://github.com/stripe/stripe-php/pull/493) Add PHPDoc for `auto_advance` on `\Stripe\Invoice`
2084
2085 ## 6.10.0 - 2018-06-28
2086
2087 - [](https://github.com/stripe/stripe-php/pull/488#488](https://github.com/stripe/stripe-php/pull/488](https://github.com/stripe/stripe-php/pull/488) Add support for `$appPartnerId` to `Stripe::setAppInfo()`
2088
2089 ## 6.9.0 - 2018-06-28
2090
2091 - [](https://github.com/stripe/stripe-php/pull/487#487](https://github.com/stripe/stripe-php/pull/487](https://github.com/stripe/stripe-php/pull/487) Add support for payment intents
2092
2093 ## 6.8.2 - 2018-06-24
2094
2095 - [](https://github.com/stripe/stripe-php/pull/486#486](https://github.com/stripe/stripe-php/pull/486](https://github.com/stripe/stripe-php/pull/486) Make `Account.deauthorize()` return the `StripeObject` from the API
2096
2097 ## 6.8.1 - 2018-06-13
2098
2099 - [](https://github.com/stripe/stripe-php/pull/472#472](https://github.com/stripe/stripe-php/pull/472](https://github.com/stripe/stripe-php/pull/472) Added phpDoc for `ApiRequestor` and others, especially regarding thrown errors
2100
2101 ## 6.8.0 - 2018-06-13
2102
2103 - [](https://github.com/stripe/stripe-php/pull/481#481](https://github.com/stripe/stripe-php/pull/481](https://github.com/stripe/stripe-php/pull/481) Add new `\Stripe\Discount` and `\Stripe\OrderItem` classes, add more PHPDoc describing object attributes
2104
2105 ## 6.7.4 - 2018-05-29
2106
2107 - [](https://github.com/stripe/stripe-php/pull/480#480](https://github.com/stripe/stripe-php/pull/480](https://github.com/stripe/stripe-php/pull/480) PHPDoc changes for API version 2018-05-21 and the addition of the new `CHARGE_EXPIRED` event type
2108
2109 ## 6.7.3 - 2018-05-28
2110
2111 - [](https://github.com/stripe/stripe-php/pull/479#479](https://github.com/stripe/stripe-php/pull/479](https://github.com/stripe/stripe-php/pull/479) Fix unnecessary traits on `\Stripe\InvoiceLineItem`
2112
2113 ## 6.7.2 - 2018-05-28
2114
2115 - [](https://github.com/stripe/stripe-php/pull/471#471](https://github.com/stripe/stripe-php/pull/471](https://github.com/stripe/stripe-php/pull/471) Add `OBJECT_NAME` constant to all API resource classes, add `\Stripe\InvoiceLineItem` class
2116
2117 ## 6.7.1 - 2018-05-13
2118
2119 - [](https://github.com/stripe/stripe-php/pull/468#468](https://github.com/stripe/stripe-php/pull/468](https://github.com/stripe/stripe-php/pull/468) Update fields in PHP docs for accuracy
2120
2121 ## 6.7.0 - 2018-05-09
2122
2123 - [](https://github.com/stripe/stripe-php/pull/466#466](https://github.com/stripe/stripe-php/pull/466](https://github.com/stripe/stripe-php/pull/466) Add support for issuer fraud records
2124
2125 ## 6.6.0 - 2018-04-11
2126
2127 - [](https://github.com/stripe/stripe-php/pull/460#460](https://github.com/stripe/stripe-php/pull/460](https://github.com/stripe/stripe-php/pull/460) Add support for flexible billing primitives
2128
2129 ## 6.5.0 - 2018-04-05
2130
2131 - [](https://github.com/stripe/stripe-php/pull/461#461](https://github.com/stripe/stripe-php/pull/461](https://github.com/stripe/stripe-php/pull/461) Don't zero keys on non-`metadata` subobjects
2132
2133 ## 6.4.2 - 2018-03-17
2134
2135 - [](https://github.com/stripe/stripe-php/pull/458#458](https://github.com/stripe/stripe-php/pull/458](https://github.com/stripe/stripe-php/pull/458) Add PHPDoc for `account` on `\Stripe\Event`
2136
2137 ## 6.4.1 - 2018-03-02
2138
2139 - [](https://github.com/stripe/stripe-php/pull/455#455](https://github.com/stripe/stripe-php/pull/455](https://github.com/stripe/stripe-php/pull/455) Fix namespaces in PHPDoc
2140 - [](https://github.com/stripe/stripe-php/pull/456#456](https://github.com/stripe/stripe-php/pull/456](https://github.com/stripe/stripe-php/pull/456) Fix namespaces for some exceptions
2141
2142 ## 6.4.0 - 2018-02-28
2143
2144 - [](https://github.com/stripe/stripe-php/pull/453#453](https://github.com/stripe/stripe-php/pull/453](https://github.com/stripe/stripe-php/pull/453) Add constants for `reason` (`REASON_*`) and `status` (`STATUS_*`) on `\Stripe\Dispute`
2145
2146 ## 6.3.2 - 2018-02-27
2147
2148 - [](https://github.com/stripe/stripe-php/pull/452#452](https://github.com/stripe/stripe-php/pull/452](https://github.com/stripe/stripe-php/pull/452) Add PHPDoc for `amount_paid` and `amount_remaining` on `\Stripe\Invoice`
2149
2150 ## 6.3.1 - 2018-02-26
2151
2152 - [](https://github.com/stripe/stripe-php/pull/443#443](https://github.com/stripe/stripe-php/pull/443](https://github.com/stripe/stripe-php/pull/443) Add event types as constants to `\Stripe\Event` class
2153
2154 ## 6.3.0 - 2018-02-23
2155
2156 - [](https://github.com/stripe/stripe-php/pull/450#450](https://github.com/stripe/stripe-php/pull/450](https://github.com/stripe/stripe-php/pull/450) Add support for `code` attribute on all Stripe exceptions
2157
2158 ## 6.2.0 - 2018-02-21
2159
2160 - [](https://github.com/stripe/stripe-php/pull/440#440](https://github.com/stripe/stripe-php/pull/440](https://github.com/stripe/stripe-php/pull/440) Add support for topups
2161 - [](https://github.com/stripe/stripe-php/pull/442#442](https://github.com/stripe/stripe-php/pull/442](https://github.com/stripe/stripe-php/pull/442) Fix PHPDoc for `\Stripe\Error\SignatureVerification`
2162
2163 ## 6.1.0 - 2018-02-12
2164
2165 - [](https://github.com/stripe/stripe-php/pull/435#435](https://github.com/stripe/stripe-php/pull/435](https://github.com/stripe/stripe-php/pull/435) Fix header persistence on `Collection` objects
2166 - [](https://github.com/stripe/stripe-php/pull/436#436](https://github.com/stripe/stripe-php/pull/436](https://github.com/stripe/stripe-php/pull/436) Introduce new `Idempotency` error class
2167
2168 ## 6.0.0 - 2018-02-07
2169
2170 Major version release. List of backwards incompatible changes to watch out for:
2171
2172 - The minimum PHP version is now 5.4.0. If you're using PHP 5.3 or older, consider upgrading to a more recent version.
2173
2174 * `\Stripe\AttachedObject` no longer exists. Attributes that used to be instances of `\Stripe\AttachedObject` (such as `metadata`) are now instances of `\Stripe\StripeObject`.
2175
2176 - Attributes that used to be PHP arrays (such as `legal_entity->additional_owners` on `\Stripe\Account` instances) are now instances of `\Stripe\StripeObject`, except when they are empty. `\Stripe\StripeObject` has array semantics so this should not be an issue unless you are actively checking types.
2177
2178 * `\Stripe\Collection` now derives from `\Stripe\StripeObject` rather than from `\Stripe\ApiResource`.
2179
2180 Pull requests included in this release:
2181
2182 - [](https://github.com/stripe/stripe-php/pull/410#410](https://github.com/stripe/stripe-php/pull/410](https://github.com/stripe/stripe-php/pull/410) Drop support for PHP 5.3
2183 - [](https://github.com/stripe/stripe-php/pull/411#411](https://github.com/stripe/stripe-php/pull/411](https://github.com/stripe/stripe-php/pull/411) Use traits for common API operations
2184 - [](https://github.com/stripe/stripe-php/pull/414#414](https://github.com/stripe/stripe-php/pull/414](https://github.com/stripe/stripe-php/pull/414) Use short array syntax
2185 - [](https://github.com/stripe/stripe-php/pull/404#404](https://github.com/stripe/stripe-php/pull/404](https://github.com/stripe/stripe-php/pull/404) Fix serialization logic
2186 - [](https://github.com/stripe/stripe-php/pull/417#417](https://github.com/stripe/stripe-php/pull/417](https://github.com/stripe/stripe-php/pull/417) Remove `ExternalAccount` class
2187 - [](https://github.com/stripe/stripe-php/pull/418#418](https://github.com/stripe/stripe-php/pull/418](https://github.com/stripe/stripe-php/pull/418) Increase test coverage
2188 - [](https://github.com/stripe/stripe-php/pull/421#421](https://github.com/stripe/stripe-php/pull/421](https://github.com/stripe/stripe-php/pull/421) Update CA bundle and add script for future updates
2189 - [](https://github.com/stripe/stripe-php/pull/422#422](https://github.com/stripe/stripe-php/pull/422](https://github.com/stripe/stripe-php/pull/422) Use vendored CA bundle for all requests
2190 - [](https://github.com/stripe/stripe-php/pull/428#428](https://github.com/stripe/stripe-php/pull/428](https://github.com/stripe/stripe-php/pull/428) Support for automatic request retries
2191
2192 ## 5.9.2 - 2018-02-07
2193
2194 - [](https://github.com/stripe/stripe-php/pull/431#431](https://github.com/stripe/stripe-php/pull/431](https://github.com/stripe/stripe-php/pull/431) Update PHPDoc @property tags for latest API version
2195
2196 ## 5.9.1 - 2018-02-06
2197
2198 - [](https://github.com/stripe/stripe-php/pull/427#427](https://github.com/stripe/stripe-php/pull/427](https://github.com/stripe/stripe-php/pull/427) Add and update PHPDoc @property tags on all API resources
2199
2200 ## 5.9.0 - 2018-01-17
2201
2202 - [](https://github.com/stripe/stripe-php/pull/421#421](https://github.com/stripe/stripe-php/pull/421](https://github.com/stripe/stripe-php/pull/421) Updated bundled CA certificates
2203 - [](https://github.com/stripe/stripe-php/pull/423#423](https://github.com/stripe/stripe-php/pull/423](https://github.com/stripe/stripe-php/pull/423) Escape unsanitized input in OAuth example
2204
2205 ## 5.8.0 - 2017-12-20
2206
2207 - [](https://github.com/stripe/stripe-php/pull/403#403](https://github.com/stripe/stripe-php/pull/403](https://github.com/stripe/stripe-php/pull/403) Add `__debugInfo()` magic method to `StripeObject`
2208
2209 ## 5.7.0 - 2017-11-28
2210
2211 - [](https://github.com/stripe/stripe-php/pull/390#390](https://github.com/stripe/stripe-php/pull/390](https://github.com/stripe/stripe-php/pull/390) Remove some unsupported API methods
2212 - [](https://github.com/stripe/stripe-php/pull/391#391](https://github.com/stripe/stripe-php/pull/391](https://github.com/stripe/stripe-php/pull/391) Alphabetize the list of API resources in `Util::convertToStripeObject()` and add missing resources
2213 - [](https://github.com/stripe/stripe-php/pull/393#393](https://github.com/stripe/stripe-php/pull/393](https://github.com/stripe/stripe-php/pull/393) Fix expiry date update for card sources
2214
2215 ## 5.6.0 - 2017-10-31
2216
2217 - [](https://github.com/stripe/stripe-php/pull/386#386](https://github.com/stripe/stripe-php/pull/386](https://github.com/stripe/stripe-php/pull/386) Support for exchange rates APIs
2218
2219 ## 5.5.1 - 2017-10-30
2220
2221 - [](https://github.com/stripe/stripe-php/pull/387#387](https://github.com/stripe/stripe-php/pull/387](https://github.com/stripe/stripe-php/pull/387) Allow `personal_address_kana` and `personal_address_kanji` to be updated on an account
2222
2223 ## 5.5.0 - 2017-10-27
2224
2225 - [](https://github.com/stripe/stripe-php/pull/385#385](https://github.com/stripe/stripe-php/pull/385](https://github.com/stripe/stripe-php/pull/385) Support for listing source transactions
2226
2227 ## 5.4.0 - 2017-10-24
2228
2229 - [](https://github.com/stripe/stripe-php/pull/383#383](https://github.com/stripe/stripe-php/pull/383](https://github.com/stripe/stripe-php/pull/383) Add static methods to manipulate resources from parent
2230 - `Account` gains methods for external accounts and login links (e.g. `createExternalAccount`, `createLoginLink`)
2231 - `ApplicationFee` gains methods for refunds
2232 - `Customer` gains methods for sources
2233 - `Transfer` gains methods for reversals
2234
2235 ## 5.3.0 - 2017-10-11
2236
2237 - [](https://github.com/stripe/stripe-php/pull/378#378](https://github.com/stripe/stripe-php/pull/378](https://github.com/stripe/stripe-php/pull/378) Rename source `delete` to `detach` (and deprecate the former)
2238
2239 ## 5.2.3 - 2017-09-27
2240
2241 - Add PHPDoc for `Card`
2242
2243 ## 5.2.2 - 2017-09-20
2244
2245 - Fix deserialization mapping of `FileUpload` objects
2246
2247 ## 5.2.1 - 2017-09-14
2248
2249 - Serialized `shipping` nested attribute
2250
2251 ## 5.2.0 - 2017-08-29
2252
2253 - Add support for `InvalidClient` OAuth error
2254
2255 ## 5.1.3 - 2017-08-14
2256
2257 - Allow `address_kana` and `address_kanji` to be updated for custom accounts
2258
2259 ## 5.1.2 - 2017-08-01
2260
2261 - Fix documented return type of `autoPagingIterator()` (was missing namespace)
2262
2263 ## 5.1.1 - 2017-07-03
2264
2265 - Fix order returns to use the right URL `/v1/order_returns`
2266
2267 ## 5.1.0 - 2017-06-30
2268
2269 - Add support for OAuth
2270
2271 ## 5.0.0 - 2017-06-27
2272
2273 - `pay` on invoice now takes params as well as opts
2274
2275 ## 4.13.0 - 2017-06-19
2276
2277 - Add support for ephemeral keys
2278
2279 ## 4.12.0 - 2017-06-05
2280
2281 - Clients can implement `getUserAgentInfo()` to add additional user agent information
2282
2283 ## 4.11.0 - 2017-06-05
2284
2285 - Implement `Countable` for `AttachedObject` (`metadata` and `additional_owners`)
2286
2287 ## 4.10.0 - 2017-05-25
2288
2289 - Add support for login links
2290
2291 ## 4.9.1 - 2017-05-10
2292
2293 - Fix docs to include arrays on `$id` parameter for retrieve methods
2294
2295 ## 4.9.0 - 2017-04-28
2296
2297 - Support for checking webhook signatures
2298
2299 ## 4.8.1 - 2017-04-24
2300
2301 - Allow nested field `payout_schedule` to be updated
2302
2303 ## 4.8.0 - 2017-04-20
2304
2305 - Add `\Stripe\Stripe::setLogger()` to support an external PSR-3 compatible logger
2306
2307 ## 4.7.0 - 2017-04-10
2308
2309 - Add support for payouts and recipient transfers
2310
2311 ## 4.6.0 - 2017-04-06
2312
2313 - Please see 4.7.0 instead (no-op release)
2314
2315 ## 4.5.1 - 2017-03-22
2316
2317 - Remove hard dependency on cURL
2318
2319 ## 4.5.0 - 2017-03-20
2320
2321 - Support for detaching sources from customers
2322
2323 ## 4.4.2 - 2017-02-27
2324
2325 - Correct handling of `owner` parameter when updating sources
2326
2327 ## 4.4.1 - 2017-02-24
2328
2329 - Correct the error check on a bad JSON decoding
2330
2331 ## 4.4.0 - 2017-01-18
2332
2333 - Add support for updating sources
2334
2335 ## 4.3.0 - 2016-11-30
2336
2337 - Add support for verifying sources
2338
2339 ## 4.2.0 - 2016-11-21
2340
2341 - Add retrieve method for 3-D Secure resources
2342
2343 ## 4.1.1 - 2016-10-21
2344
2345 - Add docblock with model properties for `Plan`
2346
2347 ## 4.1.0 - 2016-10-18
2348
2349 - Support for 403 status codes (permission denied)
2350
2351 ## 4.0.1 - 2016-10-17
2352
2353 - Fix transfer reversal materialization
2354 - Fixes for some property definitions in docblocks
2355
2356 ## 4.0.0 - 2016-09-28
2357
2358 - Support for subscription items
2359 - Drop attempt to force TLS 1.2: please note that this could be breaking if you're using old OS distributions or packages and upgraded recently (so please make sure to test your integration!)
2360
2361 ## 3.23.0 - 2016-09-15
2362
2363 - Add support for Apple Pay domains
2364
2365 ## 3.22.0 - 2016-09-13
2366
2367 - Add `Stripe::setAppInfo` to allow plugins to register user agent information
2368
2369 ## 3.21.0 - 2016-08-25
2370
2371 - Add `Source` model for generic payment sources
2372
2373 ## 3.20.0 - 2016-08-08
2374
2375 - Add `getDeclineCode` to card errors
2376
2377 ## 3.19.0 - 2016-07-29
2378
2379 - Opt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context)
2380
2381 ## 3.18.0 - 2016-07-28
2382
2383 - Add new `STATUS_` constants for subscriptions
2384
2385 ## 3.17.1 - 2016-07-28
2386
2387 - Fix auto-paging iterator so that it plays nicely with `iterator_to_array`
2388
2389 ## 3.17.0 - 2016-07-14
2390
2391 - Add field annotations to model classes for better editor hinting
2392
2393 ## 3.16.0 - 2016-07-12
2394
2395 - Add `ThreeDSecure` model for 3-D secure payments
2396
2397 ## 3.15.0 - 2016-06-29
2398
2399 - Add static `update` method to all resources that can be changed.
2400
2401 ## 3.14.3 - 2016-06-20
2402
2403 - Make sure that cURL never sends `Expects: 100-continue`, even on large request bodies
2404
2405 ## 3.14.2 - 2016-06-03
2406
2407 - Add `inventory` under `SKU` to list of keys that have nested data and can be updated
2408
2409 ## 3.14.1 - 2016-05-27
2410
2411 - Fix some inconsistencies in PHPDoc
2412
2413 ## 3.14.0 - 2016-05-25
2414
2415 - Add support for returning Relay orders
2416
2417 ## 3.13.0 - 2016-05-04
2418
2419 - Add `list`, `create`, `update`, `retrieve`, and `delete` methods to the Subscription class
2420
2421 ## 3.12.1 - 2016-04-07
2422
2423 - Additional check on value arrays for some extra safety
2424
2425 ## 3.12.0 - 2016-03-31
2426
2427 - Fix bug `refreshFrom` on `StripeObject` would not take an `$opts` array
2428 - Fix bug where `$opts` not passed to parent `save` method in `Account`
2429 - Fix bug where non-existent variable was referenced in `reverse` in `Transfer`
2430 - Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
2431
2432 ## 3.11.0 - 2016-03-22
2433
2434 - Allow `CurlClient` to be initialized with default `CURLOPT_*` options
2435
2436 ## 3.10.1 - 2016-03-22
2437
2438 - Fix bug where request params and options were ignored in `ApplicationFee`'s `refund.`
2439
2440 ## 3.10.0 - 2016-03-15
2441
2442 - Add `reject` on `Account` to support the new API feature
2443
2444 ## 3.9.2 - 2016-03-04
2445
2446 - Fix error when an object's metadata is set more than once
2447
2448 ## 3.9.1 - 2016-02-24
2449
2450 - Fix encoding behavior of nested arrays for requests (see #227)
2451
2452 ## 3.9.0 - 2016-02-09
2453
2454 - Add automatic pagination mechanism with `autoPagingIterator()`
2455 - Allow global account ID to be set with `Stripe::setAccountId()`
2456
2457 ## 3.8.0 - 2016-02-08
2458
2459 - Add `CountrySpec` model for looking up country payment information
2460
2461 ## 3.7.1 - 2016-02-01
2462
2463 - Update bundled CA certs
2464
2465 ## 3.7.0 - 2016-01-27
2466
2467 - Support deleting Relay products and SKUs
2468
2469 ## 3.6.0 - 2016-01-05
2470
2471 - Allow configuration of HTTP client timeouts
2472
2473 ## 3.5.0 - 2015-12-01
2474
2475 - Add a verification routine for external accounts
2476
2477 ## 3.4.0 - 2015-09-14
2478
2479 - Products, SKUs, and Orders -- https://stripe.com/relay
2480
2481 ## 3.3.0 - 2015-09-11
2482
2483 - Add support for 429 Rate Limit response
2484
2485 ## 3.2.0 - 2015-08-17
2486
2487 - Add refund listing and retrieval without an associated charge
2488
2489 ## 3.1.0 - 2015-08-03
2490
2491 - Add dispute listing and retrieval
2492 - Add support for manage account deletion
2493
2494 ## 3.0.0 - 2015-07-28
2495
2496 - Rename `\Stripe\Object` to `\Stripe\StripeObject` (PHP 7 compatibility)
2497 - Rename `getCode` and `getParam` in exceptions to `getStripeCode` and `getStripeParam`
2498 - Add support for calling `json_encode` on Stripe objects in PHP 5.4+
2499 - Start supporting/testing PHP 7
2500
2501 ## 2.3.0 - 2015-07-06
2502
2503 - Add request ID to all Stripe exceptions
2504
2505 ## 2.2.0 - 2015-06-01
2506
2507 - Add support for Alipay accounts as sources
2508 - Add support for bank accounts as sources (private beta)
2509 - Add support for bank accounts and cards as external_accounts on Account objects
2510
2511 ## 2.1.4 - 2015-05-13
2512
2513 - Fix CA certificate file path (thanks @lphilps & @matthewarkin)
2514
2515 ## 2.1.3 - 2015-05-12
2516
2517 - Fix to account updating to permit `tos_acceptance` and `personal_address` to be set properly
2518 - Fix to Transfer reversal creation (thanks @neatness!)
2519 - Network requests are now done through a swappable class for easier mocking
2520
2521 ## 2.1.2 - 2015-04-10
2522
2523 - Remove SSL cert revokation checking (all pre-Heartbleed certs have expired)
2524 - Bug fixes to account updating
2525
2526 ## 2.1.1 - 2015-02-27
2527
2528 - Support transfer reversals
2529
2530 ## 2.1.0 - 2015-02-19
2531
2532 - Support new API version (2015-02-18)
2533 - Added Bitcoin Receiever update and delete actions
2534 - Edited tests to prefer "source" over "card" as per new API version
2535
2536 ## 2.0.1 - 2015-02-16
2537
2538 - Fix to fetching endpoints that use a non-default baseUrl (`FileUpload`)
2539
2540 ## 2.0.0 - 2015-02-14
2541
2542 - Bumped minimum version to 5.3.3
2543 - Switched to Stripe namespace instead of Stripe\_ class name prefiexes (thanks @chadicus!)
2544 - Switched tests to PHPUnit (thanks @chadicus!)
2545 - Switched style guide to PSR2 (thanks @chadicus!)
2546 - Added \$opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist across multiple object loads.
2547 - Added support for retrieving Account by ID
2548
2549 ## 1.18.0 - 2015-01-21
2550
2551 - Support making bitcoin charges through BitcoinReceiver source object
2552
2553 ## 1.17.5 - 2014-12-23
2554
2555 - Adding support for creating file uploads.
2556
2557 ## 1.17.4 - 2014-12-15
2558
2559 - Saving objects fetched with a custom key now works (thanks @JustinHook & @jpasilan)
2560 - Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds
2561
2562 ## 1.17.3 - 2014-11-06
2563
2564 - Better handling of HHVM support for SSL certificate blacklist checking.
2565
2566 ## 1.17.2 - 2014-09-23
2567
2568 - Coupons now are backed by a `Stripe_Coupon` instead of `Stripe_Object`, and support updating metadata
2569 - Running operations (`create`, `retrieve`, `all`) on upcoming invoice items now works
2570
2571 ## 1.17.1 - 2014-07-31
2572
2573 - Requests now send Content-Type header
2574
2575 ## 1.17.0 - 2014-07-29
2576
2577 - Application Fee refunds now a list instead of array
2578 - HHVM now works
2579 - Small bug fixes (thanks @bencromwell & @fastest963)
2580 - `__toString` now returns the name of the object in addition to its JSON representation
2581
2582 ## 1.16.0 - 2014-06-17
2583
2584 - Add metadata for refunds and disputes
2585
2586 ## 1.15.0 - 2014-05-28
2587
2588 - Support canceling transfers
2589
2590 ## 1.14.1 - 2014-05-21
2591
2592 - Support cards for recipients.
2593
2594 ## 1.13.1 - 2014-05-15
2595
2596 - Fix bug in account resource where `id` wasn't in the result
2597
2598 ## 1.13.0 - 2014-04-10
2599
2600 - Add support for certificate blacklisting
2601 - Update ca bundle
2602 - Drop support for HHVM (Temporarily)
2603
2604 ## 1.12.0 - 2014-04-01
2605
2606 - Add Stripe_RateLimitError for catching rate limit errors.
2607 - Update to Zend coding style (thanks, @jpiasetz)
2608
2609 ## 1.11.0 - 2014-01-29
2610
2611 - Add support for multiple subscriptions per customer
2612
2613 ## 1.10.1 - 2013-12-02
2614
2615 - Add new ApplicationFee
2616
2617 ## 1.9.1 - 2013-11-08
2618
2619 - Fix a bug where a null nestable object causes warnings to fire.
2620
2621 ## 1.9.0 - 2013-10-16
2622
2623 - Add support for metadata API.
2624
2625 ## 1.8.4 - 2013-09-18
2626
2627 - Add support for closing disputes.
2628
2629 ## 1.8.3 - 2013-08-13
2630
2631 - Add new Balance and BalanceTransaction
2632
2633 ## 1.8.2 - 2013-08-12
2634
2635 - Add support for unsetting attributes by updating to NULL. Setting properties to a blank string is now an error.
2636
2637 ## 1.8.1 - 2013-07-12
2638
2639 - Add support for multiple cards API (Stripe API version 2013-07-12: https://stripe.com/docs/upgrades#2013-07-05)
2640
2641 ## 1.8.0 - 2013-04-11
2642
2643 - Allow Transfers to be creatable
2644 - Add new Recipient resource
2645
2646 ## 1.7.15 - 2013-02-21
2647
2648 - Add 'id' to the list of permanent object attributes
2649
2650 ## 1.7.14 - 2013-02-20
2651
2652 - Don't re-encode strings that are already encoded in UTF-8. If you were previously using plan or coupon objects with UTF-8 IDs, they may have been treated as ISO-8859-1 (Latin-1) and encoded to UTF-8 a 2nd time. You may now need to pass the IDs to utf8_encode before passing them to Stripe_Plan::retrieve or Stripe_Coupon::retrieve.
2653 - Ensure that all input is encoded in UTF-8 before submitting it to Stripe's servers. (github issue #27)
2654
2655 ## 1.7.13 - 2013-02-01
2656
2657 - Add support for passing options when retrieving Stripe objects e.g., Stripe_Charge::retrieve(array("id"=>"foo", "expand" => array("customer"))); Stripe_Charge::retrieve("foo") will continue to work
2658
2659 ## 1.7.12 - 2013-01-15
2660
2661 - Add support for setting a Stripe API version override
2662
2663 ## 1.7.11 - 2012-12-30
2664
2665 - Version bump to cleanup constants and such (fix issue #26)
2666
2667 ## 1.7.10 - 2012-11-08
2668
2669 - Add support for updating charge disputes.
2670 - Fix bug preventing retrieval of null attributes
2671
2672 ## 1.7.9 - 2012-11-08
2673
2674 - Fix usage under autoloaders such as the one generated by composer (fix issue #22)
2675
2676 ## 1.7.8 - 2012-10-30
2677
2678 - Add support for creating invoices.
2679 - Add support for new invoice lines return format
2680 - Add support for new list objects
2681
2682 ## 1.7.7 - 2012-09-14
2683
2684 - Get all of the various version numbers in the repo in sync (no other changes)
2685
2686 ## 1.7.6 - 2012-08-31
2687
2688 - Add update and pay methods to Invoice resource
2689
2690 ## 1.7.5 - 2012-08-23
2691
2692 - Change internal function names so that Stripe_SingletonApiRequest is E_STRICT-clean (github issue #16)
2693
2694 ## 1.7.4 - 2012-08-21
2695
2696 - Bugfix so that Stripe objects (e.g. Customer, Charge objects) used in API calls are transparently converted to their object IDs
2697
2698 ## 1.7.3 - 2012-08-15
2699
2700 - Add new Account resource
2701
2702 ## 1.7.2 - 2012-06-26
2703
2704 - Make clearer that you should be including lib/Stripe.php, not test/Stripe.php (github issue #14)
2705
2706 ## 1.7.1 - 2012-05-24
2707
2708 - Add missing argument to Stripe_InvalidRequestError constructor in Stripe_ApiResource::instanceUrl. Fixes a warning when Stripe_ApiResource::instanceUrl is called on a resource with no ID (fix issue #12)
2709
2710 ## 1.7.0 - 2012-05-17
2711
2712 - Support Composer and Packagist (github issue #9)
2713 - Add new deleteDiscount method to Stripe_Customer
2714 - Add new Transfer resource
2715 - Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
2716 - Numerous test suite improvements
2717