Releases: stripe/stripe-ruby
Releases · stripe/stripe-ruby
v15.4.0-beta.2
- #1625 Pull in V2 FinancialAccount changes for June release
- Add support for
close
andcreate
methods on resourceV2::MoneyManagement::FinancialAccount
- Add support for
storer
onV2::Core::Account::Configuration
,V2::Core::Account::CreateParams::Configuration
, andV2::Core::Account::UpdateParams::Configuration
- Add support for
status_details
onV2::MoneyManagement::FinancialAccount
- Add support for
status
onV2::MoneyManagement::FinancialAccount::ListParams
- Add support for thin events
V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
andV2CoreAccountIncludingConfigurationStorerUpdatedEvent
with related objectV2::Core::Account
- Add support for error types
AlreadyExistsError
andNonZeroBalanceError
- Add support for
v15.4.0-beta.1
- #1607 Update generated code for beta
- Change type of
Checkout::Session::CreateParams::SubscriptionDatum.billing_mode
,Invoice::CreatePreviewParams::ScheduleDetail.billing_mode
,Invoice::CreatePreviewParams::SubscriptionDetail.billing_mode
,Quote::CreateParams::SubscriptionDatum.billing_mode
,Quote::SubscriptionDatum.billing_mode
,Subscription::CreateParams.billing_mode
, andSubscriptionSchedule::CreateParams.billing_mode
fromenum('classic'|'flexible')
tobilling_mode
- Add support for
submission_method
onDispute::EvidenceDetail
- Add support for
on_demand
andsubscriptions
onOrder::CreateParams::Payment::Setting::PaymentMethodOption::Klarna
andOrder::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna
- Change type of
Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage
,Order::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage
, andOrder::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
- Add support for
crypto
onPaymentAttemptRecord::PaymentMethodDetail
andPaymentRecord::PaymentMethodDetail
- Change type of
PaymentIntent::ConfirmParams::PaymentMethodOption::Gopay.setup_future_usage
,PaymentIntent::CreateParams::PaymentMethodOption::Gopay.setup_future_usage
,PaymentIntent::PaymentMethodOption::Gopay.setup_future_usage
, andPaymentIntent::UpdateParams::PaymentMethodOption::Gopay.setup_future_usage
fromliteral('none')
toenum('none'|'off_session')
- Change
Quote::SubscriptionDatum.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
to be required - Change type of
QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
fromenum('classic'|'flexible')
toSubscriptionsResourceBillingMode
- Change type of
Subscription::MigrateParams.billing_mode
fromliteral('flexible')
tobilling_mode_migrate
- Remove support for
billing_mode_details
onSubscription
- Add support for
proof_of_address
onV2::Core::Account::CreateParams::Identity::BusinessDetail::Document
,V2::Core::Account::Identity::BusinessDetail::Document
, andV2::Core::Account::UpdateParams::Identity::BusinessDetail::Document
- Add support for
metadata
onV2::MoneyManagement::FinancialAccount
- Remove support for
description
onV2::MoneyManagement::FinancialAccount
- Remove support for
attempts
onV2::Payments::OffSessionPayment
- Change type of
V2::Payments::OffSessionPayment::TransferDatum.amount
frominteger
tonullable(integer)
- Add support for
from_account
,outbound_payment
, andoutbound_transfer
onV2::MoneyManagement::ReceivedCredit::BalanceTransfer
- Change type of
V2::MoneyManagement::ReceivedCredit::BalanceTransfer.type
fromliteral('payout_v1')
toenum('outbound_payment'|'outbound_transfer'|'payout_v1')
- Change type of
V2::MoneyManagement::ReceivedCredit::BalanceTransfer.payout_v1
fromstring
tonullable(string)
- Change
V2::Payments::OffSessionPayment::CreateParams::TransferDatum.amount
to be optional
- Change type of
v15.3.0
- #1618 Update generated code
- Add support for
migrate
method on resourceSubscription
- Add support for
collect_payment_method
andconfirm_payment_intent
methods on resourceTerminal::Reader
- Add support for
crypto_payments
onAccount::Capability
,Account::CreateParams::Capability
, andAccount::UpdateParams::Capability
- Add support for
proof_of_address
onAccount::CreateParams::Document
andAccount::UpdateParams::Document
- Add support for
monthly_payout_days
andweekly_payout_days
onAccount::CreateParams::Setting::Payout::Schedule
,Account::Setting::Payout::Schedule
, andAccount::UpdateParams::Setting::Payout::Schedule
- Change
Account::Setting::Invoice.hosted_payment_method_save
to be required - Add support for
crypto
onCharge::PaymentMethodDetail
,ConfirmationToken::CreateParams::PaymentMethodDatum
,ConfirmationToken::PaymentMethodPreview
,PaymentIntent::ConfirmParams::PaymentMethodDatum
,PaymentIntent::ConfirmParams::PaymentMethodOption
,PaymentIntent::CreateParams::PaymentMethodDatum
,PaymentIntent::CreateParams::PaymentMethodOption
,PaymentIntent::PaymentMethodOption
,PaymentIntent::UpdateParams::PaymentMethodDatum
,PaymentIntent::UpdateParams::PaymentMethodOption
,PaymentMethod::CreateParams
,PaymentMethod
,SetupIntent::ConfirmParams::PaymentMethodDatum
,SetupIntent::CreateParams::PaymentMethodDatum
, andSetupIntent::UpdateParams::PaymentMethodDatum
- Change type of
Charge::PaymentMethodDetail::Card::Installment::Plan.type
,ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type
,ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type
,Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type
,Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type
,PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type
,PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type
,PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type
,PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type
, andPaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.type
fromliteral('fixed_count')
toenum('bonus'|'fixed_count'|'revolving')
- Add support for
subscriptions
onCheckout::Session::CreateParams::PaymentMethodOption::Klarna
,PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna
,PaymentIntent::CreateParams::PaymentMethodOption::Klarna
, andPaymentIntent::UpdateParams::PaymentMethodOption::Klarna
- Add support for
billing_mode
onCheckout::Session::CreateParams::SubscriptionDatum
,Invoice::CreatePreviewParams::ScheduleDetail
,Invoice::CreatePreviewParams::SubscriptionDetail
,Quote::CreateParams::SubscriptionDatum
,Quote::SubscriptionDatum
,Subscription::CreateParams
,SubscriptionSchedule::CreateParams
,SubscriptionSchedule
, andSubscription
- Change type of
Dispute.enhanced_eligibility_types
fromliteral('visa_compelling_evidence_3')
toenum('visa_compelling_evidence_3'|'visa_compliance')
- Add support for
related_person
onIdentity::VerificationSession::CreateParams
andIdentity::VerificationSession
- Add support for
matching
onIdentity::VerificationSession::Option
- Add support for
klarna
onMandate::PaymentMethodDetail
,SetupIntent::ConfirmParams::PaymentMethodOption
,SetupIntent::CreateParams::PaymentMethodOption
,SetupIntent::PaymentMethodOption
, andSetupIntent::UpdateParams::PaymentMethodOption
- Add support for
on_demand
onPaymentIntent::ConfirmParams::PaymentMethodOption::Klarna
,PaymentIntent::CreateParams::PaymentMethodOption::Klarna
, andPaymentIntent::UpdateParams::PaymentMethodOption::Klarna
- Change type of
PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage
,PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage
,PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage
, andPaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
- Add support for
ua
onTax::Registration::CountryOption
andTax::Registration::CreateParams::CountryOption
- Change type of
Terminal::Location::UpdateParams.display_name
fromstring
toemptyable(string)
- Add support for
collect_payment_method
andconfirm_payment_intent
onTerminal::Reader::Action
- Add support for
status
onTreasury::FinancialAccount::ListParams
- Add support for
- #1615 Update README to mention that APIResource.request was removed
- #1619 Updated StripeClient snippets in README
- #1621 Disable flaky test in jruby/truffleruby
- #1620 Fix
raw_request
example in README
v15.3.0-beta.2
- #1623 Pull in OffSessionPayment changes for the May release
v15.2.1
v15.3.0-beta.1
This release changes the pinned API version to 2025-05-28.preview
.
-
#1599 Update generated code for beta
Breaking changes
- Remove support for deprecated previews
- Remove support for resources
Billing::MeterErrorReport
,GiftCards::Card
,GiftCards::Transaction
, andPrivacy::RedactionJobRootObjects
- Remove support for
create
,list
,retrieve
,update
, andvalidate
methods on resourceGiftCards::Card
- Remove support for
cancel
,confirm
,create
,list
,retrieve
, andupdate
methods on resourceGiftCards::Transaction
- Remove support for
provisioning
onProduct::CreateParams
andProduct
- Remove support for resources
- Change type of
Checkout::Session::UpdateParams::LineItem.quantity
fromemptyable(longInteger)
tolongInteger
- Change
CreditNote.post_payment_amount
to be required - Change
CreditNote.pre_payment_amount
to be required - Remove support for
credits
onOrder::CreateParams
,Order::UpdateParams
, andOrder
- Remove support for
amount_remaining
onOrder
- Remove support for
amount_credit
onOrder::TotalDetail
- Change type of
Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at
,Subscription::CreateParams.cancel_at
, andSubscription::UpdateParams.cancel_at
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
- Change type of
PaymentAttemptRecord.metadata
andPaymentRecord.metadata
fromnullable(map(string: string))
tomap(string: string)
- Change type of
PaymentRecord::ReportPaymentAttemptCanceledParams.metadata
,PaymentRecord::ReportPaymentAttemptFailedParams.metadata
,PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata
,PaymentRecord::ReportPaymentAttemptParams.metadata
, andPaymentRecord::ReportPaymentParams.metadata
frommap(string: string)
toemptyable(map(string: string))
- Change type of
Privacy::RedactionJob.objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
- Change type of
Privacy::RedactionJobValidationError.erroring_object
frommap(string: string)
toRedactionResourceErroringObject
- Remove support for
async_workflows
onPaymentIntent::CaptureParams
,PaymentIntent::ConfirmParams
,PaymentIntent::CreateParams
,PaymentIntent::DecrementAuthorizationParams
,PaymentIntent::IncrementAuthorizationParams
,PaymentIntent::UpdateParams
, andPaymentIntent
- Remove support for
status_details
andstatus
onTax::Association
Other changes
- Add support for
migrate
method on resourceSubscription
- Add support for
distance
,pickup_location_name
,return_location_name
, andvehicle_identification_number
onCharge::CaptureParams::PaymentDetail::CarRental
,Charge::UpdateParams::PaymentDetail::CarRental
,PaymentIntent::CaptureParams::PaymentDetail::CarRental
,PaymentIntent::ConfirmParams::PaymentDetail::CarRental
,PaymentIntent::CreateParams::PaymentDetail::CarRental
,PaymentIntent::PaymentDetail::CarRental
, andPaymentIntent::UpdateParams::PaymentDetail::CarRental
- Add support for
driver_identification_number
anddriver_tax_number
onCharge::CaptureParams::PaymentDetail::CarRental::Driver
,Charge::UpdateParams::PaymentDetail::CarRental::Driver
,PaymentIntent::CaptureParams::PaymentDetail::CarRental::Driver
,PaymentIntent::ConfirmParams::PaymentDetail::CarRental::Driver
,PaymentIntent::CreateParams::PaymentDetail::CarRental::Driver
,PaymentIntent::PaymentDetail::CarRental::Driver
, andPaymentIntent::UpdateParams::PaymentDetail::CarRental::Driver
- Add support for
institution
onFinancialConnections::Account
- Add support for
countries
onFinancialConnections::Institution
- Add support for
location
andreader
onPaymentAttemptRecord::PaymentMethodDetail::Affirm
,PaymentAttemptRecord::PaymentMethodDetail::WechatPay
,PaymentRecord::PaymentMethodDetail::Affirm
, andPaymentRecord::PaymentMethodDetail::WechatPay
- Add support for
hooks
onPaymentIntent::CaptureParams
,PaymentIntent::ConfirmParams
,PaymentIntent::CreateParams
,PaymentIntent::DecrementAuthorizationParams
,PaymentIntent::IncrementAuthorizationParams
,PaymentIntent::UpdateParams
, andPaymentIntent
- Add support for
card_present
onPaymentIntentAmountDetailsLineItem::PaymentMethodOption
- Add support for
livemode
onPrivacy::RedactionJob
- Add support for
billing_thresholds
onQuotePreviewSubscriptionSchedule::DefaultSetting
,QuotePreviewSubscriptionSchedule::Phase::Item
, andQuotePreviewSubscriptionSchedule::Phase
- Add support for
billing_mode_details
onSubscription
- Add support for
tax_transaction_attempts
onTax::Association
- Add support for
confirm_config
onTerminal::Reader::Action::ConfirmPaymentIntent
andTerminal::Reader::ConfirmPaymentIntentParams
- Remove support for deprecated previews
v15.2.0
This release changes the pinned API version to 2025-05-28.basil
.
- #1605 Update generated code
- Add support for
attach_payment
method on resourceInvoice
- Add support for
collect_inputs
method on resourceTerminal::Reader
- Add support for
succeed_input_collection
andtimeout_input_collection
test helper methods on resourceTerminal::Reader
- Add support for
pix_payments
onAccount::Capability
,Account::CreateParams::Capability
, andAccount::UpdateParams::Capability
- Add support for
disputes_list
andpayment_disputes
onAccountSession::Component
andAccountSession::CreateParams::Component
- Add support for
refund_and_dispute_prefunding
onBalance
- Add support for
balance_type
onBalanceTransaction
- Change
Billing::Alert::CreateParams::UsageThreshold.meter
to be required - Add support for
location
andreader
onCharge::PaymentMethodDetail::Affirm
andCharge::PaymentMethodDetail::WechatPay
- Add support for
payment_method_remove
onCheckout::Session::CreateParams::SavedPaymentMethodOption
- Add support for
setup_future_usage
onCheckout::Session::PaymentMethodOption::NaverPay
- Change
ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id
andPaymentMethod::NaverPay.buyer_id
to be required - Add support for
post_payment_amount
andpre_payment_amount
onCreditNote
- Add support for
sex
,unparsed_place_of_birth
, andunparsed_sex
onIdentity::VerificationReport::Document
andIdentity::VerificationSession::VerifiedOutput
- Add support for
billing_thresholds
onInvoice::CreatePreviewParams::ScheduleDetail::Phase::Item
,Invoice::CreatePreviewParams::ScheduleDetail::Phase
,Invoice::CreatePreviewParams::SubscriptionDetail::Item
,Subscription::CreateParams::Item
,Subscription::CreateParams
,Subscription::UpdateParams::Item
,Subscription::UpdateParams
,SubscriptionItem::CreateParams
,SubscriptionItem::UpdateParams
,SubscriptionItem
,SubscriptionSchedule::CreateParams::DefaultSetting
,SubscriptionSchedule::CreateParams::Phase::Item
,SubscriptionSchedule::CreateParams::Phase
,SubscriptionSchedule::DefaultSetting
,SubscriptionSchedule::Phase::Item
,SubscriptionSchedule::Phase
,SubscriptionSchedule::UpdateParams::DefaultSetting
,SubscriptionSchedule::UpdateParams::Phase::Item
,SubscriptionSchedule::UpdateParams::Phase
, andSubscription
- Add support for
satispay
onPaymentIntent::ConfirmParams::PaymentMethodOption
,PaymentIntent::CreateParams::PaymentMethodOption
,PaymentIntent::PaymentMethodOption
, andPaymentIntent::UpdateParams::PaymentMethodOption
- Add support for
capture_method
onPaymentIntent::PaymentMethodOption::Billie
- Add support for
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
onPaymentMethodConfiguration::CreateParams
,PaymentMethodConfiguration::UpdateParams
, andPaymentMethodConfiguration
- Add support for
network_decline_code
onRefund::DestinationDetail::Paypal
- Add support for
metadata
onTax::Calculation::CreateParams::LineItem
andTax::CalculationLineItem
- Add support for
return_url
onTerminal::Reader::Action::ProcessPaymentIntent::ProcessConfig
andTerminal::Reader::ProcessPaymentIntentParams::ProcessConfig
- Add support for
collect_inputs
onTerminal::Reader::Action
- Add support for
- #1601 Adds CONTRIBUTING.md
v15.2.0-beta.1
-
#1589 Update generated code for beta
This release changes the pinned API version to2025-04-30.preview
.- Add support for
billing_mode
onCheckout::Session::CreateParams::SubscriptionDatum
,Invoice::CreatePreviewParams::ScheduleDetail
,Invoice::CreatePreviewParams::SubscriptionDetail
,Quote::CreateParams::SubscriptionDatum
,Quote::SubscriptionDatum
,QuotePreviewSubscriptionSchedule
,Subscription::CreateParams
,SubscriptionSchedule::CreateParams
,SubscriptionSchedule
, andSubscription
- Change
Checkout::Session::AutomaticTax.provider
,Invoice::AutomaticTax.provider
,Quote::AutomaticTax.provider
, andQuotePreviewInvoice::AutomaticTax.provider
to be required - Add support for
account_number
onConfirmationToken::PaymentMethodPreview::AcssDebit
andPaymentMethod::AcssDebit
- Add support for
v15.1.0
This release changes the pinned API version to 2025-04-30.basil
.
- #1566 Update generated code
- Add support for
minority_owned_business_designation
onAccount::BusinessProfile
,Account::CreateParams::BusinessProfile
, andAccount::UpdateParams::BusinessProfile
- Add support for
registration_date
onAccount::Company
,Account::CreateParams::Company
,Account::UpdateParams::Company
, andToken::CreateParams::Account::Company
- Add support for
us_cfpb_data
onAccount::CreateParams
,Account::UpdateParams
,AccountPerson::CreateParams
,AccountPerson::UpdateParams
,Person
, andToken::CreateParams::Person
- Add support for
tax_id
onCharge::BillingDetail
,ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail
,ConfirmationToken::PaymentMethodPreview::BillingDetail
,PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail
,PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail
,PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail
,PaymentMethod::BillingDetail
,PaymentMethod::CreateParams::BillingDetail
,PaymentMethod::UpdateParams::BillingDetail
,SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail
,SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail
,SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail
,TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail
, andTreasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail
- Add support for
wallet_options
onCheckout::Session::CreateParams
andCheckout::Session
- Add support for
provider
onCheckout::Session::AutomaticTax
,Invoice::AutomaticTax
, andQuote::AutomaticTax
- Add support for
payment_method_options
onConfirmationToken::CreateParams
andTestHelpers::ConfirmationToken::CreateParams
- Add support for
installments
onConfirmationToken::PaymentMethodOption::Card
- Add support for
context
onEvent
- Change type of
InvoiceLineItem::Parent::SubscriptionItemDetail.subscription
fromstring
tonullable(string)
- Add support for
billie
onPaymentIntent::ConfirmParams::PaymentMethodOption
,PaymentIntent::CreateParams::PaymentMethodOption
,PaymentIntent::PaymentMethodOption
, andPaymentIntent::UpdateParams::PaymentMethodOption
- Add support for
pix
onPaymentMethodConfiguration::CreateParams
,PaymentMethodConfiguration::UpdateParams
, andPaymentMethodConfiguration
- Add support for
klarna
onPaymentMethodDomain
- Add support for
pending_reason
onRefund
- Change type of
Tax::CalculationLineItem.reference
fromnullable(string)
tostring
- Add support for
aw
,az
,bd
,bf
,bj
,cm
,cv
,et
,in
,kg
,la
, andph
onTax::Registration::CountryOption
andTax::Registration::CreateParams::CountryOption
- Add support for
- #1585 Updated rubocop from 1.57.2 to 1.75.2
- #1583 Include new Ruby 3.4 in CI
- #1581 Added rubocop exclusion for generated tests
v13.5.1
- #1576 Explicitly pass through custom headers in retrieve