Releases: stripe/stripe-php
v18.1.0-alpha.1
This release changes the pinned API version to 2025-09-30.preview
. It is built on top of SDK version 18.0.0 and 18.1.0-beta.1 which contain breaking changes. Please review the changelog for these versions if upgrading from older SDK versions.
- #1906 Update generated code for private-preview
- Add support for new resource
V2.MoneyManagement.RecipientVerification
- Add support for
acknowledge
,create
,recipient_verifications
, andretrieve
methods on resourceV2.MoneyManagement.RecipientVerification
- Add support for
update
method on resourcesV2.Billing.PricingPlanSubscription
andV2.Billing.ServiceAction
- Add support for
crypto_wallets
onV2.Account.configuration.recipient_data.features
,V2.Core.Account.configuration.recipient.capabilities
,V2\Account.create().$params.configuration.recipient_datum.feature
,V2\Account.update().$params.configuration.recipient_datum.feature
,V2\Core\Account.create().$params.configuration.recipient.capability
, andV2\Core\Account.update().$params.configuration.recipient.capability
- Add support for new value
crypto
on enumV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
- Add support for new value
crypto_wallet
on enumV2.Account.configuration.recipient_data.default_outbound_destination.type
- Add support for new value
crypto_wallets
on enumV2.Account.configuration.supportable_features.recipient_data
- Add support for new value
crypto_wallets
on enumV2.Account.requirements[].impact.required_for_features
- Add support for
lookup_key
onV2.Billing.Cadence
,V2\Billing\Cadence.create().$params
, andV2\Billing\Cadence.update().$params
- Add support for
settings_data
onV2.Billing.Cadence
- Change type of
V2.Billing.Cadence.payer.billing_profile
fromnullable(string)
tostring
- Add support for
v1_event_id
onV2.Event
- Add support for
recipient_verification
onV2.MoneyManagement.OutboundPayment
,V2.MoneyManagement.OutboundTransfer
,V2\MoneyManagement\OutboundPayment.create().$params
, andV2\MoneyManagement\OutboundTransfer.create().$params
- Add support for
crypto_wallet
onV2.MoneyManagement.PayoutMethod
andV2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum
- Add support for
custom_pricing_unit_details
onV2.Billing.RateCardRate.custom_pricing_unit_amount
,V2.Billing.ServiceAction.credit_grant.amount.custom_pricing_unit
, andV2.Billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit
- Add support for
origin_type
onV2.MoneyManagement.ReceivedDebit.bank_transfer
- Add support for
sepa_bank_account
onV2\MoneyManagement\FinancialAddress.create().$params
- Remove support for
price
onV2\Billing\RateCardRate.create().$params
- Add support for
lookup_keys
onV2\Billing\Cadence.all().$params
- Change type of
V2\Billing\Cadence.all().$params.include
,V2\Billing\Cadence.cancel().$params.include
,V2\Billing\Cadence.create().$params.include
,V2\Billing\Cadence.retrieve().$params.include
, andV2\Billing\Cadence.update().$params.include
fromliteral('invoice_discount_rules')
toenum('invoice_discount_rules'|'settings_data')
- Remove support for
customer
andtype
onV2\Billing\Cadence.create().$params.payer
- Change
V2\Billing\Cadence.create().$params.payer.billing_profile
to be required - Add support for new value
crypto_wallets
on enumEventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name
- Add support for new value
crypto_wallets_v2
on enumEventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
- Remove support for
alert_id
onEventsV2CoreHealthApiErrorResolvedEvent
,EventsV2CoreHealthApiLatencyResolvedEvent
,EventsV2CoreHealthAuthorizationRateDropResolvedEvent
,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
,EventsV2CoreHealthPaymentMethodErrorResolvedEvent
,EventsV2CoreHealthTrafficVolumeDropResolvedEvent
, andEventsV2CoreHealthWebhookLatencyResolvedEvent
- Add support for thin event
V1AccountUpdatedEvent
with related objectV2.Account
- Add support for thin events
V1ApplicationFeeCreatedEvent
,V1ApplicationFeeRefundedEvent
,V1BillingPortalConfigurationCreatedEvent
,V1BillingPortalConfigurationUpdatedEvent
,V1CapabilityUpdatedEvent
,V1ChargeCapturedEvent
,V1ChargeDisputeClosedEvent
,V1ChargeDisputeCreatedEvent
,V1ChargeDisputeFundsReinstatedEvent
,V1ChargeDisputeFundsWithdrawnEvent
,V1ChargeDisputeUpdatedEvent
,V1ChargeExpiredEvent
,V1ChargeFailedEvent
,V1ChargePendingEvent
,V1ChargeRefundUpdatedEvent
,V1ChargeRefundedEvent
,V1ChargeSucceededEvent
,V1ChargeUpdatedEvent
,V1CheckoutSessionAsyncPaymentFailedEvent
,V1CheckoutSessionAsyncPaymentSucceededEvent
,V1CheckoutSessionCompletedEvent
,V1CheckoutSessionExpiredEvent
,V1ClimateOrderCanceledEvent
,V1ClimateOrderCreatedEvent
,V1ClimateOrderDelayedEvent
,V1ClimateOrderDeliveredEvent
,V1ClimateOrderProductSubstitutedEvent
,V1ClimateProductCreatedEvent
,V1ClimateProductPricingUpdatedEvent
,V1CouponCreatedEvent
,V1CouponDeletedEvent
,V1CouponUpdatedEvent
,V1CreditNoteCreatedEvent
,V1CreditNoteUpdatedEvent
,V1CreditNoteVoidedEvent
,V1CustomerCreatedEvent
,V1CustomerDeletedEvent
,V1CustomerDiscountCreatedEvent
,V1CustomerDiscountDeletedEvent
,V1CustomerDiscountUpdatedEvent
,V1CustomerSubscriptionCreatedEvent
,V1CustomerSubscriptionDeletedEvent
,V1CustomerSubscriptionPausedEvent
,V1CustomerSubscriptionPendingUpdateAppliedEvent
,V1CustomerSubscriptionPendingUpdateExpiredEvent
,V1CustomerSubscriptionResumedEvent
,V1CustomerSubscriptionTrialWillEndEvent
,V1CustomerSubscriptionUpdatedEvent
,V1CustomerTaxIdCreatedEvent
,V1CustomerTaxIdDeletedEvent
,V1CustomerTaxIdUpdatedEvent
,V1CustomerUpdatedEvent
,V1FileCreatedEvent
,V1FinancialConnectionsAccountCreatedEvent
,V1FinancialConnectionsAccountDeactivatedEvent
,V1FinancialConnectionsAccountDisconnectedEvent
,V1FinancialConnectionsAccountReactivatedEvent
,V1FinancialConnectionsAccountRefreshedBalanceEvent
,V1FinancialConnectionsAccountRefreshedOwnershipEvent
,V1FinancialConnectionsAccountRefreshedTransactionsEvent
,V1IdentityVerificationSessionCanceledEvent
,V1IdentityVerificationSessionCreatedEvent
,V1IdentityVerificationSessionProcessingEvent
,V1IdentityVerificationSessionRedactedEvent
,V1IdentityVerificationSessionRequiresInputEvent
,V1IdentityVerificationSessionVerifiedEvent
,V1InvoiceCreatedEvent
,V1InvoiceDeletedEvent
,V1InvoiceFinalizationFailedEvent
,V1InvoiceFinalizedEvent
,V1InvoiceMarkedUncollectibleEvent
,V1InvoiceOverdueEvent
,V1InvoiceOverpaidEvent
,V1InvoicePaidEvent
,V1InvoicePaymentActionRequiredEvent
,V1InvoicePaymentFailedEvent
,V1InvoicePaymentPaidEvent
,V1InvoicePaymentSucceededEvent
,V1InvoiceSentEvent
,V1InvoiceUpcomingEvent
,V1InvoiceUpdatedEvent
,V1InvoiceVoidedEvent
,V1InvoiceWillBeDueEvent
,V1InvoiceitemCreatedEvent
,V1InvoiceitemDeletedEvent
,V1IssuingAuthorizationCreatedEvent
,V1IssuingAuthorizationRequestEvent
,V1IssuingAuthorizationUpdatedEvent
,V1IssuingCardCreatedEvent
,V1IssuingCardUpdatedEvent
,V1IssuingCardholderCreatedEvent
,V1IssuingCardholderUpdatedEvent
,V1IssuingDisputeClosedEvent
,V1IssuingDisputeCreatedEvent
,V1IssuingDisputeFundsReinstatedEvent
,V1IssuingDisputeFundsRescindedEvent
,V1IssuingDisputeSubmittedEvent
,V1IssuingDisputeUpdatedEvent
,V1IssuingPersonalizationDesignActivatedEvent
,V1IssuingPersonalizationDesignDeactivatedEvent
,V1IssuingPersonalizationDesignRejectedEvent
,V1IssuingPersonalizationDesignUpdatedEvent
,V1IssuingTokenCreatedEvent
,V1IssuingTokenUpdatedEvent
,V1IssuingTransactionCreatedEvent
,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent
,V1IssuingTransactionUpdatedEvent
,V1MandateUpdatedEvent
,V1PaymentIntentAmountCapturableUpdatedEvent
,V1PaymentIntentCanceledEvent
,V1PaymentIntentCreatedEvent
,V1PaymentIntentPartiallyFundedEvent
,V1PaymentIntentPaymentFailedEvent
,V1PaymentIntentProcessingEvent
,V1PaymentIntentRequiresActionEvent
,V1PaymentIntentSucceededEvent
,V1PaymentLinkCreatedEvent
,V1PaymentLinkUpdatedEvent
,V1PaymentMethodAttachedEvent
,V1PaymentMethodAutomaticallyUpdatedEvent
,V1PaymentMethodDetachedEvent
,V1PaymentMethodUpdatedEvent
,V1PayoutCanceledEvent
,V1PayoutCreatedEvent
,V1PayoutFailedEvent
,V1PayoutPaidEvent
,V1PayoutReconciliationCompletedEvent
,V1PayoutUpdatedEvent
,V1PersonCreatedEvent
,V1PersonDeletedEvent
,V1PersonUpdatedEvent
,V1PlanCreatedEvent
,V1PlanDeletedEvent
,V1PlanUpdatedEvent
,V1PriceCreatedEvent
,V1PriceDeletedEvent
,V1PriceUpdatedEvent
,V1ProductCreatedEvent
,V1ProductDeletedEvent
,V1ProductUpdatedEvent
,V1PromotionCodeCreatedEvent
,V1PromotionCodeUpdatedEvent
,V1QuoteAcceptedEvent
,V1QuoteCanceledEvent
,V1QuoteCreatedEvent
,V1QuoteFinalizedEvent
,V1RadarEarlyFraudWarningCreatedEvent
,V1RadarEarlyFraudWarningUpdatedEvent
,V1RefundCreatedEvent
,V1RefundFailedEvent
,V1RefundUpdatedEvent
,V1ReviewClosedEvent
,V1ReviewOpenedEvent
,V1SetupIntentCanceledEvent
,V1SetupIntentCreatedEvent
,V1SetupIntentRequiresActionEvent
,V1SetupIntentSetupFailedEvent
,V1SetupIntentSucceededEvent
,V1SigmaScheduledQueryRunCreatedEvent
,V1SourceCanceledEvent
,V1SourceChargeableEvent
,V1SourceFailedEvent
,V1SourceRefundAttributesRequiredEvent
,V1SubscriptionScheduleAbortedEvent
,V1SubscriptionScheduleCanceledEvent
,V1SubscriptionScheduleCompletedEvent
,V1SubscriptionScheduleCreatedEvent
,V1SubscriptionScheduleExpiringEvent
,V1SubscriptionScheduleReleasedEvent
,V1SubscriptionScheduleUpdatedEvent
,V1TaxRateCreatedEvent
,V1TaxRateUpdatedEvent
, `V1TerminalReaderActionFa...
- Add support for new resource
v18.1.0-beta.1
This release changes the pinned API version to 2025-09-30.preview
. It is built on top of SDK version 18.0.0 which contains breaking changes. Please review the changelog for 18.0.0 if upgrading from older SDK versions.
- #1914 Update generated code for beta
- Add support for
attach_cadence
method on resourceSubscription
- Add support for
billing_cadence
onInvoice.create_preview().$params
,Subscription.create().$params
,Subscription.update().$params
, andSubscription
- Add support for
billing_cadence_details
onInvoice.parent
andQuotePreviewInvoice.parent
- Add support for new value
billing_cadence_details
on enumsInvoice.parent.type
andQuotePreviewInvoice.parent.type
- Add support for
- #1907 Update generated code for beta
- Add support for new resources
V2.Billing.BillSettingVersion
,V2.Billing.BillSetting
,V2.Billing.Cadence
,V2.Billing.CollectionSettingVersion
,V2.Billing.CollectionSetting
, andV2.Billing.Profile
- Add support for
all
,create
,retrieve
, andupdate
methods on resourcesV2.Billing.BillSetting
,V2.Billing.CollectionSetting
, andV2.Billing.Profile
- Add support for
all
andretrieve
methods on resourcesV2.Billing.BillSettingVersion
andV2.Billing.CollectionSettingVersion
- Add support for
all
,cancel
,create
,retrieve
, andupdate
methods on resourceV2.Billing.Cadence
- Add support for thin event
V2BillingBillSettingUpdatedEvent
with related objectV2.Billing.BillSetting
- Remove support for
currency
onV2\MoneyManagement\FinancialAddress.create().$params
- Add support for
amount_details
andpayments_orchestration
onV2.Payments.OffSessionPayment
andV2\Payments\OffSessionPayment.create().$params
- Add support for
mandate_data
andpayment_method_options
onV2\Payments\OffSessionPayment.create().$params
- Add support for
retry_policy
onV2.Payments.OffSessionPayment.retry_details
andV2\Payments\OffSessionPayment.create().$params.retry_detail
- Add support for
profile
onV2.Core.Account.defaults
,V2\Core\Account.create().$params.default
, andV2\Core\Account.update().$params.default
- Add support for
sepa_bank_account
onV2.MoneyManagement.FinancialAddress.credentials
andV2.MoneyManagement.ReceivedCredit.bank_transfer
- Add support for new value
sepa_bank_account
on enumV2.MoneyManagement.FinancialAddress.credentials.type
- Add support for new value
crypto_wallet
on enumV2.Core.Account.configuration.recipient.default_outbound_destination.type
- Add support for
settlement_currency
onV2.MoneyManagement.FinancialAddress
- Add support for new value
authorization_expired
on enumV2.Payments.OffSessionPayment.failure_reason
- Change type of
V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_expires_at
fromDateTime
tonullable(DateTime)
- Add support for
i_p
onV2.Core.Account.identity.attestations.directorship_declaration
,V2.Core.Account.identity.attestations.ownership_declaration
,V2.Core.Account.identity.attestations.terms_of_service.account
,V2.Core.Account.identity.attestations.terms_of_service.storer
,V2.Core.Account.identity.individual.additional_terms_of_service.account
,V2.Core.Person.additional_terms_of_service.account
,V2\Core\Account.create().$params.identity.attestation.terms_of_service.account
,V2\Core\Account.create().$params.identity.attestation.terms_of_service.storer
,V2\Core\Account.update().$params.identity.attestation.terms_of_service.account
,V2\Core\Account.update().$params.identity.attestation.terms_of_service.storer
,V2\Core\Person.create().$params.additional_terms_of_service.account
, andV2\Core\Person.update().$params.additional_terms_of_service.account
- Remove support for
ip
onV2.Core.Account.identity.attestations.directorship_declaration
,V2.Core.Account.identity.attestations.ownership_declaration
,V2.Core.Account.identity.attestations.terms_of_service.account
,V2.Core.Account.identity.attestations.terms_of_service.storer
,V2.Core.Account.identity.individual.additional_terms_of_service.account
,V2.Core.Person.additional_terms_of_service.account
,V2\Core\Account.create().$params.identity.attestation.terms_of_service.account
,V2\Core\Account.create().$params.identity.attestation.terms_of_service.storer
,V2\Core\Account.update().$params.identity.attestation.terms_of_service.account
,V2\Core\Account.update().$params.identity.attestation.terms_of_service.storer
,V2\Core\Person.create().$params.additional_terms_of_service.account
, andV2\Core\Person.update().$params.additional_terms_of_service.account
- Remove support for
doing_business_as
,product_description
, andurl
onV2.Core.Account.identity.business_details
,V2\Core\Account.create().$params.identity.business_detail
, andV2\Core\Account.update().$params.identity.business_detail
- Add support for new values
heuristic
andscheduled
on enumV2.Payments.OffSessionPayment.retry_details.retry_strategy
- Change type of
V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_duration
fromliteral('five_minutes')
toenum('five_minutes'|'none')
- Add support for new value
none
on enumV2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_status
- Add support for new value
crypto_wallet
on enumV2.MoneyManagement.PayoutMethod.type
- Add support for
origin_type
onV2.MoneyManagement.ReceivedCredit.bank_transfer
- Remove support for
payment_method_type
onV2.MoneyManagement.ReceivedCredit.bank_transfer
- Add support for
type
onV2\MoneyManagement\FinancialAddress.create().$params
- Add support for new values
financial_addressses.crypto_wallets
,holds_currencies.usdc
,outbound_payments.crypto_wallets
, andoutbound_transfers.crypto_wallets
on enumEventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
- Add support for new resources
- #1896 Update generated code for beta
- Add support for new resources
Billing.Analytics.MeterUsageRow
andBilling.Analytics.MeterUsage
- Remove support for resources
Billing.MeterUsageRow
andBilling.MeterUsage
- Add support for
retrieve
method on resourceBilling.Analytics.MeterUsage
- Remove support for
retrieve
method on resourceBilling.MeterUsage
- Add support for
report_payment_attempt_informational
method on resourcePaymentRecord
- Add support for
minimum_balance_by_currency
onBalanceSettings.payments.payouts
andBalanceSettings.update().$params.payment.payout
- Change type of
BalanceSettings.update().$params.payment.settlement_timing.delay_days_override
fromlongInteger
toemptyable(longInteger)
- Change
BalanceSettings.update().$params.payments
to be optional - Remove support for values
saturday
andsunday
from enumBalanceSettings.payments.payouts.schedule.weekly_payout_days
- Add support for
delay_days_override
onBalanceSettings.payments.settlement_timing
- Add support for
automatic_tax
andinvoice_creation
onCheckout\Session.update().$params
- Add support for
unit_label
onCheckout\Session.update().$params.line_item.price_datum.product_datum
- Add support for
invoice_settings
onCheckout\Session.update().$params.subscription_datum
- Change
Checkout.Session.collected_information.business_name
to be required - Add support for
intended_submission_method
onDispute.update().$params
andDispute
- Change type of
Dispute.smart_disputes.recommended_evidence
fromstring
toarray(string)
- Add support for
pix
onInvoice.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
billing_schedules
onInvoice.create_preview().$params.subscription_detail
,Subscription.create().$params
,Subscription.update().$params
, andSubscription
- Add support for new value
pix
on enumsInvoice.payment_settings.payment_method_types
,QuotePreviewInvoice.payment_settings.payment_method_types
, andSubscription.payment_settings.payment_method_types
- Add support for
paypay
onPaymentAttemptRecord.payment_method_details
andPaymentRecord.payment_method_details
- Add support for
wallet
onPaymentAttemptRecord.payment_method_details.card
andPaymentRecord.payment_method_details.card
- Change type of
PaymentAttemptRecord.processor_details.custom.payment_reference
andPaymentRecord.processor_details.custom.payment_reference
fromstring
tonullable(string)
- Add support for
flexible
onQuotePreviewSubscriptionSchedule.billing_mode
- Add support for
billed_until
onSubscriptionItem
- Add support for error codes
financial_connections_account_pending_account_numbers
andfinancial_connections_account_unavailable_account_numbers
onQuotePreviewInvoice.last_finalization_error
- Add support for new resources
v18.0.0
-
#1903
⚠️ Add strongly typed EventNotifications
We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.- Added matching
EventNotification
classes for every v2Event
. For example, there's now aV1BillingMeterErrorReportTriggeredEventNotification
to match the existingV1BillingMeterErrorReportTriggeredEvent
. Each of these interfaces defines afetchEvent()
method to retrieve its corresponding event. For events with related objects, there's afetchRelatedObject()
method that performs the API call and casts the response to the correct type. ⚠️ Rename functionStripeClient->parseThinEvent
toStripeClient->parseEventNotification
and remove theThinEvent
class.- This function now returns a
Stripe\V2\Core\EventNotification
(which is the shared base class that all of the more specificStripe\*EventNotifications
classes share) instead ofThinEvent
. When applicable, these event notifications will have therelatedObject
property and afetchRelatedObject()
function. They also have afetchEvent()
method to retrieve their correspondingStripe\Event\*Event
instance. - If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of
Stripe\Events\UnknownEventNotification
instead of a more specific type. It has both therelatedObject
property and theFetchRelatedObject()
function (but they may be/returnnull
)
- This function now returns a
⚠️ removed theUtil::json_decode_thin_event_object
. Its functionality was folded into the new\Stripe\V2\EventNotification::fromJson
method.
- Added matching
-
#1925 add version deprecation note to README
- NOTE: we'll be dropping support for PHP 5.6, 7.0, and 7.1 in the next major version (March 2026). The README has been updated with a link to our new language version support policy
-
#1921 Update generated code
- Change
Invoice.id
to be required.
- Change
-
#1923 Update generated code
- Remove support for
balance_report
andpayout_reconciliation_report
onAccountSession.components
andAccountSession.create().$params.component
- Remove support for
-
#1920 Move
V2.Event
API resources toV2.Core.Events
⚠️ Move all V2 Event-related resources (Event
,RelatedObject
, etc) fromStripe\V2
toStripe\V2\Core
. They now correctly match their API path and are in line with all other resources. To update your code:
-Stripe\V2\Event +Stripe\V2\Core\Event
-
#1916 Add
StripeContext
object- Add the
StripeContext
class. Previously you could only send a string forstripe-context
header. ⚠️ ChangeEventNotification
(formerly known asThinEvent
)'scontext
property fromstring
toStripeContext
- Add the
-
#1905 Added StripeContext, StripeAccount and StripeVersion to BaseStripeClientInterface
⚠️ Add getter methodsgetStripeContext
,getStripeVersion
andgetStripeAccount
toBaseStripeClientInterface
. Users with custom StripeClient that implementStripeClientInterface
,StripeStreamingClientInterface
orBaseStripeClientInterface
will have to add implementations for these methods.
-
#1898
⚠️ Build SDK w/ V2 OpenAPI spec⚠️ The delete methods for v2 APIs (the ones in theStripeClient.v2
namespace) now return aV2DeletedObject
which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.- the generated types of some properties in
EventDestination
changed fromsomething: null|string
tosomething?: string
-
#1900, #1912 Update generated code based on incoming API changes in the
2025-09-30.clover
API version.⚠️ Remove support forlink
andpay_by_bank
onPaymentMethod.update().$params
⚠️ Remove support forcoupon
onDiscount
,PromotionCode.create().$params
, andPromotionCode
. UseDiscount.source.coupon
,PromotionCode.create().$params.promotion.code
, andPromotionCode.promotion.code
instead.⚠️ Remove support for valuessaturday
andsunday
from enumAccount.settings.payouts.schedule.weekly_payout_days
⚠️ Remove support foriterations
onInvoice.create_preview().$params.schedule_detail.phase
,SubscriptionSchedule.create().$params.phase
, andSubscriptionSchedule.update().$params.phase
- Add support for new value
prevented
on enumDispute.status
- Add support for new resource
BalanceSettings
- Add support for
retrieve
andupdate
methods on resourceBalanceSettings
- Add support for new values
external_request
andunsupported_business_type
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
,BankAccount.requirements.errors[].code
,Capability.future_requirements.errors[].code
,Capability.requirements.errors[].code
,Person.future_requirements.errors[].code
, andPerson.requirements.errors[].code
- Add support for
source
onDiscount
- Add support for
mb_way_payments
onAccount.capabilities
,Account.create().$params.capability
, andAccount.update().$params.capability
- Add support for
trial_update_behavior
onBillingPortal.Configuration.features.subscription_update
,BillingPortal\Configuration.create().$params.feature.subscription_update
, andBillingPortal\Configuration.update().$params.feature.subscription_update
- Add support for
mb_way
onCharge.payment_method_details
,ConfirmationToken.create().$params.payment_method_datum
,ConfirmationToken.payment_method_preview
,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
,PaymentMethod
,SetupIntent.confirm().$params.payment_method_datum
,SetupIntent.create().$params.payment_method_datum
, andSetupIntent.update().$params.payment_method_datum
- Add support for
branding_settings
andname_collection
onCheckout.Session
andCheckout\Session.create().$params
- Add support for
excluded_payment_method_types
onCheckout.Session
,Checkout\Session.create().$params
,PaymentIntent.confirm().$params
, andPaymentIntent.update().$params
- Add support for
unit_label
onCheckout\Session.create().$params.line_item.price_datum.product_datum
,Invoice.add_lines().$params.line.price_datum.product_datum
,Invoice.update_lines().$params.line.price_datum.product_datum
,InvoiceLineItem.update().$params.price_datum.product_datum
, andPaymentLink.create().$params.line_item.price_datum.product_datum
- Add support for
alma
,billie
, andsatispay
onCheckout.Session.payment_method_options
andCheckout\Session.create().$params.payment_method_option
- Add support for
demo_pay
onCheckout\Session.create().$params.payment_method_option
- Add support for
capture_method
onCheckout.Session.payment_method_options.affirm
,Checkout.Session.payment_method_options.afterpay_clearpay
,Checkout.Session.payment_method_options.amazon_pay
,Checkout.Session.payment_method_options.card
,Checkout.Session.payment_method_options.cashapp
,Checkout.Session.payment_method_options.klarna
,Checkout.Session.payment_method_options.link
,Checkout.Session.payment_method_options.mobilepay
,Checkout.Session.payment_method_options.revolut_pay
,Checkout\Session.create().$params.payment_method_option.affirm
,Checkout\Session.create().$params.payment_method_option.afterpay_clearpay
,Checkout\Session.create().$params.payment_method_option.amazon_pay
,Checkout\Session.create().$params.payment_method_option.card
,Checkout\Session.create().$params.payment_method_option.cashapp
,Checkout\Session.create().$params.payment_method_option.klarna
,Checkout\Session.create().$params.payment_method_option.link
,Checkout\Session.create().$params.payment_method_option.mobilepay
, andCheckout\Session.create().$params.payment_method_option.revolut_pay
- Add support for
flexible
onCheckout\Session.create().$params.subscription_datum.billing_mode
,Invoice.create_preview().$params.schedule_detail.billing_mode
,Invoice.create_preview().$params.subscription_detail.billing_mode
,Quote.create().$params.subscription_datum.billing_mode
,Quote.subscription_data.billing_mode
,Subscription.billing_mode
,Subscription.create().$params.billing_mode
,Subscription.migrate().$params.billing_mode
,SubscriptionSchedule.billing_mode
, andSubscriptionSchedule.create().$params.billing_mode
- Add support for
business_name
andindividual_name
onCheckout.Session.collected_information
,Checkout.Session.customer_details
,Customer.create().$params
,Customer.update().$params
, andCustomer
- Add support for new values
mb_way
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for
chargeback_loss_reason_code
onDispute.payment_method_details.klarna
- Add support for
net_amount
andproration_details
onInvoiceItem
- Add support for `fraud_disputability_likeli...
v17.7.0-alpha.2
- #1904 generate private-preview SDK w/ mid Sept changes
- Add support for
retrieve
method on resourceV2.Core.ClaimableSandbox
- Add support for
month_of_year
onV2.Billing.Cadence#create.billing_cycle.month
andV2.Billing.Cadence.billing_cycle.month
- Add support for
claimed_at
,expires_at
,sandbox_details
, andstatus
onV2.Core.ClaimableSandbox
- Remove support for
api_keys
onV2.Core.ClaimableSandbox
- Change type of
V2.Core.ClaimableSandbox.claim_url
fromstring
tonullable(string)
- Add support for new value
current_billing_period_end
on enumsV2.Billing.Intent#create.actions[].deactivate.effective_at.type
andV2.Billing.IntentAction.deactivate.effective_at.type
- Add support for
will_activate_at
andwill_cancel_at
onV2.Billing.PricingPlanSubscription.servicing_status_transitions
andV2.Billing.RateCardSubscription.servicing_status_transitions
- Add support for
category
andpriority
onV2.Billing.ServiceAction#create.credit_grant_per_tenant
,V2.Billing.ServiceAction#create.credit_grant
,V2.Billing.ServiceAction.credit_grant_per_tenant
, andV2.Billing.ServiceAction.credit_grant
- Change
V2.Billing.LicenseFee#update.display_name
to be optional - Add support for
invoices
onEventsV2BillingCadenceBilledEvent
- Add support for thin events
V2CoreClaimableSandboxClaimedEvent
,V2CoreClaimableSandboxExpiredEvent
,V2CoreClaimableSandboxExpiringEvent
, andV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
with related objectV2.Core.ClaimableSandbox
- Remove support for thin event
V2BillingCadenceErroredEvent
with related objectV2.Billing.Cadence
- Add support for
v17.7.0-beta.1
This release changes the pinned API version to 2025-08-27.preview
.
- #1888 Update generated code for beta
- Add support for
all
andretrieve
methods on resourceInvoicePayment
- Add support for
all
method on resourceMandate
- Add support for
applied
onV2.Core.Account.configuration.customer
,V2.Core.Account.configuration.merchant
,V2.Core.Account.configuration.recipient
,V2.Core.Account.configuration.storer
,V2\Core\Account.update().$params.configuration.customer
,V2\Core\Account.update().$params.configuration.merchant
,V2\Core\Account.update().$params.configuration.recipient
, andV2\Core\Account.update().$params.configuration.storer
- Add support for new values
ao_nif
,az_tin
,bd_etin
,cr_cpj
,cr_nite
,do_rcn
,gt_nit
,kz_bin
,mz_nuit
,pe_ruc
,pk_ntn
,sa_crn
, andsa_tin
on enumV2.Core.Account.identity.business_details.id_numbers[].type
- Add support for new values
ao_nif
,az_tin
,bd_brc
,bd_etin
,bd_nid
,cr_cpf
,cr_dimex
,cr_nite
,do_rcn
,gt_nit
,kz_iin
,mz_nuit
,pe_dni
,pk_cnic
,pk_snic
, andsa_tin
on enumsV2.Core.Account.identity.individual.id_numbers[].type
andV2.Core.Person.id_numbers[].type
- Change type of
Billing.AlertTriggered.value
fromlongInteger
todecimal_string
- Add support for
display_name
onV2.MoneyManagement.FinancialAccount
andV2\MoneyManagement\FinancialAccount.create().$params
- Add support for new value
currency_conversion
on enumsV2.MoneyManagement.Transaction.category
andV2.MoneyManagement.TransactionEntry.transaction_details.category
- Add support for
currency_conversion
onV2.MoneyManagement.Transaction.flow
andV2.MoneyManagement.TransactionEntry.transaction_details.flow
- Add support for new value
currency_conversion
on enumsV2.MoneyManagement.Transaction.flow.type
andV2.MoneyManagement.TransactionEntry.transaction_details.flow.type
- Add support for
payments
onBalanceSettings.update().$params
andBalanceSettings
- Remove support for
debit_negative_balances
,payouts
, andsettlement_timing
onBalanceSettings.update().$params
andBalanceSettings
- Add support for
mandate
onCharge.payment_method_details.pix
,PaymentAttemptRecord.payment_method_details.pix
, andPaymentRecord.payment_method_details.pix
- Add support for
coupon_data
onCheckout\Session.create().$params.discount
- Add support for
mandate_options
onCheckout.Session.payment_method_options.pix
,Checkout\Session.create().$params.payment_method_option.pix
,PaymentIntent.confirm().$params.payment_method_option.pix
,PaymentIntent.create().$params.payment_method_option.pix
,PaymentIntent.payment_method_options.pix
, andPaymentIntent.update().$params.payment_method_option.pix
- Change type of
Checkout.Session.payment_method_options.pix.setup_future_usage
,Checkout\Session.create().$params.payment_method_option.pix.setup_future_usage
,PaymentIntent.confirm().$params.payment_method_option.pix.setup_future_usage
,PaymentIntent.create().$params.payment_method_option.pix.setup_future_usage
,PaymentIntent.payment_method_options.pix.setup_future_usage
, andPaymentIntent.update().$params.payment_method_option.pix.setup_future_usage
fromliteral('none')
toenum('none'|'off_session')
- Add support for
amount
onMandate.multi_use
,PaymentAttemptRecord
, andPaymentRecord
- Add support for
currency
onMandate.multi_use
- Add support for
pix
onMandate.payment_method_details
,SetupAttempt.payment_method_details
,SetupIntent.confirm().$params.payment_method_option
,SetupIntent.create().$params.payment_method_option
,SetupIntent.payment_method_options
, andSetupIntent.update().$params.payment_method_option
- Add support for
limit
onPaymentAttemptRecord.all().$params
- Add support for
amount_authorized
,amount_refunded
, andapplication
onPaymentAttemptRecord
andPaymentRecord
- Add support for
processor_details
onPaymentAttemptRecord
,PaymentRecord.report_payment().$params
, andPaymentRecord
- Remove support for
payment_reference
onPaymentAttemptRecord
,PaymentRecord.report_payment().$params
, andPaymentRecord
- Add support for
installments
onPaymentAttemptRecord.payment_method_details.alma
andPaymentRecord.payment_method_details.alma
- Add support for
transaction_id
onPaymentAttemptRecord.payment_method_details.alma
,PaymentAttemptRecord.payment_method_details.amazon_pay
,PaymentAttemptRecord.payment_method_details.billie
,PaymentAttemptRecord.payment_method_details.kakao_pay
,PaymentAttemptRecord.payment_method_details.kr_card
,PaymentAttemptRecord.payment_method_details.naver_pay
,PaymentAttemptRecord.payment_method_details.payco
,PaymentAttemptRecord.payment_method_details.revolut_pay
,PaymentAttemptRecord.payment_method_details.samsung_pay
,PaymentAttemptRecord.payment_method_details.satispay
,PaymentRecord.payment_method_details.alma
,PaymentRecord.payment_method_details.amazon_pay
,PaymentRecord.payment_method_details.billie
,PaymentRecord.payment_method_details.kakao_pay
,PaymentRecord.payment_method_details.kr_card
,PaymentRecord.payment_method_details.naver_pay
,PaymentRecord.payment_method_details.payco
,PaymentRecord.payment_method_details.revolut_pay
,PaymentRecord.payment_method_details.samsung_pay
, andPaymentRecord.payment_method_details.satispay
- Add support for
location
andreader
onPaymentAttemptRecord.payment_method_details.paynow
andPaymentRecord.payment_method_details.paynow
- Add support for
latest_active_mandate
onPaymentMethod
- Change
Payout.payout_method
to be required - Add support for
metadata
andperiod
onQuotePreviewSubscriptionSchedule.phases[].add_invoice_items[]
- Add support for
pix_display_qr_code
onSetupIntent.next_action
- Add support for
reader_security
onTerminal.Configuration
,Terminal\Configuration.create().$params
, andTerminal\Configuration.update().$params
- Add support for error codes
customer_session_expired
andindia_recurring_payment_mandate_canceled
onQuotePreviewInvoice.last_finalization_error
- Add support for
v17.7.0-alpha.1
- #1897 Use the right API version 2025-08-27.preview
- #1892 Update generated code for private-preview
- Add support for
attach_cadence
method on resourceSubscription
- Add support for
currency
andexternal_customer_id
onBilling.AlertTriggered
- Add support for
custom_pricing_unit
onBilling.AlertTriggered
,Billing.CreditBalanceSummary.balances[].available_balance
,Billing.CreditBalanceSummary.balances[].ledger_balance
,Billing.CreditBalanceTransaction.credit.amount
,Billing.CreditBalanceTransaction.debit.amount
,Billing.CreditGrant.amount
, andBilling\CreditGrant.create().$params.amount
- Add support for
customer
onBilling\Alert.all().$params
- Change type of
Billing.Alert.alert_type
,Billing\Alert.all().$params.alert_type
, andBilling\Alert.create().$params.alert_type
fromliteral('usage_threshold')
toenum('credit_balance_threshold'|'usage_threshold')
- Add support for
credit_balance_threshold
onBilling.Alert
andBilling\Alert.create().$params
- Add support for
billable_items
onBilling.CreditGrant.applicability_config.scope
,Billing\CreditBalanceSummary.retrieve().$params.filter.applicability_scope
, andBilling\CreditGrant.create().$params.applicability_config.scope
- Change type of
Billing.CreditBalanceSummary.balances[].available_balance.type
,Billing.CreditBalanceSummary.balances[].ledger_balance.type
,Billing.CreditBalanceTransaction.credit.amount.type
,Billing.CreditBalanceTransaction.debit.amount.type
,Billing.CreditGrant.amount.type
, andBilling\CreditGrant.create().$params.amount.type
fromliteral('monetary')
toenum('custom_pricing_unit'|'monetary')
- Add support for
license_fee_subscription_details
andrate_card_subscription_details
onInvoiceItem.parent
andInvoiceLineItem.parent
- Change type of
InvoiceItem.parent.type
fromliteral('subscription_details')
toenum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')
- Add support for
license_fee_details
andrate_card_rate_details
onInvoiceItem.pricing
andInvoiceLineItem.pricing
- Change type of
InvoiceItem.pricing.type
andInvoiceLineItem.pricing.type
fromliteral('price_details')
toenum('license_fee_details'|'price_details'|'rate_card_rate_details')
- Add support for
billing_cadence
onInvoice.create_preview().$params
,Subscription.create().$params
, andSubscription
- Add support for
billing_cadence_details
onInvoice.parent
andQuotePreviewInvoice.parent
- Add support for new value
billing_cadence_details
on enumsInvoice.parent.type
andQuotePreviewInvoice.parent.type
- Add support for new values
license_fee_subscription_details
andrate_card_subscription_details
on enumInvoiceLineItem.parent.type
- Add support for new resources
V2.Billing.BillSettingVersion
,V2.Billing.BillSetting
,V2.Billing.Cadence
,V2.Billing.CollectionSettingVersion
,V2.Billing.CollectionSetting
,V2.Billing.CustomPricingUnit
,V2.Billing.IntentAction
,V2.Billing.Intent
,V2.Billing.LicenseFeeSubscription
,V2.Billing.LicenseFeeVersion
,V2.Billing.LicenseFee
,V2.Billing.LicensedItem
,V2.Billing.MeteredItem
,V2.Billing.PricingPlanComponent
,V2.Billing.PricingPlanSubscription
,V2.Billing.PricingPlanVersion
,V2.Billing.PricingPlan
,V2.Billing.Profile
,V2.Billing.RateCardRate
,V2.Billing.RateCardSubscription
,V2.Billing.RateCardVersion
,V2.Billing.RateCard
,V2.Billing.ServiceAction
,V2.Core.ClaimableSandbox
,V2.Reporting.ReportRun
,V2.Reporting.Report
, andV2.Tax.AutomaticRule
- Add support for
create
,deactivate
,find
,retrieve
, andupdate
methods on resourceV2.Tax.AutomaticRule
- Add support for
create
andretrieve
methods on resourcesV2.Billing.ServiceAction
andV2.Reporting.ReportRun
- Add support for
retrieve
method on resourcesV2.Billing.LicenseFeeSubscription
andV2.Reporting.Report
- Add support for
create
method on resourceV2.Core.ClaimableSandbox
- Add support for
all
,cancel
,create
,retrieve
, andupdate
methods on resourcesV2.Billing.Cadence
andV2.Billing.RateCardSubscription
- Add support for
all
,create
,retrieve
, andupdate
methods on resourcesV2.Billing.BillSetting
,V2.Billing.CollectionSetting
,V2.Billing.CustomPricingUnit
,V2.Billing.LicenseFee
,V2.Billing.LicensedItem
,V2.Billing.MeteredItem
,V2.Billing.PricingPlan
,V2.Billing.Profile
, andV2.Billing.RateCard
- Add support for
all
andretrieve
methods on resourcesV2.Billing.BillSettingVersion
,V2.Billing.CollectionSettingVersion
,V2.Billing.IntentAction
,V2.Billing.LicenseFeeVersion
,V2.Billing.PricingPlanSubscription
,V2.Billing.PricingPlanVersion
, andV2.Billing.RateCardVersion
- Add support for
all
,create
,delete
, andretrieve
methods on resourceV2.Billing.RateCardRate
- Add support for
all
,create
,delete
,retrieve
, andupdate
methods on resourceV2.Billing.PricingPlanComponent
- Add support for
all
,cancel
,commit
,create
,release_reservation
,reserve
, andretrieve
methods on resourceV2.Billing.Intent
- Add support for
changes
onV2.Event
- Add support for thin events
V2BillingCadenceBilledEvent
,V2BillingCadenceCanceledEvent
,V2BillingCadenceCreatedEvent
, andV2BillingCadenceErroredEvent
with related objectV2.Billing.Cadence
- Add support for thin events
V2BillingLicenseFeeCreatedEvent
andV2BillingLicenseFeeUpdatedEvent
with related objectV2.Billing.LicenseFee
- Add support for thin event
V2BillingLicenseFeeVersionCreatedEvent
with related objectV2.Billing.LicenseFeeVersion
- Add support for thin events
V2BillingLicensedItemCreatedEvent
andV2BillingLicensedItemUpdatedEvent
with related objectV2.Billing.LicensedItem
- Add support for thin events
V2BillingMeteredItemCreatedEvent
andV2BillingMeteredItemUpdatedEvent
with related objectV2.Billing.MeteredItem
- Add support for thin events
V2BillingPricingPlanCreatedEvent
andV2BillingPricingPlanUpdatedEvent
with related objectV2.Billing.PricingPlan
- Add support for thin events
V2BillingPricingPlanComponentCreatedEvent
andV2BillingPricingPlanComponentUpdatedEvent
with related objectV2.Billing.PricingPlanComponent
- Add support for thin events
V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingPricingPlanSubscriptionCollectionCurrentEvent
,V2BillingPricingPlanSubscriptionCollectionPastDueEvent
,V2BillingPricingPlanSubscriptionCollectionPausedEvent
,V2BillingPricingPlanSubscriptionCollectionUnpaidEvent
,V2BillingPricingPlanSubscriptionServicingActivatedEvent
,V2BillingPricingPlanSubscriptionServicingCanceledEvent
, andV2BillingPricingPlanSubscriptionServicingPausedEvent
with related objectV2.Billing.PricingPlanSubscription
- Add support for thin event
V2BillingPricingPlanVersionCreatedEvent
with related objectV2.Billing.PricingPlanVersion
- Add support for thin events
V2BillingRateCardCreatedEvent
andV2BillingRateCardUpdatedEvent
with related objectV2.Billing.RateCard
- Add support for thin event
V2BillingRateCardRateCreatedEvent
with related objectV2.Billing.RateCardRate
- Add support for thin events
V2BillingRateCardSubscriptionActivatedEvent
,V2BillingRateCardSubscriptionCanceledEvent
,V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingRateCardSubscriptionCollectionCurrentEvent
,V2BillingRateCardSubscriptionCollectionPastDueEvent
,V2BillingRateCardSubscriptionCollectionPausedEvent
,V2BillingRateCardSubscriptionCollectionUnpaidEvent
,V2BillingRateCardSubscriptionServicingActivatedEvent
,V2BillingRateCardSubscriptionServicingCanceledEvent
, andV2BillingRateCardSubscriptionServicingPausedEvent
with related objectV2.Billing.RateCardSubscription
- Add support for thin event
V2BillingRateCardVersionCreatedEvent
with related objectV2.Billing.RateCardVersion
- Add support for thin events
V2CoreHealthApiErrorFiringEvent
,V2CoreHealthApiErrorResolvedEvent
,V2CoreHealthApiLatencyFiringEvent
,V2CoreHealthApiLatencyResolvedEvent
,V2CoreHealthAuthorizationRateDropFiringEvent
,V2CoreHealthAuthorizationRateDropResolvedEvent
,V2CoreHealthEventGenerationFailureResolvedEvent
,V2CoreHealthFraudRateIncreasedEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
,V2CoreHealthPaymentMethodErrorFiringEvent
,V2CoreHealthPaymentMethodErrorResolvedEvent
,V2CoreHealthTrafficVolumeDropFiringEvent
,V2CoreHealthTrafficVolumeDropResolvedEvent
,V2CoreHealthWebhookLatencyFiringEvent
, andV2CoreHealthWebhookLatencyResolvedEvent
- Add support for thin events
V2ReportingReportRunCreatedEvent
,V2ReportingReportRunFailedEvent
,V2ReportingReportRunSucceededEvent
, andV2ReportingReportRunUpdatedEvent
with related objectV2.Reporting.ReportRun
- Add support for error type
RateLimitException
- Adds
getStripeParam
andsetStripeParam
to ApiErrorException base class. Currently, this is only used byRateLimitExceptions
returned from v2 services.
- Add support for
v17.6.0
- #1895 Add section on private preview SDKs in readme
- #1890 Update generated code. This release changes the pinned API version to
2025-08-27.basil
.- Add support for
balance_report
,payout_details
, andpayout_reconciliation_report
onAccountSession.components
andAccountSession.create().$params.component
- Add support for
name
onBillingPortal.Configuration
,BillingPortal\Configuration.create().$params
, andBillingPortal\Configuration.update().$params
- Add support for
installments
onCharge.payment_method_details.alma
- Add support for
transaction_id
onCharge.payment_method_details.alma
,Charge.payment_method_details.amazon_pay
,Charge.payment_method_details.billie
,Charge.payment_method_details.kakao_pay
,Charge.payment_method_details.kr_card
,Charge.payment_method_details.naver_pay
,Charge.payment_method_details.payco
,Charge.payment_method_details.revolut_pay
,Charge.payment_method_details.samsung_pay
, andCharge.payment_method_details.satispay
- Add support for
location
andreader
onCharge.payment_method_details.paynow
- Add support for
amount_includes_iof
onCheckout.Session.payment_method_options.pix
,Checkout\Session.create().$params.payment_method_option.pix
,PaymentIntent.confirm().$params.payment_method_option.pix
,PaymentIntent.create().$params.payment_method_option.pix
,PaymentIntent.payment_method_options.pix
, andPaymentIntent.update().$params.payment_method_option.pix
- Add support for new values
block
andresolution
on enumDispute.payment_method_details.card.case_type
- Add support for new value
terminal_android_apk
on enumFile.purpose
- Add support for
metadata
andperiod
onInvoice.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
exp_month
andexp_year
onIssuing\Card.create().$params
- Add support for
excluded_payment_method_types
onPaymentIntent.create().$params
andPaymentIntent
- Add support for
payout_method
onPayout.create().$params
andPayout
- Add support for
mxn
onTerminal.Configuration.tipping
,Terminal\Configuration.create().$params.tipping
, andTerminal\Configuration.update().$params.tipping
- Add support for
card
onTerminal\Reader.present_payment_method().$params
- Add support for error codes
customer_session_expired
andindia_recurring_payment_mandate_canceled
onInvoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
- Add support for
- #1894 Add getter for Stripe Account on BaseStripeClient
- Add
getStripeAccount
method onBaseStripeClient
to retrieve Stripe Account ID from aStripeClient
instance.
- Add
v17.6.0-beta.2
- #1891 Bring back invoice payments APIs that were missing in the public preview SDKs
- Add support for new resource
InvoicePayment
- Add support for
all
andretrieve
methods on resourceInvoicePayment
- Add support for new resource
v17.6.0-beta.1
This release changes the pinned API version to 2025-07-30.preview
.
- #1885 Update generated code for beta
- Add support for new resources
Billing.MeterUsageRow
,Billing.MeterUsage
, andTerminal.OnboardingLink
- Add support for
retrieve
method on resourceBilling.MeterUsage
- Add support for
create
method on resourceTerminal.OnboardingLink
- Add support for
smart_disputes
onDispute
- Add support for new value
upi
on enumsInvoice.payment_settings.payment_method_types
,QuotePreviewInvoice.payment_settings.payment_method_types
, andSubscription.payment_settings.payment_method_types
- Add support for thin event
V2CoreAccountLinkReturnedEvent
- Add support for thin event
V2MoneyManagementPayoutMethodUpdatedEvent
with related objectV2.MoneyManagement.PayoutMethod
- Remove support for thin event
V2CoreAccountLinkCompletedEvent
- Remove support for thin event
V2OffSessionPaymentRequiresCaptureEvent
with related objectV2.Payments.OffSessionPayment
- Add support for new resources
v17.5.0
This release changes the pinned API version to 2025-07-30.basil
.
- #1887 Update generated code
- Add support for
origin_context
onCheckout.Session
- Add support for
- #1881 Ensure compatibility with POST on older versions of libcurl
- Fixes an issue with older versions of php/libcurl where certain SDK calls that have empty POST bodies will result in a 400 Bad Request returned from the server.