Skip to content

Releases: stripe/stripe-php

v20.3.0-alpha.4

17 Jun 23:03

Choose a tag to compare

v20.3.0-alpha.4 Pre-release
Pre-release
  • #2083 Update generated code for private-preview
    • Add support for retrieve method on resource Radar.CustomerEvaluation
    • Add support for disable_stripe_user_authentication on AccountSession.components.bills.features
    • Add support for tamara on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod.create().$params, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, SetupIntent.update().$params.payment_method_datum, and SharedPayment.GrantedToken.payment_method_details
    • Add support for status on Charge.payment_method_details.card.account_funding
    • ⚠️ Remove support for processed_transaction_type on Charge.payment_method_details.card.account_funding
    • Add support for items on Checkout\Session.create().$params
    • ⚠️ Remove support for brand on Checkout.Session.current_attempt.payment_method_details.card
    • ⚠️ Remove support for first6 on ConfirmationToken.payment_method_preview.gift_card, PaymentMethod.gift_card, and SharedPayment.GrantedToken.payment_method_details.gift_card
    • Add support for new value tamara on enums ConfirmationToken.payment_method_preview.type, PaymentMethod.type, and SharedPayment.GrantedToken.payment_method_details.type
    • Add support for fingerprint on GiftCard
    • Add support for blik on Mandate.payment_method_details
    • Add support for buyer_id on Order.create().$params.payment.setting.payment_method_option.wechat_pay, Order.payment.settings.payment_method_options.wechat_pay, Order.update().$params.payment.setting.payment_method_option.wechat_pay, PaymentIntent.confirm().$params.payment_method_option.wechat_pay, PaymentIntent.create().$params.payment_method_option.wechat_pay, PaymentIntent.payment_method_options.wechat_pay, and PaymentIntent.update().$params.payment_method_option.wechat_pay
    • Add support for new value mini_program on enums Order.payment.settings.payment_method_options.wechat_pay.client and PaymentIntent.payment_method_options.wechat_pay.client
    • Add support for payment_method_details on PaymentAttemptRecord.report_guaranteed().$params and PaymentRecord.report_payment_attempt_guaranteed().$params
    • Add support for failed and refund_group on PaymentAttemptRecord.report_refund().$params and PaymentRecord.report_refund().$params
    • Change type of PaymentAttemptRecord.report_refund().$params.outcome and PaymentRecord.report_refund().$params.outcome from literal('refunded') to enum('failed'|'refunded')
    • Add support for beneficiary_details on PaymentIntent.confirm().$params.payment_detail.money_service, PaymentIntent.create().$params.payment_detail.money_service, PaymentIntent.payment_details.money_services, and PaymentIntent.update().$params.payment_detail.money_service
    • ⚠️ Remove support for beneficiary_account and beneficiary_details on PaymentIntent.confirm().$params.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_detail.money_service.account_funding, PaymentIntent.payment_details.money_services.account_funding, and PaymentIntent.update().$params.payment_detail.money_service.account_funding
    • ⚠️ Remove support for sender_account on PaymentIntent.confirm().$params.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_detail.money_service.account_funding
    • Add support for given_name and surname on PaymentIntent.confirm().$params.payment_detail.money_service.account_funding.sender_detail, PaymentIntent.create().$params.payment_detail.money_service.account_funding.sender_detail, PaymentIntent.payment_details.money_services.account_funding.sender_details, and PaymentIntent.update().$params.payment_detail.money_service.account_funding.sender_detail
    • ⚠️ Remove support for name on PaymentIntent.confirm().$params.payment_detail.money_service.account_funding.sender_detail, PaymentIntent.create().$params.payment_detail.money_service.account_funding.sender_detail, PaymentIntent.payment_details.money_services.account_funding.sender_details, and PaymentIntent.update().$params.payment_detail.money_service.account_funding.sender_detail
    • Change type of PaymentIntent.confirm().$params.payment_method_option.card.capture_method, PaymentIntent.create().$params.payment_method_option.card.capture_method, and PaymentIntent.update().$params.payment_method_option.card.capture_method from literal('manual') to enum('automatic_delayed'|'manual')
    • ⚠️ Remove support for wallet on PaymentIntent.confirm().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.confirm().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.update().$params.payment_method_option.card.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding
    • Add support for transaction_verification_options on PaymentIntent.confirm().$params.payment_method_option.crypto, PaymentIntent.create().$params.payment_method_option.crypto, PaymentIntent.payment_method_options.crypto, and PaymentIntent.update().$params.payment_method_option.crypto
    • Change type of PaymentIntent.simulate_crypto_deposit().$params.token_currency from literal('usdc') to enum('usdc'|'usdg'|'usdp')
    • Add support for forced_capture on PaymentIntent.advanced_feature_details
    • Add support for new value tamara on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for wechat_pay_handle_app_redirect on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for ethereum and polygon on PaymentIntent.next_action.crypto_display_details.deposit_addresses
    • ⚠️ Change type of PaymentIntent.next_action.crypto_display_details.deposit_addresses.base.supported_tokens[].token_currency, PaymentIntent.next_action.crypto_display_details.deposit_addresses.solana.supported_tokens[].token_currency, and PaymentIntent.next_action.crypto_display_details.deposit_addresses.tempo.supported_tokens[].token_currency from literal('usdc') to enum('usdc'|'usdg'|'usdp')
    • Add support for beneficiary_account on PaymentIntent.payment_details.money_services
    • ⚠️ Change type of PaymentIntent.payment_method_options.card.capture_method from literal('manual') to enum('automatic_delayed'|'manual')
    • Add support for new value automatic_delayed on enum PaymentIntent.payment_method_options.card_present.capture_method
    • Add support for new values ethereum and polygon on enum PaymentIntent.payment_method_options.crypto.deposit_options.networks
    • Change type of PaymentLocation.update().$params.business_registration.siret from string to emptyable(string)
    • Add support for card on PaymentRecord.report_payment().$params.payment_method_detail and PaymentRecord.report_payment_attempt().$params.payment_method_detail
    • Change type of PaymentRecord.report_payment().$params.payment_method_detail.type and PaymentRecord.report_payment_attempt().$params.payment_method_detail.type from literal('custom') to enum('card'|'custom')
    • Add support for managed_payments on Product
    • Add support for payment_attempt_record on Refund.all().$params and Refund.create().$params
    • Add support for payment_record on Refund.all().$params
    • Add support for protections on V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.fifth_third.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card, V2.Core.Account.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.debit_card, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.prepaid_card, V2.Core.Account.configuration.customer.capabilities.automatic_indirect_tax, V2.Core.Account.configuration.merchant.capabilities.ach_debit_payments, V2.Core.Account.configuration.merchant.capabilities.acss_debit_payments, V2.Core.Account.configuration.merchant.capabilities.affirm_payments, V2.Core.Account.configuration.merchant.capabilities.afterpay_clearpay_payments, V2.Core.Account.configuration.merchant.capabilities.alma_payments, `V2.Core.Account.configuratio...
Read more

v20.2.1

12 Jun 22:42

Choose a tag to compare

  • #2079 Add "source" field to user-agent header

See the changelog for more details.

v20.3.0-alpha.3

10 Jun 21:50

Choose a tag to compare

v20.3.0-alpha.3 Pre-release
Pre-release

This release changes the pinned API version to 2026-06-10.preview.

  • #2082 Update generated code for private-preview
    • Add support for new resources GiftCardOperation, GiftCard, and TaxFund
    • Add support for retrieve method on resource GiftCardOperation
    • Add support for activate, cashout, check_balance, create, reload, retrieve, and void_operation methods on resource GiftCard
    • Add support for all and retrieve methods on resource TaxFund
    • Add support for update_crypto_refund_address method on resource PaymentIntent
    • Add support for performance_location_details on Tax.CalculationLineItem, Tax.TransactionLineItem, and Tax\Calculation.create().$params.line_item
    • ⚠️ Remove support for money_services on Charge.capture().$params.payment_detail, Charge.update().$params.payment_detail, and PaymentIntent.capture().$params.payment_detail
    • Add support for fr_meal_voucher on Charge.payment_method_details.card.benefits
    • Add support for multicapture on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentRecord.payment_method_details.card_present
    • Add support for pix on Checkout.Session.current_attempt.payment_method_details
    • Add support for new value jaywan on enum Checkout.Session.current_attempt.payment_method_details.card.brand
    • Add support for provisional_credit on Issuing.Dispute and Issuing\Dispute.update().$params
    • Add support for reason on PaymentAttemptRecord.report_canceled().$params and PaymentRecord.report_payment_attempt_canceled().$params
    • Add support for fiserv_valuelink, givex, and svs on PaymentAttemptRecord.processor_details and PaymentRecord.processor_details
    • ⚠️ Change type of PaymentAttemptRecord.processor_details.type and PaymentRecord.processor_details.type from literal('custom') to enum('custom'|'fiserv_valuelink'|'givex'|'svs')
    • Add support for capture_by and capture_delay on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.confirm().$params.payment_method_option.card, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card, PaymentIntent.payment_method_options.card_present, PaymentIntent.payment_method_options.card, PaymentIntent.update().$params.payment_method_option.card_present, and PaymentIntent.update().$params.payment_method_option.card
    • ⚠️ Remove support for liquid_asset on PaymentIntent.confirm().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.confirm().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.update().$params.payment_method_option.card.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding
    • Add support for request_multicapture on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.payment_method_options.card_present, and PaymentIntent.update().$params.payment_method_option.card_present
    • Add support for ignore_application_fee, ignore_transfer_data, and request_partial_authorization on PaymentIntent.confirm().$params.payment_method_option.gift_card, PaymentIntent.create().$params.payment_method_option.gift_card, and PaymentIntent.update().$params.payment_method_option.gift_card
    • Change PaymentIntent.confirm().$params.payment_detail.benefit.fr_meal_voucher.siret, PaymentIntent.create().$params.payment_detail.benefit.fr_meal_voucher.siret, PaymentIntent.update().$params.payment_detail.benefit.fr_meal_voucher.siret, SetupIntent.confirm().$params.setup_detail.benefit.fr_meal_voucher.siret, SetupIntent.create().$params.setup_detail.benefit.fr_meal_voucher.siret, and SetupIntent.update().$params.setup_detail.benefit.fr_meal_voucher.siret to be optional
    • Add support for latest_payment_attempt_record and payment_record on PaymentIntent
    • ⚠️ Remove support for reauthorization and reauthorize_before on PaymentIntent.advanced_feature_details
    • Add support for refund_address on PaymentIntent.next_action.crypto_display_details.deposit_addresses.base, PaymentIntent.next_action.crypto_display_details.deposit_addresses.solana, and PaymentIntent.next_action.crypto_display_details.deposit_addresses.tempo
    • Add support for location on PaymentIntent.payment_details and SetupIntent.setup_details
    • Add support for new value transaction_verification on enum PaymentIntent.payment_method_options.crypto.mode
    • Add support for data on Radar\AccountEvaluation.create().$params.login_initiated.client_device_metadata_detail, Radar\AccountEvaluation.create().$params.registration_initiated.client_device_metadata_detail, and Radar\CustomerEvaluation.create().$params.evaluation_context.client_detail
    • Change Radar\AccountEvaluation.create().$params.login_initiated.client_device_metadata_detail.radar_session, Radar\AccountEvaluation.create().$params.registration_initiated.client_device_metadata_detail.radar_session, and Radar\CustomerEvaluation.create().$params.evaluation_context.client_detail.radar_session to be optional
    • Add support for new value promotion on enum V2.Commerce.ProductCatalogImport.feed_type
    • ⚠️ Change type of V2.Core.FeeBatch.adjustments.tax_adjustment from amount to an object
    • ⚠️ Change type of V2.Core.FeeBatch.amount, V2.Core.FeeBatch.collection_records[].amount, V2.Core.FeeBatch.collection_records[].tax.amount, V2.Core.FeeBatch.tax.amount, V2.Core.FeeEntry.amount, and V2.Core.FeeEntry.tax.amount from amount to an object
    • Add support for new value tax_fund on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Add support for tax_fund on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
    • Add support for new value tax_fund on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type

See the changelog for more details.

v20.3.0-alpha.2

03 Jun 20:39

Choose a tag to compare

v20.3.0-alpha.2 Pre-release
Pre-release
  • #2074 Update generated code for private-preview
    • Add support for new resources DelegatedCheckout.OrderEvent, DelegatedCheckout.Order, V2.Billing.ContractLicensePricingQuantityChange, V2.Billing.Contract, and V2.Signals.AccountSignal
    • Add support for retrieve method on resource DelegatedCheckout.Order
    • Add support for list_orders method on resource DelegatedCheckout.RequestedSession
    • Add support for all and retrieve methods on resource V2.Signals.AccountSignal
    • Add support for activate, all, cancel, create, retrieve, and update methods on resource V2.Billing.Contract
    • Add support for birth_address on Account.create().$params.individual, Account.update().$params.individual, Person.create().$params, Person.update().$params, Person, Token.create().$params.account.individual, and Token.create().$params.person
    • Change type of Charge.capture().$params.payment_detail.money_service.transaction_type, Charge.update().$params.payment_detail.money_service.transaction_type, PaymentIntent.capture().$params.payment_detail.money_service.transaction_type, PaymentIntent.confirm().$params.payment_detail.money_service.transaction_type, PaymentIntent.create().$params.payment_detail.money_service.transaction_type, and PaymentIntent.update().$params.payment_detail.money_service.transaction_type from literal('account_funding') to enum('account_funding'|'debt_repayment')
    • Add support for new value proserv on enums Checkout.Session.automatic_surcharge.provider and PaymentLink.automatic_surcharge.provider
    • Add support for provisioning_decision and token_type on Issuing.Authorization.token_details and Issuing.Token
    • Add support for token_decision_recommendation on Issuing.Authorization.token_details.network_data.visa and Issuing.Token.network_data.visa
    • Add support for language on Issuing.Token.network_data.device
    • Add support for digital_asset_category on PaymentIntent.confirm().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.confirm().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.update().$params.payment_method_option.card.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding
    • Add support for static_address on PaymentIntent.confirm().$params.payment_method_option.crypto.deposit_option, PaymentIntent.create().$params.payment_method_option.crypto.deposit_option, PaymentIntent.payment_method_options.crypto.deposit_options, and PaymentIntent.update().$params.payment_method_option.crypto.deposit_option
    • Add support for payment_reference on PaymentIntent.create().$params.payments_orchestration
    • ⚠️ Remove support for payment_details on PaymentIntent.create().$params.payments_orchestration
    • ⚠️ Change type of PaymentIntent.payment_details.money_services.transaction_type from literal('account_funding') to enum('account_funding'|'debt_repayment')
    • Add support for ending_before, limit, and starting_after on PaymentLocation.all().$params
    • ⚠️ Change Radar\IssuingAuthorizationEvaluation.create().$params.card_detail.last4 to be required
    • Add support for schema on V2.Data.Reporting.QueryRun.result.file and V2.Reporting.ReportRun.result.file
    • Add support for new value payout_method_amount_limit_exceeded on enum V2.MoneyManagement.OutboundPayment.status_details.failed.reason
    • Add support for include on V2\Data\Reporting\QueryRun.retrieve().$params and V2\Reporting\ReportRun.retrieve().$params
    • Add support for requirements_collector on V2\Core\Account.create().$params.default.responsibility and V2\Core\Account.update().$params.default.responsibility
    • Add support for event notification V2SignalsAccountSignalMerchantDelinquencyReadyEvent with related object V2.Signals.AccountSignal

See the changelog for more details.

v20.3.0-beta.1

27 May 20:40

Choose a tag to compare

v20.3.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-05-27.private.

  • #2064 Update generated code for beta
    • Add support for pause method on resource Subscription
    • Add support for retrieve method on resource V2.Iam.ActivityLog
    • Add support for new value mastercard on enum Issuing.Settlement.network
    • Change type of ProductCatalog.TrialOffer.end_behavior.transition.price from string to expandable($Price)
    • Add support for amount_paid_off_stripe on QuotePreviewInvoice
    • Add support for new value twint on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for discountable on QuotePreviewSubscriptionSchedule.phases[].add_invoice_items[]
    • Add support for bizum and scalapay on SharedPayment.GrantedToken.payment_method_details
    • Add support for new values bizum and scalapay on enum SharedPayment.GrantedToken.payment_method_details.type
    • Change SharedPayment.GrantedToken.agent_details to be required
    • Change type of SubscriptionItem.billed_until from nullable(DateTime) to DateTime
    • Add support for payment_behavior on Subscription.resume().$params
    • Add support for status_details on Subscription
    • Change Subscription.billing_schedules to be required
    • Add support for new values ao_bank_account, az_bank_account, bd_bank_account, bo_bank_account, br_bank_account, cl_bank_account, ga_bank_account, gh_bank_account, gi_bank_account, hn_bank_account, kr_bank_account, kz_bank_account, la_bank_account, ne_bank_account, ng_bank_account, ni_bank_account, py_bank_account, sa_bank_account, sm_bank_account, and uy_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • ⚠️ Change type of V2.MoneyManagement.ReceivedCredit.bank_transfer.gb_bank_account.network from literal('fps') to enum('chaps'|'fps')
    • Add support for error codes payment_method_microdeposit_processing_error and siret_invalid on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v20.3.0-alpha.1

27 May 20:51

Choose a tag to compare

v20.3.0-alpha.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-05-27.private.

  • #2073 Update generated code for private-preview
    • Change type of Billing\Alert.create().$params.spend_threshold.group_by from literal('pricing_plan_subscription') to enum('billing_cadence'|'pricing_plan_subscription')
    • ⚠️ Change type of Billing.Alert.spend_threshold.group_by from literal('pricing_plan_subscription') to enum('billing_cadence'|'pricing_plan_subscription')
    • Change DelegatedCheckout.RequestedSession.affiliate_attributions to be required
    • Add support for new value institution_requirement on enum FinancialConnections.Account.status_details.inactive.cause
    • Add support for wechat_pay on Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for gift_card on PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, and PaymentIntent.update().$params.payment_method_option
    • Add support for payment_details on PaymentIntent.create().$params.payments_orchestration
    • Add support for enabled on PaymentIntent.payment_details.benefit.fr_meal_voucher and SetupIntent.setup_details.benefit.fr_meal_voucher
    • ⚠️ Remove support for login_failed, registration_failed, registration_success, and type on Radar\CustomerEvaluation.update().$params
    • ⚠️ Remove support for latest_version on V2.Billing.LicenseFee, V2.Billing.PricingPlan, and V2.Billing.RateCard
    • ⚠️ Remove support for service_interval_count and service_interval on V2.Billing.LicenseFee and V2.Billing.RateCard
    • Add support for debit_agreement on V2.MoneyManagement.ReceivedCredit.stripe_balance_payment
    • Add support for canonical_path on EventsV2CoreHealthTrafficVolumeDropFiringEvent.impact and EventsV2CoreHealthTrafficVolumeDropResolvedEvent.impact
    • Add support for snapshot event PAYMENT_INTENT_EXPIRED with resource PaymentIntent
    • Add support for event notifications V2CoreHealthElementsErrorFiringEvent, V2CoreHealthElementsErrorResolvedEvent, V2CoreHealthInvoiceCountDroppedFiringEvent, and V2CoreHealthInvoiceCountDroppedResolvedEvent

See the changelog for more details.

v20.2.0

27 May 20:28

Choose a tag to compare

This release changes the pinned API version to 2026-05-27.dahlia.

  • #2072 Update generated code
    • Add support for new resource V2.Commerce.ProductCatalogImport
    • Add support for create and retrieve methods on resource V2.Commerce.ProductCatalogImport
    • Add support for bizum_payments and scalapay_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for automatic_transfer_rules_by_currency on BalanceSettings.payments.payouts and BalanceSettings.update().$params.payment.payout
    • Add support for start_of_day on BalanceSettings.payments.settlement_timing and BalanceSettings.update().$params.payment.settlement_timing
    • Add support for description on Charge.create().$params.transfer_datum, PaymentIntent.create().$params.transfer_datum, PaymentIntent.transfer_data, and PaymentIntent.update().$params.transfer_datum
    • Add support for bizum on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_datum, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_option
    • Add support for scalapay on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout\Session.create().$params.payment_method_option, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, Refund.destination_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for mandate on Charge.payment_method_details.twint, PaymentAttemptRecord.payment_method_details.twint, and PaymentRecord.payment_method_details.twint
    • Change type of Checkout\Session.create().$params.payment_method_option.twint.setup_future_usage, PaymentIntent.confirm().$params.payment_method_option.twint.setup_future_usage, PaymentIntent.create().$params.payment_method_option.twint.setup_future_usage, and PaymentIntent.update().$params.payment_method_option.twint.setup_future_usage from literal('none') to enum('none'|'off_session')
    • ⚠️ Change type of Checkout.Session.payment_method_options.twint.setup_future_usage and PaymentIntent.payment_method_options.twint.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new values bizum and scalapay on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for credited_items on InvoiceItem.proration_details
    • Add support for discountable on Invoice.create_preview().$params.schedule_detail.phase.add_invoice_item, Subscription.create().$params.add_invoice_item, Subscription.update().$params.add_invoice_item, SubscriptionSchedule.create().$params.phase.add_invoice_item, SubscriptionSchedule.phases[].add_invoice_items[], and SubscriptionSchedule.update().$params.phase.add_invoice_item
    • Add support for billing_schedules on Invoice.create_preview().$params.subscription_detail, Subscription.create().$params, Subscription.update().$params, and Subscription
    • Add support for amount_paid_off_stripe on Invoice
    • Add support for new value twint on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for twint on Mandate.payment_method_details and SetupAttempt.payment_method_details
    • Add support for metadata on PaymentIntent.create().$params.transfer_datum, PaymentIntent.transfer_data, PaymentIntent.update().$params.transfer_datum, and Subscription.pending_update
    • Add support for payment_data on PaymentIntent.create().$params.transfer_datum, PaymentIntent.transfer_data, and PaymentIntent.update().$params.transfer_datum
    • Add support for new values bizum and scalapay on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for blik_authorize on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for payment_method_options on PaymentLink.create().$params, PaymentLink.update().$params, and PaymentLink
    • Add support for new value bizum on enum PaymentLink.payment_method_types
    • Add support for active on PaymentMethodConfiguration.all().$params
    • Add support for billed_until on SubscriptionItem
    • Add support for discount and discounts on Subscription.pending_update
    • Add support for verifone_m425, verifone_p630, verifone_ux700, and verifone_v660p on Terminal.Configuration, Terminal\Configuration.create().$params, and Terminal\Configuration.update().$params
    • Add support for api_error and print_content on Terminal.Reader.action
    • Add support for new value print_content on enum Terminal.Reader.action.type
    • Add support for new values simulated_verifone_m425, simulated_verifone_p630, simulated_verifone_ux700, simulated_verifone_v660p, verifone_m425, verifone_p630, verifone_ux700, and verifone_v660p on enum Terminal.Reader.device_type
    • Add support for customer on TestHelpers\TestClock.create().$params
    • Add support for signer on V2.Core.Account.identity.business_details.documents.proof_of_registration, V2.Core.Account.identity.business_details.documents.proof_of_ultimate_beneficial_ownership, V2\Core\Account.create().$params.identity.business_detail.document.proof_of_registration, V2\Core\Account.create().$params.identity.business_detail.document.proof_of_ultimate_beneficial_ownership, V2\Core\Account.update().$params.identity.business_detail.document.proof_of_registration, V2\Core\Account.update().$params.identity.business_detail.document.proof_of_ultimate_beneficial_ownership, V2\Core\AccountToken.create().$params.identity.business_detail.document.proof_of_registration, and V2\Core\AccountToken.create().$params.identity.business_detail.document.proof_of_ultimate_beneficial_ownership
    • Add support for azure_event_grid on V2.Core.EventDestination and V2\Core\EventDestination.create().$params
    • Add support for new value no_azure_partner_topic_exists on enum V2.Core.EventDestination.status_details.disabled.reason
    • Add support for new value azure_event_grid on enum V2.Core.EventDestination.type
    • Add support for new value meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code and EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code
    • Add support for event notifications V2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, and V2CommerceProductCatalogImportsSucceededWithErrorsEvent with related object V2.Commerce.ProductCatalogImport
    • Add support for error codes payment_method_microdeposit_processing_error and siret_invalid on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #2071 Emit warning when stripe-notify header is present in response

See the changelog for more details.

v20.2.0-alpha.6

21 May 00:19

Choose a tag to compare

v20.2.0-alpha.6 Pre-release
Pre-release
  • #2068 Update generated code for private-preview
    • Add support for new resource PaymentLocationCapability
    • Add support for all, retrieve, and update methods on resource PaymentLocationCapability
    • Add support for close and simulate_network_lifecycle_dispute_response test helper methods on resource Issuing.Dispute
    • Change type of DelegatedCheckout\RequestedSession.update().$params.discount.codes from array(string) to emptyable(array(string))
    • ⚠️ Remove support for credited_items on InvoiceItem.proration_details
    • Add support for balance_response on Issuing.Authorization
    • Add support for payment_evaluations on PaymentAttemptRecord.report_canceled().$params, PaymentAttemptRecord.report_failed().$params, PaymentRecord.report_payment().$params.failed, PaymentRecord.report_payment_attempt().$params.failed, PaymentRecord.report_payment_attempt_canceled().$params, and PaymentRecord.report_payment_attempt_failed().$params
    • Add support for enabled on PaymentIntent.confirm().$params.payment_detail.benefit.fr_meal_voucher, PaymentIntent.create().$params.payment_detail.benefit.fr_meal_voucher, PaymentIntent.update().$params.payment_detail.benefit.fr_meal_voucher, SetupIntent.confirm().$params.setup_detail.benefit.fr_meal_voucher, SetupIntent.create().$params.setup_detail.benefit.fr_meal_voucher, and SetupIntent.update().$params.setup_detail.benefit.fr_meal_voucher
    • Add support for advanced_feature_details and allowed_payment_method_types on PaymentIntent
    • Change type of PaymentLocation.update().$params.address.city from string to emptyable(string)
    • Change type of PaymentLocation.update().$params.address.line1 from string to emptyable(string)
    • Change type of PaymentLocation.update().$params.address.line2 from string to emptyable(string)
    • Change type of PaymentLocation.update().$params.address.postal_code from string to emptyable(string)
    • Change type of PaymentLocation.update().$params.address.state from string to emptyable(string)
    • Change Subscription.pause().$params.type to be optional
    • ⚠️ Remove support for payment_behavior on Subscription.resume().$params
    • ⚠️ Remove support for status_details on Subscription

See the changelog for more details.

v20.2.0-alpha.5

13 May 22:00

Choose a tag to compare

v20.2.0-alpha.5 Pre-release
Pre-release
  • #2067 Update generated code for private-preview
    • Add support for new resources V2.Core.FeeBatch, V2.Core.FeeEntry, V2.MoneyManagement.DebitDispute, and V2.MoneyManagement.FinancialAccountStatement
    • Add support for simulate_network_lifecycle_pre_arbitration_response and simulate_network_lifecycle_pre_arbitration_submission test helper methods on resource Issuing.Dispute
    • Add support for all method on resource PaymentLocation
    • Add support for all and retrieve methods on resources V2.Core.FeeBatch, V2.Core.FeeEntry, and V2.MoneyManagement.FinancialAccountStatement
    • Add support for all, create, and retrieve methods on resource V2.MoneyManagement.DebitDispute
    • Add support for discounts on DelegatedCheckout.RequestedSession, DelegatedCheckout\RequestedSession.create().$params, and DelegatedCheckout\RequestedSession.update().$params
    • Add support for amount_sale on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Add support for amount_discount and breakdown on DelegatedCheckout.RequestedSession.total_details
    • ⚠️ Remove support for check_deposit_address on Invoice.create().$params.payment_setting.payment_method_option.check_scan, Invoice.payment_settings.payment_method_options.check_scan, Invoice.update().$params.payment_setting.payment_method_option.check_scan, QuotePreviewInvoice.payment_settings.payment_method_options.check_scan, Subscription.create().$params.payment_setting.payment_method_option.check_scan, Subscription.payment_settings.payment_method_options.check_scan, and Subscription.update().$params.payment_setting.payment_method_option.check_scan
    • Add support for payment_evaluations on PaymentAttemptRecord.report_guaranteed().$params, PaymentRecord.report_payment().$params.guaranteed, PaymentRecord.report_payment_attempt().$params.guaranteed, and PaymentRecord.report_payment_attempt_guaranteed().$params
    • Add support for location on PaymentIntent.confirm().$params.payment_detail, PaymentIntent.create().$params.payment_detail, PaymentIntent.update().$params.payment_detail, SetupIntent.confirm().$params.setup_detail, SetupIntent.create().$params.setup_detail, and SetupIntent.update().$params.setup_detail
    • Add support for onboarding_data_update_acknowledged on PaymentLocation.update().$params
    • Change PaymentLocation.create().$params.address.country and PaymentLocation.update().$params.address.country to be optional
    • Add support for customer on Radar\CustomerEvaluation.update().$params
    • Add support for status on Radar.CustomerEvaluation and Radar\CustomerEvaluation.update().$params
    • Change Radar\CustomerEvaluation.update().$params.type to be optional
    • Add support for payment_behavior on Subscription.resume().$params
    • Add support for dispute_details on V2.MoneyManagement.ReceivedDebit
    • Add support for new value debit_dispute on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Add support for debit_dispute on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
    • Add support for new value debit_dispute on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type
    • Add support for payment_attempt_record on EventsV2PaymentsOffSessionPaymentAttemptFailedEvent and EventsV2PaymentsOffSessionPaymentFailedEvent
    • Add support for event notifications V2MoneyManagementFinancialAccountStatementCreatedEvent and V2MoneyManagementFinancialAccountStatementRestatedEvent with related object V2.MoneyManagement.FinancialAccountStatement

See the changelog for more details.

v20.2.0-alpha.4

06 May 21:04

Choose a tag to compare

v20.2.0-alpha.4 Pre-release
Pre-release
  • #2065 Update generated code for private-preview
    • Add support for new resource PaymentLocation
    • Add support for create, delete, retrieve, and update methods on resource PaymentLocation
    • Add support for protections on Account.create().$params.capability.card_payment, Account.update().$params.capability.card_payment, and Capability
    • Add support for gift_card on ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod.create().$params, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, SetupIntent.update().$params.payment_method_datum, and SharedPayment.GrantedToken.payment_method_details
    • Add support for new value gift_card on enums ConfirmationToken.payment_method_preview.type, PaymentMethod.type, and SharedPayment.GrantedToken.payment_method_details.type
    • Add support for metadata on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for credited_items on InvoiceItem.proration_details
    • Add support for network_lifecycle on Issuing.Dispute
    • Add support for new value gift_card on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for status_details on Subscription
  • #2066 Add EventNotificationHandler (private preview)

See the changelog for more details.