Skip to content

Releases: stripe/stripe-php

v17.5.0-beta.1

01 Jul 20:36
Compare
Choose a tag to compare
v17.5.0-beta.1 Pre-release
Pre-release
  • #1876 Update generated code for beta
    • Change type of Quote.subscription_data.billing_mode from enum('classic'|'flexible') to QuotesResourceSubscriptionDataBillingMode
    • Add support for new value crypto on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Change type of QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode from enum('classic'|'flexible') to SubscriptionsResourceBillingMode
    • Remove support for billing_mode_details on Subscription
    • Add support for new value xx on enums V2.Core.Account.identity.country, V2.Core.Person.additional_addresses[].country, V2.Core.Person.address.country, and V2.MoneyManagement.FinancialAccount.country
    • Add support for new value xx on enum V2.Core.Person.nationalities
    • Add support for metadata on V2.MoneyManagement.FinancialAccount
    • Remove support for description on V2.MoneyManagement.FinancialAccount
    • Add support for new value pending on enum V2.MoneyManagement.FinancialAccount.status
    • Remove support for attempts on V2.Payments.OffSessionPayment
    • Change type of V2.Payments.OffSessionPayment.transfer_data.amount from integer to nullable(integer)
    • Change type of V2.MoneyManagement.ReceivedCredit.balance_transfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')
    • Change type of V2.MoneyManagement.ReceivedCredit.balance_transfer.payout_v1 from string to nullable(string)

See the changelog for more details.

v17.4.0

01 Jul 20:23
Compare
Choose a tag to compare
  • #1880 Update generated code
    • Add support for migrate method on resource Subscription
    • Add support for collect_payment_method and confirm_payment_intent methods on resource Terminal.Reader
    • Add support for new value crypto on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change type of Dispute.enhanced_eligibility_types from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')
    • Add support for new value terminal.reader.action_updated on enum Event.type
    • Add support for related_person on Identity.VerificationSession
    • Add support for new value crypto on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for crypto on PaymentMethod
    • Add support for new value buut on enum PaymentMethod.ideal.bank
    • Add support for new value BUUTNL2A on enum PaymentMethod.ideal.bic
    • Add support for billing_mode on SubscriptionSchedule and Subscription
    • Add support for new values collect_payment_method and confirm_payment_intent on enum Terminal.Reader.action.type
    • Add support for snapshot event TERMINAL_READER_ACTION_UPDATED with resource Terminal.Reader
  • #1878 Update generated code
    • Add constant CURRENT_MAJOR in ApiVersion

See the changelog for more details.

v17.4.0-beta.2

26 Jun 18:57
Compare
Choose a tag to compare
v17.4.0-beta.2 Pre-release
Pre-release
  • #1883 Pull in OffSessionPayment changes for the May release

See the changelog for more details.

v17.4.0-beta.1

28 May 20:31
Compare
Choose a tag to compare
v17.4.0-beta.1 Pre-release
Pre-release

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, and Privacy.RedactionJobRootObjects
      • Remove support for all, create, retrieve, update, and validate methods on resource GiftCards.Card
      • Remove support for all, cancel, confirm, create, retrieve, and update methods on resource GiftCards.Transaction
      • Remove support for provisioning on Product
      • Remove support for snapshot event BILLING_METER_ERROR_REPORT_TRIGGERED with resource Billing.MeterErrorReport
      • Remove support for error codes gift_card_balance_insufficient, gift_card_code_exists, and gift_card_inactive on QuotePreviewInvoice.last_finalization_error
    • Remove support for amount_remaining and credits on Order
    • Change type of PaymentAttemptRecord.metadata and PaymentRecord.metadata from nullable(map(string: string)) to map(string: string)
    • Remove support for async_workflows on PaymentIntent
    • Change type of Privacy.RedactionJob.objects from $Privacy.RedactionJobRootObjects to RedactionResourceRootObjects
    • Change type of Privacy.RedactionJob.status from string to enum
    • Change type of Privacy.RedactionJob.validation_behavior from string to enum('error'|'fix')
    • Change type of Privacy.RedactionJobValidationError.code from string to enum
    • Change type of Privacy.RedactionJobValidationError.erroring_object from map(string: string) to RedactionResourceErroringObject
    • Remove support for values credits_attributed_to_debits and legacy_prorations from enums Quote.subscription_data.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode
    • Remove support for status_details and status on Tax.Association

    Other changes

    • Add support for migrate method on resource Subscription
    • Add support for institution on FinancialConnections.Account
    • Add support for countries on FinancialConnections.Institution
    • Add support for hooks on PaymentIntent
    • Add support for livemode on Privacy.RedactionJob
    • Add support for new values classic and flexible on enums Quote.subscription_data.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode
    • Add support for billing_mode_details on Subscription
    • Add support for tax_transaction_attempts on Tax.Association
    • Add support for error code forwarding_api_upstream_error on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v17.3.0

