Releases: stripe/stripe-php
Releases · stripe/stripe-php
v17.5.0-beta.1
- #1876 Update generated code for beta
- Change type of
Quote.subscription_data.billing_mode
fromenum('classic'|'flexible')
toQuotesResourceSubscriptionDataBillingMode
- Add support for new value
crypto
on enumQuotePreviewInvoice.payment_settings.payment_method_types
- Change type of
QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
fromenum('classic'|'flexible')
toSubscriptionsResourceBillingMode
- Remove support for
billing_mode_details
onSubscription
- Add support for new value
xx
on enumsV2.Core.Account.identity.country
,V2.Core.Person.additional_addresses[].country
,V2.Core.Person.address.country
, andV2.MoneyManagement.FinancialAccount.country
- Add support for new value
xx
on enumV2.Core.Person.nationalities
- Add support for
metadata
onV2.MoneyManagement.FinancialAccount
- Remove support for
description
onV2.MoneyManagement.FinancialAccount
- Add support for new value
pending
on enumV2.MoneyManagement.FinancialAccount.status
- Remove support for
attempts
onV2.Payments.OffSessionPayment
- Change type of
V2.Payments.OffSessionPayment.transfer_data.amount
frominteger
tonullable(integer)
- Change type of
V2.MoneyManagement.ReceivedCredit.balance_transfer.type
fromliteral('payout_v1')
toenum('outbound_payment'|'outbound_transfer'|'payout_v1')
- Change type of
V2.MoneyManagement.ReceivedCredit.balance_transfer.payout_v1
fromstring
tonullable(string)
- Change type of
v17.4.0
- #1880 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 new value
crypto
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Change type of
Dispute.enhanced_eligibility_types
fromliteral('visa_compelling_evidence_3')
toenum('visa_compelling_evidence_3'|'visa_compliance')
- Add support for new value
terminal.reader.action_updated
on enumEvent.type
- Add support for
related_person
onIdentity.VerificationSession
- Add support for new value
crypto
on enumsInvoice.payment_settings.payment_method_types
andSubscription.payment_settings.payment_method_types
- Add support for
crypto
onPaymentMethod
- Add support for new value
buut
on enumPaymentMethod.ideal.bank
- Add support for new value
BUUTNL2A
on enumPaymentMethod.ideal.bic
- Add support for
billing_mode
onSubscriptionSchedule
andSubscription
- Add support for new values
collect_payment_method
andconfirm_payment_intent
on enumTerminal.Reader.action.type
- Add support for snapshot event
TERMINAL_READER_ACTION_UPDATED
with resourceTerminal.Reader
- Add support for
- #1878 Update generated code
- Add constant
CURRENT_MAJOR
inApiVersion
- Add constant
v17.4.0-beta.2
- #1883 Pull in OffSessionPayment changes for the May release
v17.4.0-beta.1
This release changes the pinned API version to 2025-05-28.preview
.
-
#1864 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
all
,create
,retrieve
,update
, andvalidate
methods on resourceGiftCards.Card
- Remove support for
all
,cancel
,confirm
,create
,retrieve
, andupdate
methods on resourceGiftCards.Transaction
- Remove support for
provisioning
onProduct
- Remove support for snapshot event
BILLING_METER_ERROR_REPORT_TRIGGERED
with resourceBilling.MeterErrorReport
- Remove support for error codes
gift_card_balance_insufficient
,gift_card_code_exists
, andgift_card_inactive
onQuotePreviewInvoice.last_finalization_error
- Remove support for resources
- Remove support for
amount_remaining
andcredits
onOrder
- Change type of
PaymentAttemptRecord.metadata
andPaymentRecord.metadata
fromnullable(map(string: string))
tomap(string: string)
- Remove support for
async_workflows
onPaymentIntent
- Change type of
Privacy.RedactionJob.objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
- Change type of
Privacy.RedactionJob.status
fromstring
toenum
- Change type of
Privacy.RedactionJob.validation_behavior
fromstring
toenum('error'|'fix')
- Change type of
Privacy.RedactionJobValidationError.code
fromstring
toenum
- Change type of
Privacy.RedactionJobValidationError.erroring_object
frommap(string: string)
toRedactionResourceErroringObject
- Remove support for values
credits_attributed_to_debits
andlegacy_prorations
from enumsQuote.subscription_data.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
- Remove support for
status_details
andstatus
onTax.Association
Other changes
- Add support for
migrate
method on resourceSubscription
- Add support for
institution
onFinancialConnections.Account
- Add support for
countries
onFinancialConnections.Institution
- Add support for
hooks
onPaymentIntent
- Add support for
livemode
onPrivacy.RedactionJob
- Add support for new values
classic
andflexible
on enumsQuote.subscription_data.billing_mode
,QuotePreviewSubscriptionSchedule.billing_mode
,Subscription.billing_mode
, andSubscriptionSchedule.billing_mode
- Add support for
billing_mode_details
onSubscription
- Add support for
tax_transaction_attempts
onTax.Association
- Add support for error code
forwarding_api_upstream_error
onQuotePreviewInvoice.last_finalization_error
- Remove support for deprecated previews
v17.3.0
This release changes the pinned API version to 2025-05-28.basil
.
- #1871 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
refund_and_dispute_prefunding
onBalance
- Add support for
balance_type
onBalanceTransaction
- Add support for
post_payment_amount
andpre_payment_amount
onCreditNote
- Add support for new value
mixed
on enumCreditNote.type
- Add support for new value
invoice_payment.paid
on enumEvent.type
- Add support for
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
onPaymentMethodConfiguration
- Add support for
billing_thresholds
onSubscriptionItem
andSubscription
- Add support for
metadata
onTax.CalculationLineItem
- Add support for new value
collect_inputs
on enumTerminal.Reader.action.type
- Add support for new value
simulated_stripe_s700
on enumTerminal.Reader.device_type
- Add support for snapshot event
INVOICE_PAYMENT_PAID
with resourceInvoicePayment
- Add support for error code
forwarding_api_upstream_error
onInvoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
- Add support for
v17.2.1
v17.3.0-beta.1
-
#1859 Update generated code for beta
This release changes the pinned API version to2025-04-30.preview
.- Add support for new value
balance_settings.updated
on enumEvent.type
- Add support for new values
aw_tin
,az_tin
,bd_bin
,bf_ifu
,bj_ifu
,cm_niu
,cv_nif
,et_tin
,kg_tin
, andla_tin
on enumQuotePreviewInvoice.customer_tax_ids[].type
- Add support for
billing_mode
onQuotePreviewSubscriptionSchedule
,SubscriptionSchedule
, andSubscription
- Add support for new value
v17.2.0
This release changes the pinned API version to 2025-04-30.basil
.
- #1839 Update generated code
- Add support for new value
tax_id_prohibited
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
wallet_options
onCheckout.Session
- Add support for
context
onEvent
- Add support for new values
aw_tin
,az_tin
,bd_bin
,bf_ifu
,bj_ifu
,cm_niu
,cv_nif
,et_tin
,kg_tin
, andla_tin
on enumsInvoice.customer_tax_ids[].type
andTaxId.type
- Add support for new value
affirm
on enumsInvoice.payment_settings.payment_method_types
andSubscription.payment_settings.payment_method_types
- Add support for
pix
onPaymentMethodConfiguration
- Add support for
klarna
onPaymentMethodDomain
- Add support for
us_cfpb_data
onPerson
- Add support for
pending_reason
onRefund
- Change type of
Tax.CalculationLineItem.reference
fromnullable(string)
tostring
- Add support for new value
- #1857 Include new PHP 8.3 and 8.4 in CI
- #1856 Faster parallel runner for PHP formatter
v17.2.0-beta.4
- #1855 Update generated code for beta
- Add support for new resources
FxQuote
andPaymentIntentAmountDetailsLineItem
- Add support for
all
,create
, andretrieve
methods on resourceFxQuote
- Remove support for
attach_payment_intent
method on resourceInvoice
- Add support for
script
andtype
onCoupon
- Add support for new value
fx_quote.expired
on enumEvent.type
- Add support for new value
affirm
on enumsInvoice.payment_settings.payment_method_types
,QuotePreviewInvoice.payment_settings.payment_method_types
, andSubscription.payment_settings.payment_method_types
- Add support for
fx_quote
onPaymentIntent
andTransfer
- Add support for
pix
onPaymentMethodConfiguration
- Add support for
us_cfpb_data
onPerson
- Add support for
pending_reason
onRefund
- Add support for snapshot event
FX_QUOTE_EXPIRED
with resourceFxQuote
- Add support for new resources
v17.2.0-beta.3
-
#1849 Update generated code for beta
Breaking changes
- Change type of
V2.MoneyManagement.ReceivedDebit.status_transitions
froman object
tonullable(an object)
- Remove support for values
bank_accounts.local_uk
,bank_accounts.wire_uk
,cards_uk
, andcrypto_wallets_v2
from enumEventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
Additions
- Add support for new resources
Privacy.RedactionJobRootObjects
,Privacy.RedactionJobValidationError
, andPrivacy.RedactionJob
- Add support for
all
,cancel
,create
,retrieve
,run
,update
, andvalidate
methods on resourceRedactionJob
- Add support for
all
andretrieve
methods on resourceRedactionJobValidationError
- Add support for new value
tax_id_prohibited
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,QuotePreviewInvoice.last_finalization_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for new value
fixed_term_loan
on enumCapital.FinancingOffer.type
- Add support for
wallet_options
onCheckout.Session
- Add support for new values
privacy.redaction_job.canceled
,privacy.redaction_job.created
,privacy.redaction_job.ready
,privacy.redaction_job.succeeded
, andprivacy.redaction_job.validation_error
on enumEvent.type
- Add support for
klarna
onPaymentMethodDomain
- Change type of
Tax.CalculationLineItem.reference
fromnullable(string)
tostring
- Change type of
-
#1851 Handle external_account field
- Changes
external_account
field inExternalAccountService
from astring
to a union type.
- Changes