Releases: stripe/stripe-php
Releases · stripe/stripe-php
v20.3.0-alpha.3
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, andTaxFund - Add support for
retrievemethod on resourceGiftCardOperation - Add support for
activate,cashout,check_balance,create,reload,retrieve, andvoid_operationmethods on resourceGiftCard - Add support for
allandretrievemethods on resourceTaxFund - Add support for
update_crypto_refund_addressmethod on resourcePaymentIntent - Add support for
performance_location_detailsonTax.CalculationLineItem,Tax.TransactionLineItem, andTax\Calculation.create().$params.line_item ⚠️ Remove support formoney_servicesonCharge.capture().$params.payment_detail,Charge.update().$params.payment_detail, andPaymentIntent.capture().$params.payment_detail- Add support for
fr_meal_voucheronCharge.payment_method_details.card.benefits - Add support for
multicaptureonCharge.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, andPaymentRecord.payment_method_details.card_present - Add support for
pixonCheckout.Session.current_attempt.payment_method_details - Add support for new value
jaywanon enumCheckout.Session.current_attempt.payment_method_details.card.brand - Add support for
provisional_creditonIssuing.DisputeandIssuing\Dispute.update().$params - Add support for
reasononPaymentAttemptRecord.report_canceled().$paramsandPaymentRecord.report_payment_attempt_canceled().$params - Add support for
fiserv_valuelink,givex, andsvsonPaymentAttemptRecord.processor_detailsandPaymentRecord.processor_details ⚠️ Change type ofPaymentAttemptRecord.processor_details.typeandPaymentRecord.processor_details.typefromliteral('custom')toenum('custom'|'fiserv_valuelink'|'givex'|'svs')- Add support for
capture_byandcapture_delayonPaymentIntent.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, andPaymentIntent.update().$params.payment_method_option.card ⚠️ Remove support forliquid_assetonPaymentIntent.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, andPaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding- Add support for
request_multicaptureonPaymentIntent.confirm().$params.payment_method_option.card_present,PaymentIntent.create().$params.payment_method_option.card_present,PaymentIntent.payment_method_options.card_present, andPaymentIntent.update().$params.payment_method_option.card_present - Add support for
ignore_application_fee,ignore_transfer_data, andrequest_partial_authorizationonPaymentIntent.confirm().$params.payment_method_option.gift_card,PaymentIntent.create().$params.payment_method_option.gift_card, andPaymentIntent.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, andSetupIntent.update().$params.setup_detail.benefit.fr_meal_voucher.siretto be optional - Add support for
latest_payment_attempt_recordandpayment_recordonPaymentIntent ⚠️ Remove support forreauthorizationandreauthorize_beforeonPaymentIntent.advanced_feature_details- Add support for
refund_addressonPaymentIntent.next_action.crypto_display_details.deposit_addresses.base,PaymentIntent.next_action.crypto_display_details.deposit_addresses.solana, andPaymentIntent.next_action.crypto_display_details.deposit_addresses.tempo - Add support for
locationonPaymentIntent.payment_detailsandSetupIntent.setup_details - Add support for new value
transaction_verificationon enumPaymentIntent.payment_method_options.crypto.mode - Add support for
dataonRadar\AccountEvaluation.create().$params.login_initiated.client_device_metadata_detail,Radar\AccountEvaluation.create().$params.registration_initiated.client_device_metadata_detail, andRadar\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, andRadar\CustomerEvaluation.create().$params.evaluation_context.client_detail.radar_sessionto be optional - Add support for new value
promotionon enumV2.Commerce.ProductCatalogImport.feed_type ⚠️ Change type ofV2.Core.FeeBatch.adjustments.tax_adjustmentfromamounttoan object⚠️ Change type ofV2.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, andV2.Core.FeeEntry.tax.amountfromamounttoan object- Add support for new value
tax_fundon enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.transaction_details.category - Add support for
tax_fundonV2.MoneyManagement.Transaction.flowandV2.MoneyManagement.TransactionEntry.transaction_details.flow - Add support for new value
tax_fundon enumsV2.MoneyManagement.Transaction.flow.typeandV2.MoneyManagement.TransactionEntry.transaction_details.flow.type
- Add support for new resources
v20.3.0-alpha.2
- #2074 Update generated code for private-preview
- Add support for new resources
DelegatedCheckout.OrderEvent,DelegatedCheckout.Order,V2.Billing.ContractLicensePricingQuantityChange,V2.Billing.Contract, andV2.Signals.AccountSignal - Add support for
retrievemethod on resourceDelegatedCheckout.Order - Add support for
list_ordersmethod on resourceDelegatedCheckout.RequestedSession - Add support for
allandretrievemethods on resourceV2.Signals.AccountSignal - Add support for
activate,all,cancel,create,retrieve, andupdatemethods on resourceV2.Billing.Contract - Add support for
birth_addressonAccount.create().$params.individual,Account.update().$params.individual,Person.create().$params,Person.update().$params,Person,Token.create().$params.account.individual, andToken.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, andPaymentIntent.update().$params.payment_detail.money_service.transaction_typefromliteral('account_funding')toenum('account_funding'|'debt_repayment') - Add support for new value
proservon enumsCheckout.Session.automatic_surcharge.providerandPaymentLink.automatic_surcharge.provider - Add support for
provisioning_decisionandtoken_typeonIssuing.Authorization.token_detailsandIssuing.Token - Add support for
token_decision_recommendationonIssuing.Authorization.token_details.network_data.visaandIssuing.Token.network_data.visa - Add support for
languageonIssuing.Token.network_data.device - Add support for
digital_asset_categoryonPaymentIntent.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, andPaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding - Add support for
static_addressonPaymentIntent.confirm().$params.payment_method_option.crypto.deposit_option,PaymentIntent.create().$params.payment_method_option.crypto.deposit_option,PaymentIntent.payment_method_options.crypto.deposit_options, andPaymentIntent.update().$params.payment_method_option.crypto.deposit_option - Add support for
payment_referenceonPaymentIntent.create().$params.payments_orchestration ⚠️ Remove support forpayment_detailsonPaymentIntent.create().$params.payments_orchestration⚠️ Change type ofPaymentIntent.payment_details.money_services.transaction_typefromliteral('account_funding')toenum('account_funding'|'debt_repayment')- Add support for
ending_before,limit, andstarting_afteronPaymentLocation.all().$params ⚠️ ChangeRadar\IssuingAuthorizationEvaluation.create().$params.card_detail.last4to be required- Add support for
schemaonV2.Data.Reporting.QueryRun.result.fileandV2.Reporting.ReportRun.result.file - Add support for new value
payout_method_amount_limit_exceededon enumV2.MoneyManagement.OutboundPayment.status_details.failed.reason - Add support for
includeonV2\Data\Reporting\QueryRun.retrieve().$paramsandV2\Reporting\ReportRun.retrieve().$params - Add support for
requirements_collectoronV2\Core\Account.create().$params.default.responsibilityandV2\Core\Account.update().$params.default.responsibility - Add support for event notification
V2SignalsAccountSignalMerchantDelinquencyReadyEventwith related objectV2.Signals.AccountSignal
- Add support for new resources
v20.3.0-beta.1
This release changes the pinned API version to 2026-05-27.private.
- #2064 Update generated code for beta
- Add support for
pausemethod on resourceSubscription - Add support for
retrievemethod on resourceV2.Iam.ActivityLog - Add support for new value
mastercardon enumIssuing.Settlement.network - Change type of
ProductCatalog.TrialOffer.end_behavior.transition.pricefromstringtoexpandable($Price) - Add support for
amount_paid_off_stripeonQuotePreviewInvoice - Add support for new value
twinton enumQuotePreviewInvoice.payment_settings.payment_method_types - Add support for
discountableonQuotePreviewSubscriptionSchedule.phases[].add_invoice_items[] - Add support for
bizumandscalapayonSharedPayment.GrantedToken.payment_method_details - Add support for new values
bizumandscalapayon enumSharedPayment.GrantedToken.payment_method_details.type - Change
SharedPayment.GrantedToken.agent_detailsto be required - Change type of
SubscriptionItem.billed_untilfromnullable(DateTime)toDateTime - Add support for
payment_behavioronSubscription.resume().$params - Add support for
status_detailsonSubscription - Change
Subscription.billing_schedulesto 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, anduy_bank_accounton enumV2.Core.Account.configuration.recipient.default_outbound_destination.type ⚠️ Change type ofV2.MoneyManagement.ReceivedCredit.bank_transfer.gb_bank_account.networkfromliteral('fps')toenum('chaps'|'fps')- Add support for error codes
payment_method_microdeposit_processing_errorandsiret_invalidonQuotePreviewInvoice.last_finalization_error
- Add support for
v20.3.0-alpha.1
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_byfromliteral('pricing_plan_subscription')toenum('billing_cadence'|'pricing_plan_subscription') ⚠️ Change type ofBilling.Alert.spend_threshold.group_byfromliteral('pricing_plan_subscription')toenum('billing_cadence'|'pricing_plan_subscription')- Change
DelegatedCheckout.RequestedSession.affiliate_attributionsto be required - Add support for new value
institution_requirementon enumFinancialConnections.Account.status_details.inactive.cause - Add support for
wechat_payonInvoice.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, andSubscription.update().$params.payment_setting.payment_method_option - Add support for
gift_cardonPaymentIntent.confirm().$params.payment_method_option,PaymentIntent.create().$params.payment_method_option,PaymentIntent.payment_method_options, andPaymentIntent.update().$params.payment_method_option - Add support for
payment_detailsonPaymentIntent.create().$params.payments_orchestration - Add support for
enabledonPaymentIntent.payment_details.benefit.fr_meal_voucherandSetupIntent.setup_details.benefit.fr_meal_voucher ⚠️ Remove support forlogin_failed,registration_failed,registration_success, andtypeonRadar\CustomerEvaluation.update().$params⚠️ Remove support forlatest_versiononV2.Billing.LicenseFee,V2.Billing.PricingPlan, andV2.Billing.RateCard⚠️ Remove support forservice_interval_countandservice_intervalonV2.Billing.LicenseFeeandV2.Billing.RateCard- Add support for
debit_agreementonV2.MoneyManagement.ReceivedCredit.stripe_balance_payment - Add support for
canonical_pathonEventsV2CoreHealthTrafficVolumeDropFiringEvent.impactandEventsV2CoreHealthTrafficVolumeDropResolvedEvent.impact - Add support for snapshot event
PAYMENT_INTENT_EXPIREDwith resourcePaymentIntent - Add support for event notifications
V2CoreHealthElementsErrorFiringEvent,V2CoreHealthElementsErrorResolvedEvent,V2CoreHealthInvoiceCountDroppedFiringEvent, andV2CoreHealthInvoiceCountDroppedResolvedEvent
- Change type of
v20.2.0
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
createandretrievemethods on resourceV2.Commerce.ProductCatalogImport - Add support for
bizum_paymentsandscalapay_paymentsonAccount.capabilities,Account.create().$params.capability, andAccount.update().$params.capability - Add support for
automatic_transfer_rules_by_currencyonBalanceSettings.payments.payoutsandBalanceSettings.update().$params.payment.payout - Add support for
start_of_dayonBalanceSettings.payments.settlement_timingandBalanceSettings.update().$params.payment.settlement_timing - Add support for
descriptiononCharge.create().$params.transfer_datum,PaymentIntent.create().$params.transfer_datum,PaymentIntent.transfer_data, andPaymentIntent.update().$params.transfer_datum - Add support for
bizumonCharge.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, andSetupIntent.update().$params.payment_method_option - Add support for
scalapayonCharge.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, andSetupIntent.update().$params.payment_method_datum - Add support for
mandateonCharge.payment_method_details.twint,PaymentAttemptRecord.payment_method_details.twint, andPaymentRecord.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, andPaymentIntent.update().$params.payment_method_option.twint.setup_future_usagefromliteral('none')toenum('none'|'off_session') ⚠️ Change type ofCheckout.Session.payment_method_options.twint.setup_future_usageandPaymentIntent.payment_method_options.twint.setup_future_usagefromliteral('none')toenum('none'|'off_session')- Add support for new values
bizumandscalapayon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.type - Add support for
credited_itemsonInvoiceItem.proration_details - Add support for
discountableonInvoice.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[], andSubscriptionSchedule.update().$params.phase.add_invoice_item - Add support for
billing_schedulesonInvoice.create_preview().$params.subscription_detail,Subscription.create().$params,Subscription.update().$params, andSubscription - Add support for
amount_paid_off_stripeonInvoice - Add support for new value
twinton enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_types - Add support for
twintonMandate.payment_method_detailsandSetupAttempt.payment_method_details - Add support for
metadataonPaymentIntent.create().$params.transfer_datum,PaymentIntent.transfer_data,PaymentIntent.update().$params.transfer_datum, andSubscription.pending_update - Add support for
payment_dataonPaymentIntent.create().$params.transfer_datum,PaymentIntent.transfer_data, andPaymentIntent.update().$params.transfer_datum - Add support for new values
bizumandscalapayon enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_types - Add support for
blik_authorizeonPaymentIntent.next_actionandSetupIntent.next_action - Add support for
payment_method_optionsonPaymentLink.create().$params,PaymentLink.update().$params, andPaymentLink - Add support for new value
bizumon enumPaymentLink.payment_method_types - Add support for
activeonPaymentMethodConfiguration.all().$params - Add support for
billed_untilonSubscriptionItem - Add support for
discountanddiscountsonSubscription.pending_update - Add support for
verifone_m425,verifone_p630,verifone_ux700, andverifone_v660ponTerminal.Configuration,Terminal\Configuration.create().$params, andTerminal\Configuration.update().$params - Add support for
api_errorandprint_contentonTerminal.Reader.action - Add support for new value
print_contenton enumTerminal.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, andverifone_v660pon enumTerminal.Reader.device_type - Add support for
customeronTestHelpers\TestClock.create().$params - Add support for
signeronV2.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, andV2\Core\AccountToken.create().$params.identity.business_detail.document.proof_of_ultimate_beneficial_ownership - Add support for
azure_event_gridonV2.Core.EventDestinationandV2\Core\EventDestination.create().$params - Add support for new value
no_azure_partner_topic_existson enumV2.Core.EventDestination.status_details.disabled.reason - Add support for new value
azure_event_gridon enumV2.Core.EventDestination.type - Add support for new value
meter_event_value_too_many_digitson enumsEventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].codeandEventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code - Add support for event notifications
V2CommerceProductCatalogImportsFailedEvent,V2CommerceProductCatalogImportsProcessingEvent,V2CommerceProductCatalogImportsSucceededEvent, andV2CommerceProductCatalogImportsSucceededWithErrorsEventwith related objectV2.Commerce.ProductCatalogImport - Add support for error codes
payment_method_microdeposit_processing_errorandsiret_invalidonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeError
- Add support for new resource
- #2071 Emit warning when
stripe-notifyheader is present in response
v20.2.0-alpha.6
- #2068 Update generated code for private-preview
- Add support for new resource
PaymentLocationCapability - Add support for
all,retrieve, andupdatemethods on resourcePaymentLocationCapability - Add support for
closeandsimulate_network_lifecycle_dispute_responsetest helper methods on resourceIssuing.Dispute - Change type of
DelegatedCheckout\RequestedSession.update().$params.discount.codesfromarray(string)toemptyable(array(string)) ⚠️ Remove support forcredited_itemsonInvoiceItem.proration_details- Add support for
balance_responseonIssuing.Authorization - Add support for
payment_evaluationsonPaymentAttemptRecord.report_canceled().$params,PaymentAttemptRecord.report_failed().$params,PaymentRecord.report_payment().$params.failed,PaymentRecord.report_payment_attempt().$params.failed,PaymentRecord.report_payment_attempt_canceled().$params, andPaymentRecord.report_payment_attempt_failed().$params - Add support for
enabledonPaymentIntent.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, andSetupIntent.update().$params.setup_detail.benefit.fr_meal_voucher - Add support for
advanced_feature_detailsandallowed_payment_method_typesonPaymentIntent - Change type of
PaymentLocation.update().$params.address.cityfromstringtoemptyable(string) - Change type of
PaymentLocation.update().$params.address.line1fromstringtoemptyable(string) - Change type of
PaymentLocation.update().$params.address.line2fromstringtoemptyable(string) - Change type of
PaymentLocation.update().$params.address.postal_codefromstringtoemptyable(string) - Change type of
PaymentLocation.update().$params.address.statefromstringtoemptyable(string) - Change
Subscription.pause().$params.typeto be optional ⚠️ Remove support forpayment_behavioronSubscription.resume().$params⚠️ Remove support forstatus_detailsonSubscription
- Add support for new resource
v20.2.0-alpha.5
- #2067 Update generated code for private-preview
- Add support for new resources
V2.Core.FeeBatch,V2.Core.FeeEntry,V2.MoneyManagement.DebitDispute, andV2.MoneyManagement.FinancialAccountStatement - Add support for
simulate_network_lifecycle_pre_arbitration_responseandsimulate_network_lifecycle_pre_arbitration_submissiontest helper methods on resourceIssuing.Dispute - Add support for
allmethod on resourcePaymentLocation - Add support for
allandretrievemethods on resourcesV2.Core.FeeBatch,V2.Core.FeeEntry, andV2.MoneyManagement.FinancialAccountStatement - Add support for
all,create, andretrievemethods on resourceV2.MoneyManagement.DebitDispute - Add support for
discountsonDelegatedCheckout.RequestedSession,DelegatedCheckout\RequestedSession.create().$params, andDelegatedCheckout\RequestedSession.update().$params - Add support for
amount_saleonDelegatedCheckout.RequestedSession.line_item_details[]andDelegatedCheckout.RequestedSession.total_details - Add support for
amount_discountandbreakdownonDelegatedCheckout.RequestedSession.total_details ⚠️ Remove support forcheck_deposit_addressonInvoice.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, andSubscription.update().$params.payment_setting.payment_method_option.check_scan- Add support for
payment_evaluationsonPaymentAttemptRecord.report_guaranteed().$params,PaymentRecord.report_payment().$params.guaranteed,PaymentRecord.report_payment_attempt().$params.guaranteed, andPaymentRecord.report_payment_attempt_guaranteed().$params - Add support for
locationonPaymentIntent.confirm().$params.payment_detail,PaymentIntent.create().$params.payment_detail,PaymentIntent.update().$params.payment_detail,SetupIntent.confirm().$params.setup_detail,SetupIntent.create().$params.setup_detail, andSetupIntent.update().$params.setup_detail - Add support for
onboarding_data_update_acknowledgedonPaymentLocation.update().$params - Change
PaymentLocation.create().$params.address.countryandPaymentLocation.update().$params.address.countryto be optional - Add support for
customeronRadar\CustomerEvaluation.update().$params - Add support for
statusonRadar.CustomerEvaluationandRadar\CustomerEvaluation.update().$params - Change
Radar\CustomerEvaluation.update().$params.typeto be optional - Add support for
payment_behavioronSubscription.resume().$params - Add support for
dispute_detailsonV2.MoneyManagement.ReceivedDebit - Add support for new value
debit_disputeon enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.transaction_details.category - Add support for
debit_disputeonV2.MoneyManagement.Transaction.flowandV2.MoneyManagement.TransactionEntry.transaction_details.flow - Add support for new value
debit_disputeon enumsV2.MoneyManagement.Transaction.flow.typeandV2.MoneyManagement.TransactionEntry.transaction_details.flow.type - Add support for
payment_attempt_recordonEventsV2PaymentsOffSessionPaymentAttemptFailedEventandEventsV2PaymentsOffSessionPaymentFailedEvent - Add support for event notifications
V2MoneyManagementFinancialAccountStatementCreatedEventandV2MoneyManagementFinancialAccountStatementRestatedEventwith related objectV2.MoneyManagement.FinancialAccountStatement
- Add support for new resources
v20.2.0-alpha.4
- #2065 Update generated code for private-preview
- Add support for new resource
PaymentLocation - Add support for
create,delete,retrieve, andupdatemethods on resourcePaymentLocation - Add support for
protectionsonAccount.create().$params.capability.card_payment,Account.update().$params.capability.card_payment, andCapability - Add support for
gift_cardonConfirmationToken.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, andSharedPayment.GrantedToken.payment_method_details - Add support for new value
gift_cardon enumsConfirmationToken.payment_method_preview.type,PaymentMethod.type, andSharedPayment.GrantedToken.payment_method_details.type - Add support for
metadataonDelegatedCheckout\RequestedSession.confirm().$params - Add support for
credited_itemsonInvoiceItem.proration_details - Add support for
network_lifecycleonIssuing.Dispute - Add support for new value
gift_cardon enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_types - Add support for
status_detailsonSubscription
- Add support for new resource
- #2066 Add EventNotificationHandler (private preview)
v20.2.0-alpha.3
- #2063 Update generated code for private-preview
- Add support for
debit_cardonV2.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, andV2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.consumer.lead - Add support for new value
consumer.lead.debit_cardon enumsV2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capabilityandV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability - Add support for new value
consumer.lead.debit_cardon enumEventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability
- Add support for
v20.2.0-alpha.2
- #2062 Update generated code for private-preview
- Add support for new resource
V2.Data.Analytics.MetricQueryResult - Add support for
create,retrieve, andrevokemethods on resourceSharedPayment.IssuedToken - Add support for
createmethod on resourceV2.Data.Analytics.MetricQueryResult - Add support for
balance_reportandpayout_reconciliation_reportonAccountSession.componentsandAccountSession.create().$params.component - Add support for
app_distributionandsunbit_paymentsonAccount.capabilities,Account.create().$params.capability, andAccount.update().$params.capability - Add support for new values
fee_credit_funding,inbound_transfer_reversal, andinbound_transferon enumBalanceTransaction.type - Add support for
sunbitonCharge.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, andSetupIntent.update().$params.payment_method_datum - Add support for new values
phantom_cashandusdton enumsCharge.payment_method_details.crypto.token_currency,PaymentAttemptRecord.payment_method_details.crypto.token_currency, andPaymentRecord.payment_method_details.crypto.token_currency - Add support for
last4onCharge.payment_method_details.gift_card,PaymentAttemptRecord.payment_method_details.gift_card, andPaymentRecord.payment_method_details.gift_card - Add support for
locationandreaderonCharge.payment_method_details.klarna,PaymentAttemptRecord.payment_method_details.klarna, andPaymentRecord.payment_method_details.klarna - Add support for
blikonCheckout\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, andSubscription.update().$params.payment_setting.payment_method_option - Add support for new values
fo_vat,gi_tin,it_cf, andpy_rucon enumsCheckout.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, andTaxId.type - Change
Checkout.Session.managed_payments,PaymentIntent.managed_payments,PaymentLink.managed_payments, andSubscription.managed_paymentsto be required - Add support for
shared_payment_granted_tokenonConfirmationToken.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, andSetupIntent.update().$params.payment_method_datum - Add support for new value
sunbiton enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.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, andQuotePreviewInvoice.total_taxes[].tax_rate_details.tax_ratefromstringtoexpandable($TaxRate) - Add support for
buyer_consentsonDelegatedCheckout\RequestedSession.confirm().$params - Add support for
consentsonDelegatedCheckout.RequestedSession.buyer_consents.marketing - Add support for new value
blikon enumsInvoice.payment_settings.payment_method_types,QuotePreviewInvoice.payment_settings.payment_method_types, andSubscription.payment_settings.payment_method_types - Change
Invoice.payment_settings.payment_method_options.pix,QuotePreviewInvoice.payment_settings.payment_method_options.pix, andSubscription.payment_settings.payment_method_options.pixto be required - Change
Invoice.payment_settings.payment_method_options.upi,QuotePreviewInvoice.payment_settings.payment_method_options.upi, andSubscription.payment_settings.payment_method_options.upito be required - Add support for
payment_facilitator_idandsub_merchant_idonIssuing\Authorization.create().$params.merchant_datum,Issuing\Transaction.create_force_capture().$params.merchant_datum, andIssuing\Transaction.create_unlinked_refund().$params.merchant_datum - Add support for
card_presenceonIssuing.Authorization - Add support for
allowed_card_presencesandblocked_card_presencesonIssuing.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, andIssuing\Cardholder.update().$params.spending_control - Add support for new value
fulfillment_erroron enumIssuing.Card.cancellation_reason - Add support for new value
fulfillment_erroron enumIssuing.Card.replacement_reason ⚠️ Change type ofPaymentAttemptRecord.payment_method_details.gift_card.balanceandPaymentRecord.payment_method_details.gift_card.balancefromPaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmounttonullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance)⚠️ Change type ofPaymentAttemptRecord.payment_method_details.gift_card.brandandPaymentRecord.payment_method_details.gift_card.brandfromenum('fiserv_valuelink'|'givex'|'svs')tonullable(enum('fiserv_valuelink'|'givex'|'svs'))⚠️ Change type ofPaymentAttemptRecord.payment_method_details.gift_card.first6andPaymentRecord.payment_method_details.gift_card.first6fromstringtonullable(string)⚠️ Change type ofPaymentAttemptRecord.payment_method_details.gift_card.transaction_idandPaymentRecord.payment_method_details.gift_card.transaction_idfromstringtonullable(string)- Add support for
amount_to_confirmonPaymentIntent.confirm().$params - Add support for new value
sunbiton enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_types - Add support for
klarna_display_qr_codeonPaymentIntent.next_action - Add support for new value
sunbiton enumPaymentLink.payment_method_types - Add support for
validation_errorsonPrivacy.RedactionJob - Add support for
tax_detailsonProduct ⚠️ Change type ofRadar.PaymentEvaluation.client_device_metadata_details.radar_sessionfromstringtonullable(string)- Add support for new values
low,not_assessed, andunknownon enumRadar.PaymentEvaluation.signals.fraudulent_payment.risk_level - Add support for new value
accounton enumRadar.ValueList.item_type - Add support for
motoonSetupAttempt.payment_method_details.card - Change
SetupIntent.next_action.pix_display_qr_code.datato be required - Change
SetupIntent.next_action.pix_display_qr_code.expires_atto be required - Change
SetupIntent.next_action.pix_display_qr_code.hosted_instructions_urlto be required - Change
SetupIntent.next_action.pix_display_qr_code.image_url_pngto be required - Change
SetupIntent.next_action.pix_display_qr_code.image_url_svgto be required - Add support for
admissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxonTax\Registration.create().$params.country_option.me - Add support for
purposeonTreasury.OutboundPaymentandTreasury\OutboundPayment.create().$params - Add support for
crypto_walletonV2.MoneyManagement.FinancialAddress.credentials - Add support for
mx_bank_accountonV2.MoneyManagement.FinancialAddress.credentialsandV2.MoneyManagement.ReceivedCredit.bank_transfer - Add support for new values
crypto_walletandmx_bank_accounton enumV2.MoneyManagement.FinancialAddress.credentials.type - Add support for
crypto_wallet_transferonV2.MoneyManagement.ReceivedCredit - Add support for
eu_bank_accountonV2.MoneyManagement.ReceivedCredit.bank_transfer - Add support for new values
crypto_wallet,eu_bank_account, andmx_bank_accounton enumV2.MoneyManagement.ReceivedCredit.bank_transfer.origin_type - Add support for new value
crypto_wallet_transferon enumV2.MoneyManagement.ReceivedCredit.type - Change
V2\Payments\OffSessionPayment.capture().$params.metadataandV2\Payments\OffSessionPayment.create().$params.metadatato be optional - Add support for
crypto_propertiesandsettlement_currencyonV2\MoneyManagement\FinancialAddress.create().$params - Add support for event notifications
V2CoreApprovalRequestCreatedEventandV2CoreApprovalRequestExpiredEventwith related objectV2.Core.ApprovalRequest - Add support for event notification
V2ExtendExtensionRunFailedEvent - Add support for error codes
action_blockedandapproval_requiredon `Invoice.last_finalization...
- Add support for new resource