28 May 18:59
Compare
Choose a tag to compare

This release changes the pinned API version to 2025-05-28.basil.

  • #1871 Update generated code
    • Add support for attach_payment method on resource Invoice
    • Add support for collect_inputs method on resource Terminal.Reader
    • Add support for succeed_input_collection and timeout_input_collection test helper methods on resource Terminal.Reader
    • Add support for refund_and_dispute_prefunding on Balance
    • Add support for balance_type on BalanceTransaction
    • Add support for post_payment_amount and pre_payment_amount on CreditNote
    • Add support for new value mixed on enum CreditNote.type
    • Add support for new value invoice_payment.paid on enum Event.type
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethodConfiguration
    • Add support for billing_thresholds on SubscriptionItem and Subscription
    • Add support for metadata on Tax.CalculationLineItem
    • Add support for new value collect_inputs on enum Terminal.Reader.action.type
    • Add support for new value simulated_stripe_s700 on enum Terminal.Reader.device_type
    • Add support for snapshot event INVOICE_PAYMENT_PAID with resource InvoicePayment
    • Add support for error code forwarding_api_upstream_error on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v17.2.1

19 May 19:03
Compare
Choose a tag to compare
  • #1869 Fixed type of map parameters(eg. metadata, currency_options) from StripeObject to array<KType, VType> in all methods.
  • #1866 Adds CONTRIBUTING.md

See the changelog for more details.

v17.3.0-beta.1

30 Apr 20:49
Compare
Choose a tag to compare
v17.3.0-beta.1 Pre-release
Pre-release
  • #1859 Update generated code for beta
    This release changes the pinned API version to 2025-04-30.preview.

    • Add support for new value balance_settings.updated on enum Event.type
    • 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 enum QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for billing_mode on QuotePreviewSubscriptionSchedule, SubscriptionSchedule, and Subscription

See the changelog for more details.

v17.2.0

30 Apr 19:20
Compare
Choose a tag to compare

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 enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for wallet_options on Checkout.Session
    • Add support for context on Event
    • 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
    • Add support for new value affirm on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for pix on PaymentMethodConfiguration
    • Add support for klarna on PaymentMethodDomain
    • Add support for us_cfpb_data on Person
    • Add support for pending_reason on Refund
    • Change type of Tax.CalculationLineItem.reference from nullable(string) to string
  • #1857 Include new PHP 8.3 and 8.4 in CI
  • #1856 Faster parallel runner for PHP formatter

See the changelog for more details.

v17.2.0-beta.4

17 Apr 21:37
Compare
Choose a tag to compare
v17.2.0-beta.4 Pre-release
Pre-release
  • #1855 Update generated code for beta
    • Add support for new resources FxQuote and PaymentIntentAmountDetailsLineItem
    • Add support for all, create, and retrieve methods on resource FxQuote
    • Remove support for attach_payment_intent method on resource Invoice
    • Add support for script and type on Coupon
    • Add support for new value fx_quote.expired on enum Event.type
    • Add support for new value affirm on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for fx_quote on PaymentIntent and Transfer
    • Add support for pix on PaymentMethodConfiguration
    • Add support for us_cfpb_data on Person
    • Add support for pending_reason on Refund
    • Add support for snapshot event FX_QUOTE_EXPIRED with resource FxQuote

See the changelog for more details.

v17.2.0-beta.3

10 Apr 19:19
Compare
Choose a tag to compare
v17.2.0-beta.3 Pre-release
Pre-release
  • #1849 Update generated code for beta

    Breaking changes

    • Change type of V2.MoneyManagement.ReceivedDebit.status_transitions from an object to nullable(an object)
    • Remove support for values bank_accounts.local_uk, bank_accounts.wire_uk, cards_uk, and crypto_wallets_v2 from enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability

    Additions

    • Add support for new resources Privacy.RedactionJobRootObjects, Privacy.RedactionJobValidationError, and Privacy.RedactionJob
    • Add support for all, cancel, create, retrieve, run, update, and validate methods on resource RedactionJob
    • Add support for all and retrieve methods on resource RedactionJobValidationError
    • Add support for new value tax_id_prohibited on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, QuotePreviewInvoice.last_finalization_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for new value fixed_term_loan on enum Capital.FinancingOffer.type
    • Add support for wallet_options on Checkout.Session
    • Add support for new values privacy.redaction_job.canceled, privacy.redaction_job.created, privacy.redaction_job.ready, privacy.redaction_job.succeeded, and privacy.redaction_job.validation_error on enum Event.type
    • Add support for klarna on PaymentMethodDomain
    • Change type of Tax.CalculationLineItem.reference from nullable(string) to string
  • #1851 Handle external_account field

    • Changes external_account field in ExternalAccountService from a string to a union type.

See the changelog for more details.