Skip to content

Releases: stripe/stripe-php

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.

v20.2.0-alpha.3

29 Apr 05:35

Choose a tag to compare

v20.2.0-alpha.3 Pre-release
Pre-release
  • #2063 Update generated code for private-preview
    • Add support for debit_card on V2.Core.Account.configuration.card_creator.capabilities.consumer.lead, V2.Core.Account.identity.attestations.terms_of_service.card_creator.consumer.lead, V2\Core\Account.create().$params.configuration.card_creator.capability.consumer.lead, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.consumer.lead, V2\Core\Account.update().$params.configuration.card_creator.capability.consumer.lead, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.consumer.lead
    • Add support for new value consumer.lead.debit_card on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value consumer.lead.debit_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v20.2.0-alpha.2

28 Apr 23:53

Choose a tag to compare

v20.2.0-alpha.2 Pre-release
Pre-release
  • #2062 Update generated code for private-preview
    • Add support for new resource V2.Data.Analytics.MetricQueryResult
    • Add support for create, retrieve, and revoke methods on resource SharedPayment.IssuedToken
    • Add support for create method on resource V2.Data.Analytics.MetricQueryResult
    • Add support for balance_report and payout_reconciliation_report on AccountSession.components and AccountSession.create().$params.component
    • Add support for app_distribution and sunbit_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for new values fee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.type
    • Add support for sunbit 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, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new values phantom_cash and usdt on enums Charge.payment_method_details.crypto.token_currency, PaymentAttemptRecord.payment_method_details.crypto.token_currency, and PaymentRecord.payment_method_details.crypto.token_currency
    • Add support for last4 on Charge.payment_method_details.gift_card, PaymentAttemptRecord.payment_method_details.gift_card, and PaymentRecord.payment_method_details.gift_card
    • Add support for location and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarna
    • Add support for blik on Checkout\Session.create().$params.payment_method_option, 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 values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.collected_information.tax_ids[].type, Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Order.tax_details.tax_ids[].type, QuotePreviewInvoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Change Checkout.Session.managed_payments, PaymentIntent.managed_payments, PaymentLink.managed_payments, and Subscription.managed_payments to be required
    • Add support for shared_payment_granted_token on ConfirmationToken.create().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new value sunbit on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change type of CreditNote.total_taxes[].tax_rate_details.tax_rate, CreditNoteLineItem.taxes[].tax_rate_details.tax_rate, Invoice.total_taxes[].tax_rate_details.tax_rate, InvoiceLineItem.taxes[].tax_rate_details.tax_rate, and QuotePreviewInvoice.total_taxes[].tax_rate_details.tax_rate from string to expandable($TaxRate)
    • Add support for buyer_consents on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for consents on DelegatedCheckout.RequestedSession.buyer_consents.marketing
    • Add support for new value blik on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Change Invoice.payment_settings.payment_method_options.pix, QuotePreviewInvoice.payment_settings.payment_method_options.pix, and Subscription.payment_settings.payment_method_options.pix to be required
    • Change Invoice.payment_settings.payment_method_options.upi, QuotePreviewInvoice.payment_settings.payment_method_options.upi, and Subscription.payment_settings.payment_method_options.upi to be required
    • Add support for payment_facilitator_id and sub_merchant_id on Issuing\Authorization.create().$params.merchant_datum, Issuing\Transaction.create_force_capture().$params.merchant_datum, and Issuing\Transaction.create_unlinked_refund().$params.merchant_datum
    • Add support for card_presence on Issuing.Authorization
    • Add support for allowed_card_presences and blocked_card_presences on Issuing.Card.spending_controls, Issuing.Cardholder.spending_controls, Issuing\Card.create().$params.spending_control, Issuing\Card.update().$params.spending_control, Issuing\Cardholder.create().$params.spending_control, and Issuing\Cardholder.update().$params.spending_control
    • Add support for new value fulfillment_error on enum Issuing.Card.cancellation_reason
    • Add support for new value fulfillment_error on enum Issuing.Card.replacement_reason
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.balance and PaymentRecord.payment_method_details.gift_card.balance from PaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmount to nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.brand and PaymentRecord.payment_method_details.gift_card.brand from enum('fiserv_valuelink'|'givex'|'svs') to nullable(enum('fiserv_valuelink'|'givex'|'svs'))
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.first6 and PaymentRecord.payment_method_details.gift_card.first6 from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.transaction_id and PaymentRecord.payment_method_details.gift_card.transaction_id from string to nullable(string)
    • Add support for amount_to_confirm on PaymentIntent.confirm().$params
    • Add support for new value sunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for klarna_display_qr_code on PaymentIntent.next_action
    • Add support for new value sunbit on enum PaymentLink.payment_method_types
    • Add support for validation_errors on Privacy.RedactionJob
    • Add support for tax_details on Product
    • ⚠️ Change type of Radar.PaymentEvaluation.client_device_metadata_details.radar_session from string to nullable(string)
    • Add support for new values low, not_assessed, and unknown on enum Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level
    • Add support for new value account on enum Radar.ValueList.item_type
    • Add support for moto on SetupAttempt.payment_method_details.card
    • Change SetupIntent.next_action.pix_display_qr_code.data to be required
    • Change SetupIntent.next_action.pix_display_qr_code.expires_at to be required
    • Change SetupIntent.next_action.pix_display_qr_code.hosted_instructions_url to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_png to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_svg to be required
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax\Registration.create().$params.country_option.me
    • Add support for purpose on Treasury.OutboundPayment and Treasury\OutboundPayment.create().$params
    • Add support for crypto_wallet on V2.MoneyManagement.FinancialAddress.credentials
    • Add support for mx_bank_account on V2.MoneyManagement.FinancialAddress.credentials and V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new values crypto_wallet and mx_bank_account on enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for crypto_wallet_transfer on V2.MoneyManagement.ReceivedCredit
    • Add support for eu_bank_account on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new values crypto_wallet, eu_bank_account, and mx_bank_account on enum V2.MoneyManagement.ReceivedCredit.bank_transfer.origin_type
    • Add support for new value crypto_wallet_transfer on enum V2.MoneyManagement.ReceivedCredit.type
    • Change V2\Payments\OffSessionPayment.capture().$params.metadata and V2\Payments\OffSessionPayment.create().$params.metadata to be optional
    • Add support for crypto_properties and settlement_currency on V2\MoneyManagement\FinancialAddress.create().$params
    • Add support for event notifications V2CoreApprovalRequestCreatedEvent and V2CoreApprovalRequestExpiredEvent with related object V2.Core.ApprovalRequest
    • Add support for event notification V2ExtendExtensionRunFailedEvent
    • Add support for error codes action_blocked and approval_required on `Invoice.last_finalization...
Read more