packagist stripe/stripe-php v20.1.0-alpha.3

7 hours ago
  • #2053 Update generated code for private-preview
    • Add support for payment_record on ApplicationFee.fee_source
    • Add support for fleet_data on Charge.capture().$params.payment_detail, Charge.update().$params.payment_detail, PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.capture().$params.payment_detail, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.confirm().$params.payment_detail, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.create().$params.payment_detail, PaymentIntent.decrement_authorization().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.increment_authorization().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.payment_details, PaymentIntent.update().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.update().$params.payment_detail, and PaymentIntentAmountDetailsLineItem.payment_method_options.card
    • Add support for beneficiary_account, beneficiary_details, sender_account, and sender_details on Charge.capture().$params.payment_detail.money_service.account_funding, Charge.update().$params.payment_detail.money_service.account_funding, PaymentIntent.capture().$params.payment_detail.money_service.account_funding, 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
    • 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 emptyable(literal('account_funding'))
    • Add support for new value requires_action on enum DelegatedCheckout.RequestedSession.status
    • Add support for bizum 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 new value bizum on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for quantity_precision on PaymentIntent.capture().$params.amount_detail.line_item, PaymentIntent.confirm().$params.amount_detail.line_item, PaymentIntent.create().$params.amount_detail.line_item, PaymentIntent.decrement_authorization().$params.amount_detail.line_item, PaymentIntent.increment_authorization().$params.amount_detail.line_item, PaymentIntent.update().$params.amount_detail.line_item, and PaymentIntentAmountDetailsLineItem
    • Add support for liquid_asset and 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 shared_payment_granted_token on PaymentMethod
    • ⚠️ Change type of Radar.CustomerEvaluation.event_type from string to enum('login'|'registration')
    • ⚠️ Change type of Radar.CustomerEvaluation.signals.account_sharing.risk_level and Radar.CustomerEvaluation.signals.multi_accounting.risk_level from string to enum
    • Add support for data on Radar.PaymentEvaluation.client_device_metadata_details and Radar\PaymentEvaluation.create().$params.client_device_metadata_detail
    • Add support for sunbit on SharedPayment.GrantedToken.payment_method_details
    • Add support for new value sunbit on enum SharedPayment.GrantedToken.payment_method_details.type
    • ⚠️ Remove support for values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin from enum V2.Core.Account.identity.business_details.id_numbers[].type
    • ⚠️ Remove support for values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp from enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Add support for error type CannotProceedException

See the changelog for more details.

Don't miss a new stripe-php release

NewReleases is sending notifications on new releases.