Skip to content

Commit 793b767

Browse files
Merge branch 'master' into add-claude-config
2 parents 75545d8 + a66dacd commit 793b767

File tree

129 files changed

+1965
-590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+1965
-590
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
# Changelog
2+
## 18.4.0 - 2026-02-25
3+
This release changes the pinned API version to `2026-02-25.clover`.
4+
5+
* [#1797](https://github.com/stripe/stripe-ruby/pull/1797) Update generated code
6+
* Add support for new resources `Reserve::Hold`, `Reserve::Plan`, and `Reserve::Release`
7+
* Add support for `location` and `reader` on `Charge::PaymentMethodDetail::CardPresent`, `Charge::PaymentMethodDetail::InteracPresent`, `ConfirmationToken::PaymentMethodPreview::Card::GeneratedFrom::PaymentMethodDetail::CardPresent`, `PaymentAttemptRecord::PaymentMethodDetail::CardPresent`, `PaymentAttemptRecord::PaymentMethodDetail::InteracPresent`, `PaymentMethod::Card::GeneratedFrom::PaymentMethodDetail::CardPresent`, `PaymentRecord::PaymentMethodDetail::CardPresent`, and `PaymentRecord::PaymentMethodDetail::InteracPresent`
8+
* Add support for `display_name` and `service_user_number` on `Mandate::PaymentMethodDetail::BacsDebit`
9+
* Change type of `PaymentAttemptRecord::PaymentMethodDetail::Boleto.tax_id` and `PaymentRecord::PaymentMethodDetail::Boleto.tax_id` from `string` to `nullable(string)`
10+
* Change type of `PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount.expected_debit_date` and `PaymentRecord::PaymentMethodDetail::UsBankAccount.expected_debit_date` from `nullable(string)` to `string`
11+
* Add support for `transaction_purpose` on `PaymentIntent::PaymentMethodOption::UsBankAccount`, `PaymentIntentConfirmParams::PaymentMethodOption::UsBankAccount`, `PaymentIntentCreateParams::PaymentMethodOption::UsBankAccount`, and `PaymentIntentUpdateParams::PaymentMethodOption::UsBankAccount`
12+
* Add support for `optional_items` on `PaymentLinkUpdateParams`
13+
* Remove support for unused `card_issuer_decline` on `Radar::PaymentEvaluation::Insight`
14+
* Add support for `payment_behavior` on `SubscriptionItemDeleteParams`
15+
* Add support for `lk` on `Tax::Registration::CountryOption` and `Tax::RegistrationCreateParams::CountryOption`
16+
* Add support for `cellular` and `stripe_s710` on `Terminal::ConfigurationCreateParams`, `Terminal::ConfigurationUpdateParams`, and `Terminal::Configuration`
17+
* [#1796](https://github.com/stripe/stripe-ruby/pull/1796) Ignore unset properties of V2 Request param classes when making requests
18+
* [#1786](https://github.com/stripe/stripe-ruby/pull/1786) Properly serialize null values in V2
19+
- Fixes a bug where V2 POST requests were not serializing `null` values.
20+
21+
222
## 18.3.1 - 2026-02-03
323
* [#1777](https://github.com/stripe/stripe-ruby/pull/1777)
4-
* References to Stripe objects from *Param class fields are now fully qualified in `stripe.rbi`. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.
24+
* References to Stripe objects from *Param class fields are now fully qualified in `stripe.rbi`. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.
525

626
## 18.3.0 - 2026-01-28
727
This release changes the pinned API version to `2026-01-28.clover`.

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9d04866843864b95eb2d5dbea5923816e446f09b
1+
e65e48569f6dfad2d5f1b58018017856520c3ae6

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2164
1+
v2186

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.3.1
1+
18.4.0

lib/stripe/api_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
module Stripe
55
module ApiVersion
6-
CURRENT = "2026-01-28.clover"
6+
CURRENT = "2026-02-25.clover"
77
CURRENT_MAJOR = "clover"
88
end
99
end

lib/stripe/object_types.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ def self.object_names_to_classes
111111
Refund.object_name => Refund,
112112
Reporting::ReportRun.object_name => Reporting::ReportRun,
113113
Reporting::ReportType.object_name => Reporting::ReportType,
114+
Reserve::Hold.object_name => Reserve::Hold,
115+
Reserve::Plan.object_name => Reserve::Plan,
116+
Reserve::Release.object_name => Reserve::Release,
114117
ReserveTransaction.object_name => ReserveTransaction,
115118
Reversal.object_name => Reversal,
116119
Review.object_name => Review,

lib/stripe/params/billing/alert_create_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def initialize(customer: nil, type: nil)
1818
end
1919
# The filters allows limiting the scope of this usage alert. You can only specify up to one filter at this time.
2020
attr_accessor :filters
21-
# Defines at which value the alert will fire.
21+
# Defines the threshold value that triggers the alert.
2222
attr_accessor :gte
2323
# The [Billing Meter](/api/billing/meter) ID whose usage is monitored.
2424
attr_accessor :meter

lib/stripe/params/billing_portal/session_create_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def initialize(
142142
@type = type
143143
end
144144
end
145-
# The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configuration) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
145+
# The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configurations) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
146146
attr_accessor :configuration
147147
# The ID of an existing customer.
148148
attr_accessor :customer

lib/stripe/params/checkout/session_create_params.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def initialize(label: nil, value: nil)
164164
@value = value
165165
end
166166
end
167-
# The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
167+
# The value that pre-fills the field on the payment page.Must match a `value` in the `options` array.
168168
attr_accessor :default_value
169169
# The options available for the customer to select. Up to 200 options allowed.
170170
attr_accessor :options
@@ -188,7 +188,7 @@ def initialize(custom: nil, type: nil)
188188
end
189189

190190
class Numeric < ::Stripe::RequestParams
191-
# The value that will pre-fill the field on the payment page.
191+
# The value that pre-fills the field on the payment page.
192192
attr_accessor :default_value
193193
# The maximum character length constraint for the customer's input.
194194
attr_accessor :maximum_length
@@ -203,7 +203,7 @@ def initialize(default_value: nil, maximum_length: nil, minimum_length: nil)
203203
end
204204

205205
class Text < ::Stripe::RequestParams
206-
# The value that will pre-fill the field on the payment page.
206+
# The value that pre-fills the field on the payment page.
207207
attr_accessor :default_value
208208
# The maximum character length constraint for the customer's input.
209209
attr_accessor :maximum_length
@@ -252,7 +252,7 @@ def initialize(
252252

253253
class CustomText < ::Stripe::RequestParams
254254
class AfterSubmit < ::Stripe::RequestParams
255-
# Text may be up to 1200 characters in length.
255+
# Text can be up to 1200 characters in length.
256256
attr_accessor :message
257257

258258
def initialize(message: nil)
@@ -261,7 +261,7 @@ def initialize(message: nil)
261261
end
262262

263263
class ShippingAddress < ::Stripe::RequestParams
264-
# Text may be up to 1200 characters in length.
264+
# Text can be up to 1200 characters in length.
265265
attr_accessor :message
266266

267267
def initialize(message: nil)
@@ -270,7 +270,7 @@ def initialize(message: nil)
270270
end
271271

272272
class Submit < ::Stripe::RequestParams
273-
# Text may be up to 1200 characters in length.
273+
# Text can be up to 1200 characters in length.
274274
attr_accessor :message
275275

276276
def initialize(message: nil)
@@ -279,7 +279,7 @@ def initialize(message: nil)
279279
end
280280

281281
class TermsOfServiceAcceptance < ::Stripe::RequestParams
282-
# Text may be up to 1200 characters in length.
282+
# Text can be up to 1200 characters in length.
283283
attr_accessor :message
284284

285285
def initialize(message: nil)
@@ -1086,7 +1086,7 @@ def initialize(capture_method: nil, setup_future_usage: nil)
10861086
class CustomerBalance < ::Stripe::RequestParams
10871087
class BankTransfer < ::Stripe::RequestParams
10881088
class EuBankTransfer < ::Stripe::RequestParams
1089-
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
1089+
# The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
10901090
attr_accessor :country
10911091

10921092
def initialize(country: nil)

lib/stripe/params/credit_note_create_params.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def initialize(amount: nil, tax_rate: nil, taxable_amount: nil)
2626
attr_accessor :invoice_line_item
2727
# The line item quantity to credit.
2828
attr_accessor :quantity
29-
# A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
29+
# A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
3030
attr_accessor :tax_amounts
31-
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
31+
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
3232
attr_accessor :tax_rates
33-
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
33+
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
3434
attr_accessor :type
3535
# The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
3636
attr_accessor :unit_amount

0 commit comments

Comments
 (0)