-
#1696 API Updates
- Add support for new values
electric_vehicle_charging
,emergency_services_gcas_visa_use_only
,government_licensed_horse_dog_racing_us_region_only
,government_licensed_online_casions_online_gambling_us_region_only
,government_owned_lotteries_non_us_region
,government_owned_lotteries_us_region_only
, andmarketplaces
on spending control categories. - Add support for
reconciliation_status
onPayout
- Add support for new value
lease_tax
on enumsTaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
- Add support for new values
-
#1689 Update v11.8.0 changelog with breaking change disclaimer
- #1688 API Updates
- Add support for new value
yoursafe
on enumsCharge.payment_method_details.ideal.bank
,PaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethod.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupAttempt.payment_method_details.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
- Add support for new value
BITSNL2A
on enumsCharge.payment_method_details.ideal.bic
,PaymentMethod.ideal.bic
, andSetupAttempt.payment_method_details.ideal.bic
- Add support for new value
igst
on enumsTaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
- Add support for new value
- #1687 Convert TypeScript files to use ES modules
- #1681 API Updates
- Add support for
refund_payment
method on resourceTerminal.Reader
- Add support for new value
name
on enumsBillingPortal.Configuration.features.customer_update.allowed_updates[]
,BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates[]
, andBillingPortalConfigurationUpdateParams.features.customer_update.allowed_updates[]
- Add support for
custom_fields
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Change
Subscription.trial_settings.end_behavior
andSubscription.trial_settings
to be required - Add support for
interac_present
onTerminalReaderPresentPaymentMethodParams.testHelpers
- Change type of
TerminalReaderPresentPaymentMethodParams.testHelpers.type
fromliteral('card_present')
toenum('card_present'|'interac_present')
- Add support for
refund_payment
onTerminal.Reader.action
- Add support for new value
refund_payment
on enumTerminal.Reader.action.type
- Add support for
- #1683 Add NextJS webhook sample
- #1685 Add more webhook parsing checks
- #1684 Add infrastructure for mocked tests
- #1679 Enable library to work in worker environments without extra configuration.
- #1672 Update main entrypoint on package.json
-
#1669 API Updates
- Add support for
resume
method on resourceSubscription
- Add support for
payment_link
onCheckoutSessionListParams
- Add support for
trial_settings
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for
shipping_cost
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
- Add support for
amount_shipping
onCreditNote
andInvoice
- Add support for
shipping_details
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
- Add support for
subscription_resume_at
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Change
IssuingCardholderCreateParams.individual.first_name
,IssuingCardholderCreateParams.individual.last_name
,IssuingCardholderUpdateParams.individual.first_name
, andIssuingCardholderUpdateParams.individual.last_name
to be optional - Change type of
Issuing.Cardholder.individual.first_name
andIssuing.Cardholder.individual.last_name
fromstring
tostring | null
- Add support for
invoice_creation
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for new value
America/Ciudad_Juarez
on enumReportingReportRunCreateParams.parameters.timezone
- Add support for new value
paused
on enumSubscriptionListParams.status
- Add support for new value
paused
on enumSubscription.status
- Add support for new values
customer.subscription.paused
andcustomer.subscription.resumed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
funding_reversed
on enumCustomerCashBalanceTransaction.type
- Add support for
-
#1670 Change default entrypoint to stripe.node
-
#1668 Use EventTarget in worker / browser runtimes
-
#1667 fix: added support for TypeScript "NodeNext" module resolution
- #1665 API Updates
- Add support for new value
BE
on enumsCheckout.Session.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country
,Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country
,PaymentIntent.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country
, andSubscription.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country
- Add support for new values
cs-CZ
,el-GR
,en-CZ
, anden-GR
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new value
- #1660 Introduce separate entry point for worker environments
- This is technically a breaking change that explicitly defines package entry points and was mistakenly released in a minor version. If your application previously imported other internal files from stripe-node and this change breaks it, please open an issue detailing your use case.
- #1661 API Updates
- Add support for
verification_session
onEphemeralKeyCreateParams
- Add support for new values
refund.created
andrefund.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1647 Bump json5 from 2.2.1 to 2.2.3
- #1646 API Updates
- Add support for
card_issuing
onIssuing.Cardholder.individual
- Add support for
- #1642 API Updates
- Add support for new value
merchant_default
on enumsCashBalanceUpdateParams.settings.reconciliation_mode
,CustomerCreateParams.cash_balance.settings.reconciliation_mode
, andCustomerUpdateParams.cash_balance.settings.reconciliation_mode
- Add support for
using_merchant_default
onCashBalance.settings
- Change
CheckoutSessionCreateParams.cancel_url
to be optional - Change type of
Checkout.Session.cancel_url
fromstring
tostring | null
- Add support for new value
- #1639 API Updates
- Add support for new value
invoice_overpaid
on enumCustomerBalanceTransaction.type
- Add support for new value
- #1637 Update packages in examples/webhook-signing
- #1634 API Updates
- Change
CustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
to be optional
- Change
- #1632 API Updates
- Add support for
flow_data
onBillingPortalSessionCreateParams
- Add support for
flow
onBillingPortal.Session
- Add support for
- #1631 API Updates
- Add support for
india_international_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
invoice_creation
onCheckout.Session
andCheckoutSessionCreateParams
- Add support for
invoice
onCheckout.Session
- Add support for
metadata
onSubscriptionSchedule.phases[].items[]
,SubscriptionScheduleCreateParams.phases[].items[]
, andSubscriptionScheduleUpdateParams.phases[].items[]
- Add support for
- #1630 Remove BASIC_METHODS from TS definitions
- #1629 Narrower type for stripe.invoices.retrieveUpcoming()
- #1627 remove unneeded IIFE
- #1625 Remove API version from the path
- #1626 Move child resource method params next to method declarations
- #1624 Split resource and service types
- #1623 API Updates
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.wechat_pay_display_qr_code
- Add support for
- #1622 API Updates
- Add support for
custom_text
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.paynow_display_qr_code
- Add support for
This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15
"
- #1608 Next major release changes
- #1619 Annotate prototypes with types
- #1612 Add type information here and there
- #1615 API Updates
⚠️ Remove support fortos_shown_and_accepted
onCheckoutSessionCreateParams.payment_method_options.paynow
. The property was mistakenly released and never worked.
- Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
- Change
StripeSignatureVerificationError
to haveheader
andpayload
fields instead ofdetail
. To access these properties, useerr.header
anderr.payload
instead oferr.detail.header
anderr.detail.payload
. (#1574)
-
Remove
Orders
resource. (#1580) -
Remove
SKU
resource (#1583) -
Remove deprecated
CheckoutSessionCreateParams.subscription_data.items
. (#1580) -
Remove deprecated configuration setter methods (
setHost
,setProtocol
,setPort
,setApiVersion
,setApiKey
,setTimeout
,setAppInfo
,setHttpAgent
,setMaxNetworkRetries
, andsetTelemetryEnabled
). (#1597)Use the config object to set these options instead, for example:
const stripe = Stripe('sk_test_...', { apiVersion: '2019-08-08', maxNetworkRetries: 1, httpAgent: new ProxyAgent(process.env.http_proxy), timeout: 1000, host: 'api.example.com', port: 123, telemetry: true, });
-
Remove deprecated basic method definitions. (#1600) Use basic methods defined on the resource instead.
// Before basicMethods: true // After create: stripeMethod({ method: 'POST', fullPath: '/v1/resource', }), list: stripeMethod({ method: 'GET', methodType: 'list', fullPath: '/v1/resource', }), retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/resource/{id}', }), update: stripeMethod({ method: 'POST', fullPath: '/v1/resource/{id}', }), // Avoid 'delete' keyword in JS del: stripeMethod({ method: 'DELETE', fullPath: '/v1/resource/{id}', }),
-
Remove deprecated option names. Use the following option names instead (
OLD
->NEW
):api_key
->apiKey
,idempotency_key
->idempotencyKey
,stripe_account
->stripeAccount
,stripe_version
->apiVersion
,stripeVersion
->apiVersion
. (#1600) -
Remove
charges
field onPaymentIntent
and replace it withlatest_charge
. (#1614 ) -
Remove deprecated
amount
field onCheckout.Session.LineItem
. (#1614 ) -
Remove support for
tos_shown_and_accepted
onCheckout.Session.PaymentMethodOptions.Paynow
. (#1614 )
- #1610 API Updates
- Add support for new values
eg_tin
,ph_tin
, andtr_tin
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.tax_ids[].type
, andTaxId.type
- Add support for new values
eg_tin
,ph_tin
, andtr_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
reason_message
onIssuing.Authorization.request_history[]
- Add support for new value
webhook_error
on enumIssuing.Authorization.request_history[].reason
- Add support for new values
- #1596 API Updates
- Add support for
on_behalf_of
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams
, andSubscription
- Add support for
tax_behavior
andtax_code
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceUpcomingLinesParams.invoice_items[]
, andInvoiceUpcomingParams.invoice_items[]
- Add support for
- #1588 API Updates
- Add support for new values
jp_trn
andke_pin
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.tax_ids[].type
, andTaxId.type
- Add support for new values
jp_trn
andke_pin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
tipping
onTerminal.Reader.action.process_payment_intent.process_config
andTerminalReaderProcessPaymentIntentParams.process_config
- Add support for new values
- #1585 use native UUID method if available
- #1582 API Updates
- Add support for new values
invalid_representative_country
andverification_failed_residential_address
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,Capability.future_requirements.errors[].code
,Capability.requirements.errors[].code
,Person.future_requirements.errors[].code
, andPerson.requirements.errors[].code
- Add support for
request_log_url
onStripeError
objects - Add support for
network_data
onIssuing.Authorization
⚠️ Removecurrency
,description
,images
, andname
fromCheckout.SessionCreateParams
. These properties do not work on the latest API version. (fixes #1575)
- Add support for new values
- #1571 API Updates
- Add support for new value
invalid_dob_age_under_18
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,Capability.future_requirements.errors[].code
,Capability.requirements.errors[].code
,Person.future_requirements.errors[].code
, andPerson.requirements.errors[].code
- Add support for new value
bank_of_china
on enumsCharge.payment_method_details.fpx.bank
,PaymentIntentConfirmParams.payment_method_data.fpx.bank
,PaymentIntentCreateParams.payment_method_data.fpx.bank
,PaymentIntentUpdateParams.payment_method_data.fpx.bank
,PaymentMethod.fpx.bank
,PaymentMethodCreateParams.fpx.bank
,SetupIntentConfirmParams.payment_method_data.fpx.bank
,SetupIntentCreateParams.payment_method_data.fpx.bank
, andSetupIntentUpdateParams.payment_method_data.fpx.bank
- Add support for new values
America/Nuuk
,Europe/Kyiv
, andPacific/Kanton
on enumReportingReportRunCreateParams.parameters.timezone
- Add support for
klarna
onSetupAttempt.payment_method_details
- Add support for new value
- #1570 Update node-fetch to 2.6.7
- #1568 Upgrade dependencies
- #1567 Fix release tag calculation
- #1564 API Updates
- Change type of
Charge.payment_method_details.card_present.incremental_authorization_supported
andCharge.payment_method_details.card_present.overcapture_supported
fromboolean | null
toboolean
- Add support for
created
onCheckout.Session
- Add support for
setup_future_usage
onPaymentIntent.payment_method_options.pix
,PaymentIntentConfirmParams.payment_method_options.pix
,PaymentIntentCreateParams.payment_method_options.pix
, andPaymentIntentUpdateParams.payment_method_options.pix
- Deprecate
CheckoutSessionCreateParams.subscription_data.items
(use theline_items
param instead). This will be removed in the next major version.
- Change type of
- #1563 Migrate other Stripe infrastructure to TS
- #1562 Restore lib after generating
- #1551 Re-introduce Typescript changes
- #1560 API Updates
- Add support for
terms_of_service
onCheckout.Session.consent_collection
,Checkout.Session.consent
,CheckoutSessionCreateParams.consent_collection
,PaymentLink.consent_collection
, andPaymentLinkCreateParams.consent_collection
⚠️ Remove support forplan
onCheckoutSessionCreateParams.payment_method_options.card.installments
. The property was mistakenly released and never worked.- Add support for
statement_descriptor
onPaymentIntentIncrementAuthorizationParams
- Change
SubscriptionSchedule.phases[].currency
to be required
- Add support for
- #1552 API Updates
- Add support for
pix
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,CheckoutSessionCreateParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new value
pix
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
pix
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
from_invoice
onInvoiceCreateParams
andInvoice
- Add support for
latest_revision
onInvoice
- Add support for
amount
onIssuingDisputeCreateParams
andIssuingDisputeUpdateParams
- Add support for new value
pix
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for
pix_display_qr_code
onPaymentIntent.next_action
- Add support for new value
pix
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for new value
pix
on enumPaymentMethodCreateParams.type
- Add support for new value
pix
on enumPaymentMethod.type
- Add support for
created
onTreasury.CreditReversal
andTreasury.DebitReversal
- Add support for
- #1549 API Updates
- Add support for new value
terminal_reader_splashscreen
on enumsFile.purpose
andFileListParams.purpose
- Add support for
require_signature
onIssuing.Card.shipping
andIssuingCardCreateParams.shipping
- Add support for new value
- #1544 API Updates
- Add support for new value
terminal_reader_splashscreen
on enumsFile.purpose
andFileListParams.purpose
- Add support for new value
- #1540 API Updates
- Add support for new values
de-CH
,en-CH
,en-PL
,en-PT
,fr-CH
,it-CH
,pl-PL
, andpt-PT
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for
description
onPaymentLink.subscription_data
andPaymentLinkCreateParams.subscription_data
- Add support for new values
-
#1534 API Updates
- Change
Account.company.name
,Charge.refunds
,PaymentIntent.charges
,Product.caption
,Product.statement_descriptor
,Product.unit_label
,Terminal.Configuration.tipping.aud.fixed_amounts
,Terminal.Configuration.tipping.aud.percentages
,Terminal.Configuration.tipping.cad.fixed_amounts
,Terminal.Configuration.tipping.cad.percentages
,Terminal.Configuration.tipping.chf.fixed_amounts
,Terminal.Configuration.tipping.chf.percentages
,Terminal.Configuration.tipping.czk.fixed_amounts
,Terminal.Configuration.tipping.czk.percentages
,Terminal.Configuration.tipping.dkk.fixed_amounts
,Terminal.Configuration.tipping.dkk.percentages
,Terminal.Configuration.tipping.eur.fixed_amounts
,Terminal.Configuration.tipping.eur.percentages
,Terminal.Configuration.tipping.gbp.fixed_amounts
,Terminal.Configuration.tipping.gbp.percentages
,Terminal.Configuration.tipping.hkd.fixed_amounts
,Terminal.Configuration.tipping.hkd.percentages
,Terminal.Configuration.tipping.myr.fixed_amounts
,Terminal.Configuration.tipping.myr.percentages
,Terminal.Configuration.tipping.nok.fixed_amounts
,Terminal.Configuration.tipping.nok.percentages
,Terminal.Configuration.tipping.nzd.fixed_amounts
,Terminal.Configuration.tipping.nzd.percentages
,Terminal.Configuration.tipping.sek.fixed_amounts
,Terminal.Configuration.tipping.sek.percentages
,Terminal.Configuration.tipping.sgd.fixed_amounts
,Terminal.Configuration.tipping.sgd.percentages
,Terminal.Configuration.tipping.usd.fixed_amounts
,Terminal.Configuration.tipping.usd.percentages
,Treasury.FinancialAccount.active_features
,Treasury.FinancialAccount.pending_features
,Treasury.FinancialAccount.platform_restrictions
, andTreasury.FinancialAccount.restricted_features
to be optional- This is a bug fix. These fields were all actually optional and not guaranteed to be returned by the Stripe API, however the type annotations did not correctly reflect this.
- Fixes #1518.
- Add support for
login_page
onBillingPortal.Configuration
,BillingPortalConfigurationCreateParams
, andBillingPortalConfigurationUpdateParams
- Add support for new value
deutsche_bank_ag
on enumsCharge.payment_method_details.eps.bank
,PaymentIntentConfirmParams.payment_method_data.eps.bank
,PaymentIntentCreateParams.payment_method_data.eps.bank
,PaymentIntentUpdateParams.payment_method_data.eps.bank
,PaymentMethod.eps.bank
,PaymentMethodCreateParams.eps.bank
,SetupIntentConfirmParams.payment_method_data.eps.bank
,SetupIntentCreateParams.payment_method_data.eps.bank
, andSetupIntentUpdateParams.payment_method_data.eps.bank
- Add support for
customs
andphone_number
onIssuing.Card.shipping
andIssuingCardCreateParams.shipping
- Add support for
description
onQuote.subscription_data
,QuoteCreateParams.subscription_data
,QuoteUpdateParams.subscription_data
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
, andSubscriptionScheduleUpdateParams.phases[]
- Change
-
#1532 Update coveralls step to run for one node version, remove finish step
-
#1531 Regen yarn.lock.
- #1527 fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
- #1528 Update README.md to use a new NOTE notation
- #1526 Add test coverage using Coveralls
- #1520 Add beta readme.md section
- #1524 API Updates
- Change
Terminal.Reader.action
to be required - Change
TreasuryOutboundTransferCreateParams.destination_payment_method
to be optional - Change type of
Treasury.OutboundTransfer.destination_payment_method
fromstring
tostring | null
- Change the return type of
Customer.fundCashBalance
test helper fromCustomerBalanceTransaction
toCustomerCashBalanceTransaction
.- This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
- Change
- #1516 API Updates
- Add support for new resource
CustomerCashBalanceTransaction
- Remove support for value
paypal
from enumsOrder.payment.settings.payment_method_types[]
,OrderCreateParams.payment.settings.payment_method_types[]
, andOrderUpdateParams.payment.settings.payment_method_types[]
- Add support for
currency
onPaymentLink
- Add support for
network
onSetupIntentConfirmParams.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
,SetupIntentUpdateParams.payment_method_options.card
,Subscription.payment_settings.payment_method_options.card
,SubscriptionCreateParams.payment_settings.payment_method_options.card
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card
- Change
Subscription.currency
to be required - Change type of
Topup.source
fromSource
toSource | null
- Add support for new value
customer_cash_balance_transaction.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
- #1515 Add a support section to the readme
- #1510 API Updates
- Add support for
payment_method_collection
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
- #1506 API Updates
- Add support for
process_config
onTerminal.Reader.action.process_payment_intent
- Add support for
- #1505 Simplify AddressParam definitions
- Rename
AddressParam
toShippingAddressParam
, and change type ofSource.source_order.shipping.address
,SourceUpdateParams.SourceOrder.Shipping.address
, andSessionCreateParams.PaymentIntentData.Shipping.address
toShippingAddressParam
- Rename
AccountAddressParam
goAddressParam
, and change type ofAccountCreateParams.BusinessProfile.support_address
,AccountCreateParams.Company.address
,AccountCreateParams.Individual.address
,AccountCreateParams.Individual.registered_address
,AccountUpdateParams.BusinessProfile.support_address
,AccountUpdateParams.Company.address
,AccountUpdateParams.Individual.address
,AccountUpdateParams.Individual.registered_address
,ChargeCreateParams.Shipping.address
,ChargeUpdateParams.Shipping.address
,CustomerCreateParams.Shipping.address
,CustomerUpdateParams.Shipping.address
,CustomerSourceUpdateParams.Owner.address
,InvoiceListUpcomingLinesParams.CustomerDetails.Shipping.address
,InvoiceRetrieveUpcomingParams.CustomerDetails.Shipping.address
,OrderCreateParams.BillingDetails.address
,OrderCreateParams.ShippingDetails.address
,OrderUpdateParams.BillingDetails.address
,OrderUpdateParams.ShippingDetails.address
,PaymentIntentCreateParams.Shipping.address
,PaymentIntentUpdateParams.Shipping.address
,PaymentIntentConfirmParams.Shipping.address
,PersonCreateParams.address
,PersonCreateParams.registered_address
,PersonUpdateParams.address
,PersonUpdateParams.registered_address
,SourceCreateParams.Owner.address
,SourceUpdateParams.Owner.address
,TokenCreateParams.Account.Company.address
,TokenCreateParams.Account.Individual.address
,TokenCreateParams.Account.Individual.registered_address
,TokenCreateParams.Person.address
,TokenCreateParams.Person.registered_address
, andTerminal.LocationUpdateParams.address
toAddressParam
- Rename
- #1503 API Updates
- Add support for
expires_at
onApps.Secret
andAppsSecretCreateParams
- Add support for
This release includes breaking changes resulting from:
- Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
- Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10.
"
- Add support for new value
invalid_tos_acceptance
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,Capability.future_requirements.errors[].code
,Capability.requirements.errors[].code
,Person.future_requirements.errors[].code
, andPerson.requirements.errors[].code
- Add support for
shipping_cost
andshipping_details
onCheckout.Session
- Change type of
business_profile
,business_type
,country
,default_currency
, andsettings
properties onAccount
resource to be nullable. - Change type of
currency
property onCheckout.Session
resource fromstring
to'cad' | 'usd'
. - Change location of TypeScript definitions for
CreditNoteLineItemListPreviewParams
,CreditNoteLineItemListPreviewParams.Line
,CreditNoteLineItemListPreviewParams.Line.Type
, andCreditNoteLineItemListPreviewParams.Line.Reason
interfaces fromCreditNoteLineItems.d.ts
toCreditNotes.d.ts
. - Change type of
address
,currency
,delinquent
,discount
,invoice_prefix
,name
,phone
, andpreferred_locales
properties onCustomer
resource to be nullable. - Rename
InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
.
- Remove for
AlipayAccount
,DeletedAlipayAccount
,BitcoinReceiver
,DeletedBitcoinReceiver
,BitcoinTransaction
, andBitcoinTransactionListParams
definitions. - Remove
AlipayAccount
andBitcoinReceiver
fromCustomerSource
. - Remove
Stripe.DeletedAlipayAccount
andStripe.DeletedBitcoinReceiver
from possible values ofsource
property inPaymentIntent
. - Remove
IssuerFraudRecord
,IssuerFraudRecordRetrieveParams
,IssuerFraudRecordListParams
, andIssuerFraudRecordsResource
, definitions. - Remove
treasury.received_credit.reversed
webhook event constant. Please usetreasury.received_credit.returned
instead. - Remove
order.payment_failed
,transfer.failed
, andtransfer.paid
. The events were deprecated. - Remove
retrieveDetails
method fromIssuing.Card
resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. - Remove
Issuing.CardDetails
andCardRetrieveDetailsParams
definition. - Remove
IssuerFraudRecords
resource. - Remove
Recipient
resource andrecipient
property fromCard
resource. - Remove
InvoiceMarkUncollectibleParams
definition. - Remove deprecated
Stripe.Errors
andStripeError
(and derivedStripeCardError
,StripeInvalidRequestError
,StripeAPIError
,StripeAuthenticationError
,StripePermissionError
,StripeRateLimitError
,StripeConnectionError
,StripeSignatureVerificationError
,StripeIdempotencyError
, andStripeInvalidGrantError
) definitions. - Remove
redirect_url
fromLoginLinks
definition. The property is no longer supported. - Remove
LineItemListParams
definition. The interface was no longer in use.
- Rename
listUpcomingLineItems
method onInvoice
resource tolistUpcomingLines
. - Rename
InvoiceLineItemListUpcomingParams
toInvoiceListUpcomingLinesParams
. - Rename
InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
.
- #1492 API Updates
- Add support for new value
exempted
on enumsCharge.payment_method_details.card.three_d_secure.result
andSetupAttempt.payment_method_details.card.three_d_secure.result
- Add support for
customer_balance
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Add support for new value
customer_balance
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new values
en-CA
andfr-CA
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new value
- #1486 API Updates
- Add support for
installments
onCheckout.Session.payment_method_options.card
,CheckoutSessionCreateParams.payment_method_options.card
,Invoice.payment_settings.payment_method_options.card
,InvoiceCreateParams.payment_settings.payment_method_options.card
, andInvoiceUpdateParams.payment_settings.payment_method_options.card
- Add support for
default_currency
andinvoice_credit_balance
onCustomer
- Add support for
currency
onInvoiceCreateParams
- Add support for
default_mandate
onInvoice.payment_settings
,InvoiceCreateParams.payment_settings
, andInvoiceUpdateParams.payment_settings
- Add support for
mandate
onInvoicePayParams
- Add support for
product_data
onOrderCreateParams.line_items[]
andOrderUpdateParams.line_items[]
- Add support for
- #1477 API Updates
- Add support for
blik_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
blik
onCharge.payment_method_details
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
- Change type of
Checkout.Session.consent_collection.promotions
,CheckoutSessionCreateParams.consent_collection.promotions
,PaymentLink.consent_collection.promotions
, andPaymentLinkCreateParams.consent_collection.promotions
fromliteral('auto')
toenum('auto'|'none')
- Add support for new value
blik
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
blik
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for new value
blik
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new value
blik
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for new value
blik
on enumPaymentMethodCreateParams.type
- Add support for new value
blik
on enumPaymentMethod.type
- Add support for
- #1476 fix: Include trailing slash when passing empty query parameters.
- #1475 Move @types/node to devDependencies
- #1473 API Updates
- Add support for
customer_details
onCheckoutSessionListParams
- Change
LineItem.amount_discount
andLineItem.amount_tax
to be required - Change
Transfer.source_type
to be optional and not nullable
- Add support for
- #1471 Update readme to include a note on beta packages
- #1468 API Updates
- Add support for
currency
onCheckoutSessionCreateParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
,PaymentLinkCreateParams
,SubscriptionCreateParams
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[]
, andSubscription
- Add support for
currency_options
onCheckoutSessionCreateParams.shipping_options[].shipping_rate_data.fixed_amount
,CouponCreateParams
,CouponUpdateParams
,Coupon
,OrderCreateParams.shipping_cost.shipping_rate_data.fixed_amount
,OrderUpdateParams.shipping_cost.shipping_rate_data.fixed_amount
,PriceCreateParams
,PriceUpdateParams
,Price
,ProductCreateParams.default_price_data
,PromotionCode.restrictions
,PromotionCodeCreateParams.restrictions
,ShippingRate.fixed_amount
, andShippingRateCreateParams.fixed_amount
- Add support for
restrictions
onPromotionCodeUpdateParams
- Add support for
fixed_amount
andtax_behavior
onShippingRateUpdateParams
- Add support for
- #1467 API Updates
- Add support for
customer
onCheckoutSessionListParams
andRefundCreateParams
- Add support for
currency
andorigin
onRefundCreateParams
- Add support for new values
financial_connections.account.created
,financial_connections.account.deactivated
,financial_connections.account.disconnected
,financial_connections.account.reactivated
, andfinancial_connections.account.refreshed_balance
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1462 API Updates
- Add support for
deliver_card
,fail_card
,return_card
, andship_card
test helper methods on resourceIssuing.Card
- Change type of
PaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
fromliteral('card')
toenum
- Add support for
hosted_regulatory_receipt_url
onTreasury.ReceivedCredit
andTreasury.ReceivedDebit
- Add support for
- #1459 API Updates
- Add support for
capture_method
onPaymentIntentConfirmParams
andPaymentIntentUpdateParams
- Add support for
- #1458 API Updates
- Add support for
promptpay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
promptpay
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new value
promptpay
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
subtotal_excluding_tax
onCreditNote
andInvoice
- Add support for
amount_excluding_tax
andunit_amount_excluding_tax
onCreditNoteLineItem
andInvoiceLineItem
- Add support for new value
promptpay
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
rendering_options
onInvoiceCreateParams
andInvoiceUpdateParams
- Add support for new value
promptpay
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
total_excluding_tax
onInvoice
- Add support for
automatic_payment_methods
onOrder.payment.settings
- Add support for new value
promptpay
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for
promptpay_display_qr_code
onPaymentIntent.next_action
- Add support for new value
promptpay
on enumPaymentMethodCreateParams.type
- Add support for new value
promptpay
on enumPaymentMethod.type
- Add support for
- #1455 fix: Stop using path.join to create URLs.
- #1453 API Updates
- Add support for
fund_cash_balance
test helper method on resourceCustomer
- Add support for
statement_descriptor_prefix_kana
andstatement_descriptor_prefix_kanji
onAccount.settings.card_payments
,Account.settings.payments
,AccountCreateParams.settings.card_payments
, andAccountUpdateParams.settings.card_payments
- Add support for
statement_descriptor_suffix_kana
andstatement_descriptor_suffix_kanji
onCheckout.Session.payment_method_options.card
,CheckoutSessionCreateParams.payment_method_options.card
,PaymentIntent.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card
, andPaymentIntentUpdateParams.payment_method_options.card
- Add support for
total_excluding_tax
onCreditNote
- Change type of
CustomerCreateParams.invoice_settings.rendering_options
andCustomerUpdateParams.invoice_settings.rendering_options
fromrendering_options_param
toemptyStringable(rendering_options_param)
- Add support for
rendering_options
onCustomer.invoice_settings
andInvoice
- Add support for
- #1452 Fix non-conforming changelog entries and port the Makefile fix
- #1450 Only publish stable version to the latest tag
- #1448 Add types for extra request options
- #1446 API Updates
- Add support for
treasury
onAccount.settings
,AccountCreateParams.settings
, andAccountUpdateParams.settings
- Add support for
rendering_options
onCustomerCreateParams.invoice_settings
andCustomerUpdateParams.invoice_settings
- Add support for
eu_bank_transfer
onCustomerCreateFundingInstructionsParams.bank_transfer
,Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer
,InvoiceCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
,InvoiceUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
,Order.payment.settings.payment_method_options.customer_balance.bank_transfer
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer
,PaymentIntent.payment_method_options.customer_balance.bank_transfer
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer
,PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer
,Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer
,SubscriptionCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
, andSubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
- Change type of
CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[]
fromliteral('zengin')
toenum('iban'|'sort_code'|'spei'|'zengin')
- Change type of
CustomerCreateFundingInstructionsParams.bank_transfer.type
,Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntent.next_action.display_bank_transfer_instructions.type
,PaymentIntent.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
fromliteral('jp_bank_transfer')
toenum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
- Add support for
iban
,sort_code
, andspei
onFundingInstructions.bank_transfer.financial_addresses[]
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
- Add support for new values
bacs
,fps
, andspei
on enumsFundingInstructions.bank_transfer.financial_addresses[].supported_networks[]
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]
- Add support for new values
sort_code
andspei
on enumsFundingInstructions.bank_transfer.financial_addresses[].type
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type
- Change type of
Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
fromliteral('zengin')
toenum
- Add support for
custom_unit_amount
onPriceCreateParams
andPrice
- Add support for
- #1441 API Updates
- Add support for
affirm
,bancontact
,card
,ideal
,p24
, andsofort
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Add support for
afterpay_clearpay
,au_becs_debit
,bacs_debit
,eps
,fpx
,giropay
,grabpay
,klarna
,paynow
, andsepa_debit
onCheckoutSessionCreateParams.payment_method_options
- Add support for
setup_future_usage
onCheckout.Session.payment_method_options.*
andCheckoutSessionCreateParams.payment_method_options.*
, - Change
PaymentMethod.us_bank_account.networks
andSetupIntent.flow_directions
to be required - Add support for
attach_to_self
onSetupAttempt
,SetupIntentCreateParams
,SetupIntentListParams
, andSetupIntentUpdateParams
- Add support for
flow_directions
onSetupAttempt
,SetupIntentCreateParams
, andSetupIntentUpdateParams
- Add support for
- #1439 API Updates
- Add support for
radar_options
onChargeCreateParams
,Charge
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
account_holder_name
,account_number
,account_type
,bank_code
,bank_name
,branch_code
, andbranch_name
onFundingInstructions.bank_transfer.financial_addresses[].zengin
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
- Add support for new values
en-AU
anden-NZ
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Change type of
Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type
andPaymentIntent.payment_method_options.customer_balance.bank_transfer.type
fromenum
toliteral('jp_bank_transfer')
- This is technically breaking in Typescript, but now accurately represents the behavior that was allowed by the server. We haven't historically treated breaking Typescript changes as requiring a major.
- Change
PaymentIntent.next_action.display_bank_transfer_instructions.hosted_instructions_url
to be required - Add support for
network
onSetupIntent.payment_method_options.card
- Add support for new value
simulated_wisepos_e
on enumsTerminal.Reader.device_type
andTerminalReaderListParams.device_type
- Add support for
-
#1434 API Updates
- Add support for
affirm_payments
andlink_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
id_number_secondary
onAccountCreateParams.individual
,AccountUpdateParams.individual
,PersonCreateParams
,PersonUpdateParams
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Add support for new value
affirm
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.display_bank_transfer_instructions
- Add support for
id_number_secondary_provided
onPerson
- Add support for
card_issuing
onTreasuryFinancialAccountCreateParams.features
,TreasuryFinancialAccountUpdateFeaturesParams
, andTreasuryFinancialAccountUpdateParams.features
- Add support for
-
#1432 docs: Update HttpClient documentation to remove experimental status.
- #1431 API Updates
- Add support for
treasury
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
- #1430 API Updates
- Add support for new resource
Apps.Secret
- Add support for
affirm
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
link
onCharge.payment_method_details
,Mandate.payment_method_details
,OrderCreateParams.payment.settings.payment_method_options
,OrderUpdateParams.payment.settings.payment_method_options
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
- Add support for new values
affirm
andlink
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for new value
link
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for new values
affirm
andlink
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new values
affirm
andlink
on enumPaymentMethodCreateParams.type
- Add support for new values
affirm
andlink
on enumPaymentMethod.type
- Add support for new resource
- #1422 API Updates
- Add support for new
Treasury
APIs:CreditReversal
,DebitReversal
,FinancialAccountFeatures
,FinancialAccount
,FlowDetails
,InboundTransfer
,OutboundPayment
,OutboundTransfer
,ReceivedCredit
,ReceivedDebit
,TransactionEntry
, andTransaction
- Add support for
treasury
onIssuing.Authorization
,Issuing.Dispute
,Issuing.Transaction
, andIssuingDisputeCreateParams
- Add support for
retrieve_payment_method
method on resourceCustomer
- Add support for
list_owners
andlist
methods on resourceFinancialConnections.Account
- Change
BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates
to be optional - Change type of
BillingPortal.Session.return_url
fromstring
tonullable(string)
- Add support for
afterpay_clearpay
,au_becs_debit
,bacs_debit
,eps
,fpx
,giropay
,grabpay
,klarna
,paynow
, andsepa_debit
onCheckout.Session.payment_method_options
- Add support for
financial_account
onIssuing.Card
andIssuingCardCreateParams
- Add support for
client_secret
onOrder
- Add support for
networks
onPaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,PaymentMethod.us_bank_account
,SetupIntentConfirmParams.payment_method_options.us_bank_account
,SetupIntentCreateParams.payment_method_options.us_bank_account
, andSetupIntentUpdateParams.payment_method_options.us_bank_account
- Add support for
attach_to_self
andflow_directions
onSetupIntent
- Add support for
save_default_payment_method
onSubscription.payment_settings
,SubscriptionCreateParams.payment_settings
, andSubscriptionUpdateParams.payment_settings
- Add support for
czk
onTerminal.Configuration.tipping
,TerminalConfigurationCreateParams.tipping
, andTerminalConfigurationUpdateParams.tipping
- Add support for new
- #1420 API Updates
- Add support for
description
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for
consent_collection
,payment_intent_data
,shipping_options
,submit_type
, andtax_id_collection
onPaymentLinkCreateParams
andPaymentLink
- Add support for
customer_creation
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
metadata
onSubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
, andSubscriptionScheduleUpdateParams.phases[]
- Add support for new value
billing_portal.session.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
Major version release - The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
(
⚠️ #1336 feat(http-client): retry closed connection errors- #1415 #1417 API Updates
⚠️ Replace the legacyOrder
API with the newOrder
API.- Resource modified:
Order
. - New methods:
cancel
,list_line_items
,reopen
, andsubmit
- Removed methods:
pay
andreturn_order
- Removed resources:
OrderItem
andOrderReturn
- Removed references from other resources:
Charge.order
- Resource modified:
- Add support for
amount_discount
,amount_tax
, andproduct
onLineItem
- Change type of
Charge.shipping.name
,Checkout.Session.shipping.name
,Customer.shipping.name
,Invoice.customer_shipping.name
,PaymentIntent.shipping.name
,ShippingDetails.name
, andSource.source_order.shipping.name
fromnullable(string)
tostring
- #1414 API Updates
- Add support for
default_price_data
onProductCreateParams
- Add support for
default_price
onProductUpdateParams
andProduct
- Add support for
instructions_email
onRefundCreateParams
andRefund
- Add support for
-
#1413 API Updates
- Add support for new resources
FinancialConnections.AccountOwner
,FinancialConnections.AccountOwnership
,FinancialConnections.Account
, andFinancialConnections.Session
- Add support for
financial_connections
onCheckout.Session.payment_method_options.us_bank_account
,CheckoutSessionCreateParams.payment_method_options.us_bank_account
,Invoice.payment_settings.payment_method_options.us_bank_account
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account
,PaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,SetupIntent.payment_method_options.us_bank_account
,SetupIntentConfirmParams.payment_method_options.us_bank_account
,SetupIntentCreateParams.payment_method_options.us_bank_account
,SetupIntentUpdateParams.payment_method_options.us_bank_account
,Subscription.payment_settings.payment_method_options.us_bank_account
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account
- Add support for
financial_connections_account
onPaymentIntentConfirmParams.payment_method_data.us_bank_account
,PaymentIntentCreateParams.payment_method_data.us_bank_account
,PaymentIntentUpdateParams.payment_method_data.us_bank_account
,PaymentMethod.us_bank_account
,PaymentMethodCreateParams.us_bank_account
,SetupIntentConfirmParams.payment_method_data.us_bank_account
,SetupIntentCreateParams.payment_method_data.us_bank_account
, andSetupIntentUpdateParams.payment_method_data.us_bank_account
- Add support for new resources
-
#1410 API Updates
- Add support for
registered_address
onAccountCreateParams.individual
,AccountUpdateParams.individual
,PersonCreateParams
,PersonUpdateParams
,Person
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Change type of
PaymentIntent.amount_details.tip.amount
fromnullable(integer)
tointeger
- Change
PaymentIntent.amount_details.tip.amount
to be optional - Add support for
payment_method_data
onSetupIntentConfirmParams
,SetupIntentCreateParams
, andSetupIntentUpdateParams
- Add support for
-
#1409 Update autoPagination tests to be hermetic.
-
#1411 Enable CI on beta branch
- #1407 API Updates
- Add support for new resource
CashBalance
- Change type of
BillingPortal.Configuration.application
from$Application
todeletable($Application)
- Add support for
alipay
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Change type of
CheckoutSessionCreateParams.payment_method_options.konbini.expires_after_days
fromemptyStringable(integer)
tointeger
- Add support for new value
eu_oss_vat
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
, andTaxId.type
- Add support for new value
eu_oss_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
cash_balance
onCustomer
- Add support for
application
onInvoice
,Quote
,SubscriptionSchedule
, andSubscription
- Add support for new resource
- #1403 Add tests for specifying a custom host on StripeMethod.
- #1398 API Updates
- Add support for
expire
test helper method on resourceRefund
- Change type of
BillingPortal.Configuration.application
fromstring
toexpandable($Application)
- Change
IssuingDisputeCreateParams.transaction
to be optional
- Add support for
- #1396 API Updates
- Add support for new resources
FundingInstructions
andTerminal.Configuration
- Add support for
create_funding_instructions
method on resourceCustomer
- Add support for new value
customer_balance
as a payment methodtype
. - Add support for
customer_balance
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for
cash_balance
onCustomerCreateParams
andCustomerUpdateParams
- Add support for
amount_details
onPaymentIntent
- Add support for
display_bank_transfer_instructions
onPaymentIntent.next_action
- Add support for
configuration_overrides
onTerminal.Location
,TerminalLocationCreateParams
, andTerminalLocationUpdateParams
- Add support for new resources
- #1395 API Updates
- Add support for
increment_authorization
method on resourcePaymentIntent
- Add support for
incremental_authorization_supported
onCharge.payment_method_details.card_present
- Add support for
request_incremental_authorization_support
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
- Add support for
- #1391 API Updates
- Add support for
apply_customer_balance
method on resourcePaymentIntent
- Add support for new value
cash_balance.funds_available
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
-
#1389 API Updates
- Add support for
bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
capture_before
onCharge.payment_method_details.card_present
- Add support for
address
andname
onCheckout.Session.customer_details
- Add support for
customer_balance
onInvoice.payment_settings.payment_method_options
,InvoiceCreateParams.payment_settings.payment_method_options
,InvoiceUpdateParams.payment_settings.payment_method_options
,Subscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
- Add support for new value
customer_balance
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
request_extended_authorization
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
- Add support for new values
payment_intent.partially_funded
,terminal.reader.action_failed
, andterminal.reader.action_succeeded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
-
#1388 Stop sending Content-Length header for verbs which don't have bodies.
- Fixes #1360.
- #1386 API Updates
- Add support for
cancel_action
,process_payment_intent
,process_setup_intent
, andset_reader_display
methods on resourceTerminal.Reader
- Change
Charge.failure_balance_transaction
,Invoice.payment_settings.payment_method_options.us_bank_account
,PaymentIntent.next_action.verify_with_microdeposits.microdeposit_type
,SetupIntent.next_action.verify_with_microdeposits.microdeposit_type
, andSubscription.payment_settings.payment_method_options.us_bank_account
to be required - Add support for
action
onTerminal.Reader
- Add support for
- #1383 API Updates
- Add support for Search API
- Add support for
search
method on resourcesCharge
,Customer
,Invoice
,PaymentIntent
,Price
,Product
, andSubscription
- Add support for
- Add support for Search API
- #1384 Bump qs package to latest.
- #1381 API Updates
- Add support for PayNow and US Bank Accounts Debits payments
- Charge (API ref)
- Add support for
paynow
andus_bank_account
onCharge.payment_method_details
- Add support for
- Customer (API ref)
- Add support for new values
paynow
andus_bank_account
on enumCustomerListPaymentMethodsParams.type
- Add support for new values
- Payment Intent (API ref)
- Add support for
paynow
andus_bank_account
onpayment_method_options
onPaymentIntent
,PaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
paynow
andus_bank_account
onpayment_method_data
onPaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
paynow_display_qr_code
onPaymentIntent.next_action
- Add support for new values
paynow
andus_bank_account
on enumspayment_method_data.type
onPaymentIntentCreateParams
, andPaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
- Setup Intent (API ref)
- Add support for
us_bank_account
onpayment_method_options
onSetupIntent
,SetupIntentCreateParams
,SetupIntentUpdateParams
, andSetupIntentConfirmParams
- Add support for
- Setup Attempt (API ref)
- Add support for
us_bank_account
onSetupAttempt.payment_method_details
- Add support for
- Payment Method (API ref)
- Add support for
paynow
andus_bank_account
onPaymentMethod
andPaymentMethodCreateParams
- Add support for
us_bank_account
onPaymentMethodUpdateParams
- Add support for new values
paynow
andus_bank_account
on enumsPaymentMethod.type
,PaymentMethodCreateParams.type
. andPaymentMethodListParams.type
- Add support for
- Checkout Session (API ref)
- Add support for
us_bank_account
onpayment_method_options
onCheckout.Session
andCheckoutSessionCreateParams
- Add support for new values
paynow
andus_bank_account
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
- Invoice (API ref)
- Add support for
us_bank_account
onpayment_settings.payment_method_options
onInvoice
,InvoiceCreateParams
, andInvoiceUpdateParams
- Add support for new values
paynow
andus_bank_account
on enumspayment_settings.payment_method_types[]
onInvoice
,InvoiceCreateParams
, andInvoiceUpdateParams
- Add support for
- Subscription (API ref)
- Add support for
us_bank_account
onSubscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
- Add support for new values
paynow
andus_bank_account
on enumspayment_settings.payment_method_types[]
onSubscription
,SubscriptionCreateParams
, andSubscriptionUpdateParams
- Add support for
- Account capabilities (API ref)
- Add support for
paynow_payments
oncapabilities
onAccount
,AccountCreateParams
, andAccountUpdateParams
- Add support for
- Charge (API ref)
- Add support for
failure_balance_transaction
onCharge
- Add support for
capture_method
onafterpay_clearpay
,card
, andklarna
onpayment_method_options
onPaymentIntent
,PaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
(API ref) - Add additional support for verify microdeposits on Payment Intent and Setup Intent (API ref)
- Add support for
microdeposit_type
onnext_action.verify_with_microdeposits
onPaymentIntent
andSetupIntent
- Add support for
descriptor_code
onPaymentIntentVerifyMicrodepositsParams
andSetupIntentVerifyMicrodepositsParams
- Add support for
- Add support for
test_clock
onSubscriptionListParams
(API ref)
- Add support for PayNow and US Bank Accounts Debits payments
- #1375 Update error types to be namespaced under Stripe.error
- #1380 Force update minimist dependency
- #1377 API Updates
- Add support for
cancel
method on resourceRefund
- Add support for new values
bg_uic
,hu_tin
, andsi_tin
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
, andTaxId.type
- Add support for new values
bg_uic
,hu_tin
, andsi_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Change
InvoiceCreateParams.customer
to be optional - Add support for
test_clock
onQuoteListParams
- Add support for new values
test_helpers.test_clock.advancing
,test_helpers.test_clock.created
,test_helpers.test_clock.deleted
,test_helpers.test_clock.internal_failure
, andtest_helpers.test_clock.ready
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1372 API Updates
- Add support for
status
onCard
- Add support for
-
#1368 API Updates
- Add support for
mandate
onCharge.payment_method_details.card
- Add support for
mandate_options
onPaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntent.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
,SetupIntentUpdateParams.payment_method_options.card
,SetupIntentConfirmParams.payment_method_options.card
, andSetupIntent.payment_method_options.card
- Add support for
card_await_notification
onPaymentIntent.next_action
- Add support for
customer_notification
onPaymentIntent.processing.card
- Change
PaymentLinkCreateParams.line_items
to be required, and changePaymentLink.create
to requirePaymentLinkCreateParams
- Add support for
-
#1364 Update search pagination to use page param instead of next_page.
- #1366 API Updates
- Add support for
test_clock
onCustomerListParams
- Change
Invoice.test_clock
,InvoiceItem.test_clock
,Quote.test_clock
,Subscription.test_clock
, andSubscriptionSchedule.test_clock
to be required
- Add support for
- #1363 API Updates
- Add support for new resources
CreditedItems
andProrationDetails
- Add support for
proration_details
onInvoiceLineItem
- Add support for new resources
- #1361 #1362 API Updates
- Add support for new resource
TestHelpers.TestClock
- Add support for
test_clock
onCustomerCreateParams
,Customer
,Invoice
,InvoiceItem
,QuoteCreateParams
,Quote
,Subscription
, andSubscriptionSchedule
- Add support for
pending_invoice_items_behavior
onInvoiceCreateParams
- Change type of
ProductUpdateParams.url
fromstring
toemptyStringable(string)
- Add support for
next_action
onRefund
- Add support for new resource
- #1098 Typescript: add declaration for
onDone
onautoPagingEach
- #1357 Properly handle API errors with unknown error types
- #1359 API Updates
-
Change
BillingPortalConfiguration
.business_profile.privacy_policy_url
and.business_profile.terms_of_service_url
to be optional on requests and responses -
Add support for
konbini_payments
onAccountUpdateParams.capabilities
,AccountCreateParams.capabilities
, andAccount.capabilities
-
Add support for
konbini
onCharge.payment_method_details
, -
Add support for
.payment_method_options.konbini
and.payment_method_data.konbini
on thePaymentIntent
API. -
Add support for
.payment_settings.payment_method_options.konbini
on theInvoice
API. -
Add support for
.payment_method_options.konbini
on theSubscription
API -
Add support for
.payment_method_options.konbini
on theCheckoutSession
API -
Add support for
konbini
on thePaymentMethod
API. -
Add support for
konbini_display_details
onPaymentIntent.next_action
-
- #1311 update documentation to use appInfo
- #1354 API Updates
- Add support for
setup_future_usage
onPaymentIntentCreateParams.payment_method_options.*
- Add support for new values
bbpos_wisepad3
andstripe_m2
on enumsTerminalReaderListParams.device_type
andTerminal.Reader.device_type
- Add support for
object
onExternalAccountListParams
(fixes #1351)
- Add support for
- #1350 API Updates
- Add support for
verify_microdeposits
method on resourcesPaymentIntent
andSetupIntent
- Add support for new value
grabpay
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Invoice.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
,SubscriptionUpdateParams.payment_settings.payment_method_types[]
, andSubscription.payment_settings.payment_method_types[]
- Add support for
- #1348 API Updates
- Add support for
pin
onIssuingCardUpdateParams
- Add support for
- #1344 API Updates
- Add support for new value
au_becs_debit
on enumCheckoutSessionCreateParams.payment_method_types[]
- Change type of
Refund.reason
fromstring
toenum('duplicate'|'expired_uncaptured_charge'|'fraudulent'|'requested_by_customer')
- Add support for new value
- #1342 Bump nanoid from 3.1.20 to 3.2.0.
- #1335 Fix StripeResource to successfully import TIMEOUT_ERROR_CODE.
- #1339 Bump node-fetch from 2.6.2 to 2.6.7
-
#1338 API Updates
- Change
Checkout.Session.payment_link
to be required - Add support for
phone_number_collection
onPaymentLinkCreateParams
andPaymentLink
- Add support for new values
payment_link.created
andpayment_link.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
is_vat
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
, andTaxId.type
- Add support for new value
is_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Change
-
#1333 Customer tax_ids is not included by default
- #1332 API Updates
- Add support for new resource
PaymentLink
- Add support for
payment_link
onCheckout.Session
- Add support for new resource
- #1331 API Updates
- Change type of
Charge.status
fromstring
toenum('failed'|'pending'|'succeeded')
- Add support for
bacs_debit
andeps
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
image_url_png
andimage_url_svg
onPaymentIntent.next_action.wechat_pay_display_qr_code
- Change type of
- #1329 API Updates
- Add support for
paid_out_of_band
onInvoice
- Add support for
- #1328 API Updates
- Add support for
customer_creation
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
fpx
andgrabpay
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
- #1315 API Updates
- Add support for
mandate_options
onSubscriptionCreateParams.payment_settings.payment_method_options.card
,SubscriptionUpdateParams.payment_settings.payment_method_options.card
, andSubscription.payment_settings.payment_method_options.card
- Add support for
- #1327 Remove DOM type references.
- #1325 Add comment documenting makeRequest#headers type.
-
#1314 API Updates
- Add support for
au_becs_debit
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Change type of
PaymentIntent.processing.type
fromstring
toliteral('card')
. This is not considered a breaking change as the field was added in the same release.
- Add support for
-
#1313 API Updates
- Add support for new values
en-FR
,es-US
, andfr-FR
on enumsPaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
,PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
- Add support for
boleto
onSetupAttempt.payment_method_details
- Add support for new values
-
#1312 API Updates
- Add support for
processing
onPaymentIntent
- Add support for
- #1309 API Updates
- Add support for new resource
PaymentIntentTypeSpecificPaymentMethodOptionsClient
- Add support for
setup_future_usage
onPaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
, andPaymentIntent.payment_method_options.card
- Add support for new resource
- #1308 API Updates
- Add support for
metadata
onBillingPortalConfigurationCreateParams
,BillingPortalConfigurationUpdateParams
, andBillingPortal.Configuration
- Add support for
- #1307 API Updates
- Add support for new values
ge_vat
andua_vat
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
, andTaxId.type
- Add support for new values
ge_vat
andua_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Change type of
PaymentIntentCreateParams.payment_method_data.billing_details.email
,PaymentIntentUpdateParams.payment_method_data.billing_details.email
,PaymentIntentConfirmParams.payment_method_data.billing_details.email
,PaymentMethodCreateParams.billing_details.email
, andPaymentMethodUpdateParams.billing_details.email
fromstring
toemptyStringable(string)
- Add support for
giropay
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for new value
en-IE
on enumsPaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
,PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
- Add support for new values
- #1301 Remove coveralls from package.json
- #1300 Fix broken link in docstring
-
#1299 API Updates
- Add support for
wallets
onIssuing.Card
- Add support for
-
#1298 API Updates
- Add support for
interac_present
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for new value
jct
on enumsTaxRateCreateParams.tax_type
,TaxRateUpdateParams.tax_type
, andTaxRate.tax_type
- Add support for
- #1297 API Updates
- Add support for
automatic_payment_methods
onPaymentIntentCreateParams
andPaymentIntent
- Add support for
- #1295 API Updates
- Add support for new resource
ShippingRate
- Add support for
shipping_options
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
shipping_rate
onCheckout.Session
- Add support for new resource
- #1293 API Updates
- Add support for new value
agrobank
on enumsCharge.payment_method_details.fpx.bank
,PaymentIntentCreateParams.payment_method_data.fpx.bank
,PaymentIntentUpdateParams.payment_method_data.fpx.bank
,PaymentIntentConfirmParams.payment_method_data.fpx.bank
,PaymentMethodCreateParams.fpx.bank
, andPaymentMethod.fpx.bank
- Add support for new value
- #1292 API Updates
- Add support for
expire
method on resourceCheckout.Session
- Add support for
status
onCheckout.Session
- Add support for
- #1288 Add SubtleCryptoProvider and update Webhooks to allow async crypto.
- #1291 Better types in
lib.d.ts
- #1284 API Updates
- Remove support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account
. This API was unused. - Add support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account.company
- Remove support for
- #1283 API Updates
- Add support for
ownership_declaration
onAccountUpdateParams.company
,AccountCreateParams.company
,Account.company
, andTokenCreateParams.account.company
- Add support for
proof_of_registration
onAccountUpdateParams.documents
andAccountCreateParams.documents
- Add support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account
- Add support for
- #1282 API Updates
- Change type of
AccountUpdateParams.individual.full_name_aliases
,AccountCreateParams.individual.full_name_aliases
,PersonCreateParams.full_name_aliases
,PersonUpdateParams.full_name_aliases
,TokenCreateParams.account.individual.full_name_aliases
, andTokenCreateParams.person.full_name_aliases
fromarray(string)
toemptyStringable(array(string))
- Add support for new values
en-BE
,en-ES
, anden-IT
on enumsPaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
,PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
- Change type of
- #1276 API Updates
- Change
Account.controller.type
to be required - Add support for
buyer_id
onCharge.payment_method_details.alipay
- Change
- #1273 Add typed createFetchHttpClient function.
- #1272 API Updates
- Change type of
UsageRecordCreateParams.timestamp
frominteger
toliteral('now') | integer
- Change
UsageRecordCreateParams.timestamp
to be optional
- Change type of
- #1271 API Updates
- Change
Charge.payment_method_details.klarna.payment_method_category
,Charge.payment_method_details.klarna.preferred_locale
,Checkout.Session.customer_details.phone
, andPaymentMethod.klarna.dob
to be required - Add support for new value
klarna
on enumCheckoutSessionCreateParams.payment_method_types[]
- Change
- #1269 API Updates
- Add support for
payment_method_category
andpreferred_locale
onCharge.payment_method_details.klarna
- Add support for new value
klarna
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
klarna
onPaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for new value
klarna
on enumsPaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
, andPaymentIntentConfirmParams.payment_method_data.type
- Add support for new value
klarna
on enumPaymentMethodCreateParams.type
- Add support for new value
klarna
on enumPaymentMethod.type
- Add support for
- #1266 API Updates
- Add support for
list_payment_methods
method on resourceCustomer
- Add support for
- #1265 API Updates
- Add support for
phone_number_collection
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
phone
onCheckout.Session.customer_details
- Change
PaymentMethodListParams.customer
to be optional - Add support for new value
customer_id
on enumsRadarValueListCreateParams.item_type
andRadar.ValueList.item_type
- Add support for new value
bbpos_wisepos_e
on enumsTerminalReaderListParams.device_type
andTerminal.Reader.device_type
- Add support for
- #1261 API Updates
- Add support for
klarna_payments
onAccountUpdateParams.capabilities
,AccountCreateParams.capabilities
, andAccount.capabilities
- Add support for
- #1257 API Updates
- Add support for
amount_authorized
andovercapture_supported
onCharge.payment_method_details.card_present
- Add support for
- #1256 Bump up ansi-regex version to 5.0.1.
- #1253 Update FetchHttpClient to make fetch function optional.
- #1248 API Updates
- Add support for
full_name_aliases
onAccountUpdateParams.individual
,AccountCreateParams.individual
,PersonCreateParams
,PersonUpdateParams
,Person
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Add support for
- #1247 Update README.md
- #1245 Fix StripeResource.extend type
- #1242 API Updates
- Change
BillingPortal.Configuration.features.subscription_cancel.cancellation_reason
to be required - Add support for
default_for
onCheckoutSessionCreateParams.payment_method_options.acss_debit.mandate_options
,Checkout.Session.payment_method_options.acss_debit.mandate_options
,Mandate.payment_method_details.acss_debit
,SetupIntentCreateParams.payment_method_options.acss_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.acss_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.acss_debit.mandate_options
, andSetupIntent.payment_method_options.acss_debit.mandate_options
- Add support for
acss_debit
onInvoiceCreateParams.payment_settings.payment_method_options
,InvoiceUpdateParams.payment_settings.payment_method_options
,Invoice.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
,SubscriptionUpdateParams.payment_settings.payment_method_options
, andSubscription.payment_settings.payment_method_options
- Add support for new value
acss_debit
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Invoice.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
,SubscriptionUpdateParams.payment_settings.payment_method_types[]
, andSubscription.payment_settings.payment_method_types[]
- Add support for
livemode
onReporting.ReportType
- Change
- #1235 API Updates
- Change
Account.future_requirements.alternatives
,Account.requirements.alternatives
,Capability.future_requirements.alternatives
,Capability.requirements.alternatives
,Checkout.Session.after_expiration
,Checkout.Session.consent
,Checkout.Session.consent_collection
,Checkout.Session.expires_at
,Checkout.Session.recovered_from
,Person.future_requirements.alternatives
, andPerson.requirements.alternatives
to be required - Change type of
Capability.future_requirements.alternatives
,Capability.requirements.alternatives
,Person.future_requirements.alternatives
, andPerson.requirements.alternatives
fromarray(AccountRequirementsAlternative)
tonullable(array(AccountRequirementsAlternative))
- Add support for new value
rst
on enumsTaxRateCreateParams.tax_type
,TaxRateUpdateParams.tax_type
, andTaxRate.tax_type
- Add support for new value
checkout.session.expired
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Change
- #1237 Add a CryptoProvider interface and NodeCryptoProvider implementation.
- #1236 Add an HTTP client which uses fetch.
- #1231 API Updates
- Add support for
future_requirements
onAccount
,Capability
, andPerson
- Add support for
alternatives
onAccount.requirements
,Capability.requirements
, andPerson.requirements
- Add support for
- #1230 #1228 API Updates
- Add support for
after_expiration
,consent_collection
, andexpires_at
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
consent
andrecovered_from
onCheckout.Session
- Add support for
- #1198 Add support for paginting SearchResult objects.
- #1226 API Updates
- Add support for
cancellation_reason
onBillingPortalConfigurationCreateParams.features.subscription_cancel
,BillingPortalConfigurationUpdateParams.features.subscription_cancel
, andBillingPortal.Configuration.features.subscription_cancel
- Add support for
- #1223 API Updates
- Add support for new value
fil
on enumsCheckoutSessionCreateParams.locale
andCheckout.Session.locale
- Add support for new value
au_arn
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
, andTaxId.type
- Add support for new value
au_arn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for new value
- #1221 Add client name property to HttpClient.
- #1219 Update user agent computation to handle environments without process.
- #1218 Add an HttpClient interface and NodeHttpClient implementation.
- #1217 Update nock.
- #1215 API Updates
- Add support for
locale
onBillingPortalSessionCreateParams
andBillingPortal.Session
- Change type of
Invoice.collection_method
andSubscription.collection_method
fromnullable(enum('charge_automatically'|'send_invoice'))
toenum('charge_automatically'|'send_invoice')
- Add support for
- #1211 API Updates
- Change type of
PaymentIntentCreateParams.payment_method_options.sofort.preferred_language
,PaymentIntentUpdateParams.payment_method_options.sofort.preferred_language
, andPaymentIntentConfirmParams.payment_method_options.sofort.preferred_language
fromenum
toemptyStringable(enum)
- Change
Price.tax_behavior
,Product.tax_code
,Quote.automatic_tax
, andTaxRate.tax_type
to be required
- Change type of
- #1206 Fix Typescript definition for
StripeResource.LastResponse.headers
- #1205 Prevent concurrent initial
uname
invocations - #1199 Explicitly define basic method specs
- #1200 Add support for
fullPath
on method specs
- #1203 API Updates
- Bugfix: add missing autopagination methods to
Quote.listLineItems
andQuote.listComputedUpfrontLineItems
- Add support for
account_type
onBankAccount
,ExternalAccountUpdateParams
, andTokenCreateParams.bank_account
- Add support for
category_code
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
- Add support for new value
redacted
on enumReview.closed_reason
- Remove duplicate type definition for
Account.retrieve
. - Fix some
attributes
fields mistakenly defined asStripe.Metadata
- Bugfix: add missing autopagination methods to
- #1097 fix error arguments
- #1197 API Updates
- Add support for new values
hr
,ko
, andvi
on enumsCheckoutSessionCreateParams.locale
andCheckout.Session.locale
- Add support for
payment_settings
onSubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for new values
- #1196 API Updates
- Remove support for values
api_connection_error
,authentication_error
, andrate_limit_error
from enumsStripeError.type
,StripeErrorResponse.error.type
,Invoice.last_finalization_error.type
,PaymentIntent.last_payment_error.type
,SetupAttempt.setup_error.type
, andSetupIntent.last_setup_error.type
- Add support for
wallet
onIssuing.Transaction
- Add support for
ideal
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Remove support for values
- #1194 API Updates
- Add support for
quote.accepted
,quote.canceled
,quote.created
, andquote.finalized
events.
- Add support for
- #1190 API Updates
- Add support for
list_computed_upfront_line_items
method on resourceQuote
- Add support for
- #1192 Update links to Stripe.js docs
-
#1188 API Updates
- Add support for new resource
Quote
- Add support for
quote
onInvoice
- Add support for new value
quote_accept
on enumInvoice.billing_reason
- Changed type of
Charge.payment_method_details.card.three_d_secure.result
,SetupAttempt.payment_method_details.card.three_d_secure.result
,Charge.payment_method_details.card.three_d_secure.version
, andSetupAttempt.payment_method_details.card.three_d_secure.version
to be nullable.
- Add support for new resource
-
#1187 Bugfix in binary streaming support
- #1182 API Updates
- Add support for new value
boleto
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
, andInvoice.payment_settings.payment_method_types[]
.
- Add support for new value
- #1180 API Updates
- Add support for
wechat_pay
onCharge.payment_method_details
,CheckoutSessionCreateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for new value
wechat_pay
on enumsCheckoutSessionCreateParams.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Invoice.payment_settings.payment_method_types[]
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentMethodCreateParams.type
,PaymentMethodListParams.type
, andPaymentMethod.type
- Add support for
wechat_pay_display_qr_code
,wechat_pay_redirect_to_android_app
, andwechat_pay_redirect_to_ios_app
onPaymentIntent.next_action
- Add support for
- #1179 API Updates
- Added support for
boleto_payments
onAccount.capabilities
- Added support for
boleto
andoxxo
onCheckout.SessionCreateParams.payment_method_options
andCheckout.Session.payment_method_options
- Added support for
boleto
andoxxo
as members of thetype
enum insideCheckout.SessionCreateParams.payment_method_types[]
.
- Added support for
- #1177 API Updates
- Added support for
boleto
onPaymentMethodCreateParams
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,Charge.payment_method_details
andPaymentMethod
PaymentMethodListParams.type
,PaymentMethodCreateParams.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,PaymentIntentCreataParams.payment_method_data.type
andPaymentMethod.type
added new enum members:boleto
- Added support for
boleto_display_details
onPaymentIntent.next_action
TaxIdCreateParams.type
,Invoice.customer_tax_ids[].type
,InvoiceLineItemListUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,CustomerCreateParams.tax_id_data[].type
,Checkout.Session.customer_details.tax_ids[].type
andTaxId.type
added new enum members:il_vat
.
- Added support for
- #1157 Add support for streaming requests
- #1175 API Updates
- Add support for new TaxId types:
ca_pst_mb
,ca_pst_bc
,ca_gst_hst
, andca_pst_sk
.
- Add support for new TaxId types:
- #1173 API Updates
- Add support for
url
on CheckoutSession
.
- Add support for
- #1170 API Updates
- Added support for
tax_id_collection
on CheckoutSession.tax_id_collection
andSessionCreateParams
- Update
Terminal.Reader.location
to be expandable (TypeScript breaking change)
- Added support for
- #1168 API Updates
- Add support for
controller
onAccount
.
- Add support for
- #1167 API Updates
- Add support for new resource
TaxCode
. - Add support for
tax_code
onProduct
,ProductCreateParams
,ProductUpdateParams
,PriceCreateParams.product_data
,PlanCreateParams.product
, and CheckoutSessionCreateParams.line_items[].price_data.product_data
. - Add support for
tax
toCustomer
,CustomerCreateParams
,CustomerUpdateParams
. - Add support for
default_settings[automatic_tax]
andphases[].automatic_tax
onSubscriptionSchedule
,SubscriptionScheduleCreateParams
, andSubscriptionScheduleUpdateParams
. - Add support for
automatic_tax
onSubscription
,SubscriptionCreateParams
,SubscriptionUpdateParams
;Invoice
,InvoiceCreateParams
,InvoiceRetrieveUpcomingParams
andInvoiceLineItemListUpcomingParams
; CheckoutSession
and CheckoutSessionCreateParams
. - Add support for
tax_behavior
toPrice
,PriceCreateParams
,PriceUpdateParams
and to the many Param objects that containprice_data
:SubscriptionScheduleCreateParams
andSubscriptionScheduleUpdateParams
, beneathphases[].add_invoice_items[]
andphases[].items[]
SubscriptionItemCreateParams
andSubscriptionItemUpdateParams
, on the top-levelSubscriptionCreateParams
create andUpdateCreateParams
, beneathitems[]
andadd_invoice_items[]
InvoiceItemCreateParams
andInvoiceItemUpdateParams
, on the top-levelInvoiceRetrieveUpcomingParams
andInvoiceLineItemListUpcomingParams
beneathsubscription_items[]
andinvoice_items[]
.- Checkout
SessionCreateParams
, beneathline_items[]
.
- Add support for
customer_update
to CheckoutSessionCreateParams
. - Add support for
customer_details
toInvoiceRetrieveUpcomingParams
andInvoiceLineItemListUpcomingParams
. - Add support for
tax_type
toTaxRate
,TaxRateCreateParams
, andTaxRateUpdateParams
.
- Add support for new resource
- #1166 API Updates
- Added support for
llc
,free_zone_llc
,free_zone_establishment
andsole_establishment
to thestructure
enum onAccount.company
,AccountCreateParams.company
,AccountUpdateParams.company
andTokenCreateParams.account.company
.
- Added support for
- #1163 API Updates
- Added support for
documents
onPersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Added support for
- #1159 API Updates
- Add support for Identity VerificationSupport and VerificationReport APIs
- Update Typescript for
CouponCreateParams.duration
andCouponCreateParams.products
to be optional.
- #1158 API Updates
AccountUpdateParams.business_profile.support_url
andAccountCreatParams.business_profile.support_url
changed fromstring
toStripe.Emptyable<string>
File.purpose
added new enum members:finance_report_run
,document_provider_identity_document
, andsigma_scheduled_query
- #1154 API Updates
- Added support for
reference
onCharge.payment_method_details.afterpay_clearpay
- Added support for
afterpay_clearpay
onPaymentIntent.payment_method_options
.
- Added support for
- #1153 API Updates
- Add support for
payment_intent
onRadar.EarlyFraudWarning
- Add support for
- Add support for
card_present
onPaymentIntent#confirm.payment_method_options
,PaymentIntent#update.payment_method_options
,PaymentIntent#create.payment_method_options
andPaymentIntent.payment_method_options
SubscriptionItem#create.payment_behavior
,Subscription#update.payment_behavior
,Subscription#create.payment_behavior
andSubscriptionItem#update.payment_behavior
added new enum members:default_incomplete
- #1143 API Updates
- Add support for
single_member_llc
as an enum member ofAccount.company.structure
andTokenCreateParams.account.company.structure
added new enum members: - Add support for
dhl
androyal_mail
as enum members ofIssuing.Card.shipping.carrier
.
- Add support for
- #1142 Improve type definition for for
AccountCreateParams.external_account
- #1140 API Updates
- Add support for
currency
onCheckout.Session.PaymentMethodOptions.AcssDebit
- Add support for
- #1139 API Updates
- Add support for
acss_debit_payments
onAccount.capabilities
- Add support for
payment_method_options
onCheckout.Session
- Add support for
acss_debit
onSetupIntent.payment_method_options
,SetupAttempt.payment_method_details
,PaymentMethod
,PaymentIntent.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,Mandate.payment_method_details
andSetupIntent.payment_method_options
- Add support for
verify_with_microdeposits
onPaymentIntent.next_action
andSetupIntent.next_action
- Add support for
acss_debit
as member of thetype
enum onPaymentMethod
andPaymentIntent
, and insideCheckout.SessionCreateParams.payment_method_types[]
.
- Add support for
- #1138 API Updates
- Add support for
subscription_pause
onBillingPortal.ConfigurationUpdateParams.features
,BillingPortal.ConfigurationCreateParams.features
andBillingPortal.Configuration.features
- Add support for
- #1137 API Updates
- Add support for
transfer_data
onSessionCreateParams.subscription_data
- Add support for
- #1134 API Updates
- Added support for
card_issuing
onAccountUpdateParams.settings
andAccount.settings
- Added support for
- #1133 API Updates
Capability.requirements.errors[].code
,Account.requirements.errors[].code
andPerson.requirements.errors[].code
added new enum members:verification_missing_owners, verification_missing_executives and verification_requires_additional_memorandum_of_associations
SessionCreateParams.locale
andCheckoutSession.locale
added new enum members:th
- #1132 API Updates
- Added support for
shipping_rates
onSessionCreateOptions
- Added support for
amount_shipping
onCheckout.SessionTotalDetails
- Added support for
- #1131 types: export StripeRawError type
- #1124 API Updates
- Added support for
BillingPortal.Configuration
API. Terminal.LocationUpdateParams.country
is now optional.
- Added support for
- #1123 API Updates
- Add support for on_behalf_of to Invoice
- Add support for enum member revolut on PaymentIntent.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, Charge.payment_method_details.ideal.bank and SetupAttempt.payment_method_details.ideal.bank
- Added support for enum member REVOLT21 on PaymentMethod.ideal.bic, Charge.payment_method_details.ideal.bic and SetupAttempt.payment_method_details.ideal.bic
- #1122 API Updates
- Add support for
afterpay_clearpay
onPaymentMethod
,PaymentIntent.payment_method_data
, andCharge.payment_method_details
. - Add support for
afterpay_clearpay
as a payment method type onPaymentMethod
,PaymentIntent
andCheckout.Session
- Add support for
adjustable_quantity
onSessionCreateParams.LineItem
- Add support for
bacs_debit
,au_becs_debit
andsepa_debit
onSetupAttempt.payment_method_details
- Add support for
- #1119 API Updates
- Add support for
afterpay_clearpay_payments
onAccount.capabilities
- Add support for
payment_settings
onInvoice
- Add support for
- #1118 API Updates
LineItem.amount_subtotal
andLineItem.amount_total
changed fromnullable(integer)
tointeger
- Improve error message for
EphemeralKeys.create
- #1115 API Updates
- Added support for
nationality
onPerson
,PersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Added
gb_vat
toTaxId.type
enum.
- Added support for
- #1112 API Updates
Issuing.Transaction.type
dropped enum members: 'dispute'LineItem.price
can now be null.
- #1104 Make request timeout errors eligible for retry
- #1108 Multiple API Changes
- Added support for
dynamic_tax_rates
onCheckout.SessionCreateParams.line_items
- Added support for
customer_details
onCheckout.Session
- Added support for
type
onIssuing.TransactionListParams
- Added support for
country
andstate
onTaxRateUpdateParams
,TaxRateCreateParams
andTaxRate
- Added support for
- #1107 More consistent type definitions
- #1105 API Updates
- Added support for
company_registration_verification
,company_ministerial_decree
,company_memorandum_of_association
,company_license
andcompany_tax_id_verification
on AccountUpdateParams.documents and AccountCreateParams.documents
- Added support for
- #1100 implement/fix reverse iteration when iterating with ending_before
- #1096 typo receieved -> received
- #1093 API Updates
- Added support for card_present on SetupAttempt.payment_method_details
- #1088 Multiple API changes
- Add newlines for consistency.
- Prefix deleted references with
Stripe.
for consistency. - Add support for
bank
onPaymentMethod[eps]
. - Add support for
tos_shown_and_accepted
topayment_method_options[p24]
onPaymentMethod
.
- #1079 Multiple API changes
- Add support for
account_tax_ids
onInvoice
- Add support for
payment_method_options[sepa_debit]
onPaymentIntent
- Add support for
- #1075 Add support for
capabilities[grabpay_payments]
onAccount
- #1074
- Add support for mandate_options on SetupIntent.payment_method_options.sepa_debit.
- Add support for card_present and interact_present as values for PaymentMethod.type.
- #1073 More consistent namespacing for shared types
- #1072 Add support for
grabpay
onPaymentMethod
- Identical to 8.122.0. Published to resolve a release issue.
- #1070
- Add support for
sepa_debit
onSetupIntent.PaymentMethodOptions
Invoice.tax_amounts
andInvoiceLineItem.tax_rates
are no longer nullableInvoice.default_tax_rates
andInvoiceLineItem.tax_amounts
are no longer nullable
- Add support for
- #1064 Add
invoice.finalization_error
as atype
onEvent
- #1063 Multiple API changes
- Add support for
last_finalization_error
onInvoice
- Add support for deserializing Issuing
Dispute
as asource
onBalanceTransaction
- Add support for
payment_method_type
onStripeError
used by other API resources
- Add support for
- #1061 Add support for
company[registration_number]
onAccount
- #1056 Add
payment_method_details[interac_present][preferred_locales]
onCharge
- #1057 Standardize on CRULD order for method definitions
- #1055 Added requirements to README
- #1053 Multiple API changes
- Improving Typescript types for nullable parameters and introduced
Stripe.Emptyable
as a type - Add support for
payment_method_options[card][cvc_token]
onPaymentIntent
- Add support for
cvc_update[cvc]
onToken
creation
- Improving Typescript types for nullable parameters and introduced
- #1052 Add Stripe.Emptyable type definition
- #1050 Add support for passing
p24[bank]
for P24 onPaymentIntent
orPaymentMethod
- #1049 Support passing
tax_rates
when creating invoice items throughSubscription
orSubscriptionSchedule
- #1048 Add support for
jp_rn
andru_kpp
as atype
onTaxId
- #1046 chore: replace recommended extension sublime babel with babel javascript
- #1045 Make
original_payout
andreversed_by
not optional anymore
- #1044 Add support for
discounts
onSession.create
- #1038 Add support for
description
,iin
andissuer
inpayment_method_details[card_present]
andpayment_method_details[interac_present]
onCharge
- #1035 Add support for
setup_intent.requires_action
on Event
- #1033 Add support for internal-only
description
,iin
, andissuer
forcard_present
andinterac_present
onCharge.payment_method_details
- #1028 Add support for
Bancontact/iDEAL/Sofort -> SEPA
- Add support for
generated_sepa_debit
andgenerated_sepa_debit_mandate
onCharge.payment_method_details.ideal
,Charge.payment_method_details.bancontact
andCharge.payment_method_details.sofort
- Add support for
generated_from
onPaymentMethod.sepa_debit
- Add support for
ideal
,bancontact
andsofort
onSetupAttempt.payment_method_details
- Add support for
- #1026 Add support for
tos_acceptance[service_agreement]
onAccount
- #1025 Add support for new payments capabilities on
Account
- #1024 Add support for the
SetupAttempt
resource and List API
- #1023 Add support for
contribution
inreporting_category
onReportRun
- #1022 Add support for
oxxo_payments
capability onAccount
- #1021 Add VERSION constant to instantiated Stripe client.
- #1019 Add support for
oxxo
as a validtype
on the List PaymentMethod API
- #1018 More idiomatic types
- #1016 Multiple API changes
- Add support for OXXO on
PaymentMethod
andPaymentIntent
- Add support for
contribution
onBalanceTransaction
- Add support for OXXO on
- #1011 Add type definition for Stripe.StripeResource
- #1014 Multiple API changes
- Add support for
issuing_dispute.closed
andissuing_dispute.submitted
events - Add support for
instant_available
onBalance
- Add support for
- #1012 Multiple API changes
metadata
is now always nullable on all resources- Add support for
amount_captured
onCharge
- Add
checkout_session
onDiscount
- #1003 Add support for
promotion_code.created
andpromotion_code.updated
onEvent
- #999 Add support for SEPA debit on Checkout
- #998 Multiple API changes
- Add support for
sofort
as atype
on the List PaymentMethods API - Add back support for
invoice.payment_succeeded
- Add support for
- #995 Add support for Sofort on
PaymentMethod
andPaymentIntent
- #993 Multiple API changes
- Add support for the Issuing
Dispute
submit API - Add support for evidence details on Issuing
Dispute
creation, update and the resource. - Add
available_payout_methods
onBankAccount
- Add
payment_status
on CheckoutSession
- Add support for the Issuing
- #992 Add support for
payment_method.automatically_updated
onWebhookEndpoint
- #988 Multiple API changes
tax_ids
onCustomer
can now be nullable- Added support for
expires_at
onFile
- #987 Add support for
amount_details
on IssuingAuthorization
andTransaction
- #984 Multiple API changes
- Add
alipay
ontype
for the List PaymentMethods API - Add
payment_intent.requires_action
as a newtype
onEvent
- Add
- #981 Add support for Alipay on Checkout
Session
- #980 [codegen] Multiple API Changes
- Added support for bank_name on
Charge.payment_method_details.acss_debit
Issuing.dispute.balance_transactions
is now nullable.
- Added support for bank_name on
- #975 Add support for Alipay on
PaymentMethod
andPaymentIntent
- #973 Multiple API changes
- Add support for the
PromotionCode
resource and APIs - Add support for
allow_promotion_codes
on CheckoutSession
- Add support for
applies_to[products]
onCoupon
- Add support for
promotion_code
onCustomer
andSubscription
- Add support for
promotion_code
onDiscount
- Add support for the
- #972 Multiple API changes
- Add
zh-HK
andzh-TW
aslocale
on CheckoutSession
- Add
payment_method_details[card_present][receipt][account_type]
onCharge
- Add
- #970 Improve types for
customer
onCreditNote
to supportDeletedCustomer
- #969 Multiple API changes
- Add support for
id
,invoice
andinvoice_item
onDiscount
andDeletedDiscount
- Add support for
discount_amounts
onCreditNote
,CreditNoteLineItem
,InvoiceLineItem
- Add support for
discounts
onInvoiceItem
,InvoiceLineItem
andInvoice
- Add support for
total_discount_amounts
onInvoice
- Make
customer
andverification
onTaxId
optional as the resource will be re-used forAccount
in the future.
- Add support for
- #967 Multiple API changes
- Make all properties from
Discount
available onDeletedDiscount
- Add
capabilities[fpx_payments]
onAccount
create and update
- Make all properties from
- #965 Add support for
cartes_bancaires_payments
as aCapability
- #963 Add support for
capabilities
as a parameter onAccount
create and update
- #962 Add support for
political_exposure
onPerson
- #961 Add support for
account_onboarding
andaccount_update
astype
onAccountLink
- #959 Refactor remaining 'var' to 'let/const' usages
- #960 Use strict equality check for 'protocol' field for consistency
- #952 Add new fields to lastResponse: apiVersion, stripeAccount, idempotencyKey
- #958 Multiple API changes
- Add support for
en-GB
,fr-CA
andid
aslocale
on CheckoutSession
- Move
purpose
to an enum onFile
- Add support for
- #957 Bump lodash from 4.17.15 to 4.17.19
- #956 Add support for
amount_total
,amount_subtotal
,currency
andtotal_details
on CheckoutSession
- #955 Change from string to enum value for
billing_address_collection
on CheckoutSession
- #953 Multiple API changes
- Adds
es-419
as alocale
to CheckoutSession
- Adds
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedule
- Adds
- #940 Document but discourage
protocol
config option - #933 Fix tests for
Plan
andPrice
to not appear as amount can be updated.
- #929 Add support for
invoice.paid
event
- #927 Add support for
payment_method_data
onPaymentIntent
- #926 Multiple API changes
- Add
discounts
onLineItem
- Add
document_provider_identity_document
as apurpose
onFile
- Support nullable
metadata
on IssuingDispute
- Add
klarna[shipping_delay]
onSource
- Add
- #924 Multiple API changes
- Add support for
refresh_url
andreturn_url
onAccountLink
- Add support for
issuing_dispute.*
events
- Add support for
- #919 Multiple API changes
- Add
transaction
on IssuingDispute
- Add
payment_method_details[acss_debit][mandate]
onCharge
- Add
- #918 Add support for Cartes Bancaires payments on
PaymentIntent
and `Pay…
- #917 Add support for
id_npwp
andmy_frp
astype
onTaxId
- #911 Add support for
payment_intent_data[transfer_group]
on CheckoutSession
- #910 Add support for Bancontact, EPS, Giropay and P24 on Checkout
Session
- #909 Multiple API changes
- Add
bacs_debit_payments
as aCapability
- Add support for BACS Debit on Checkout
Session
- Add support for
checkout.session.async_payment_failed
andcheckout.session.async_payment_succeeded
astype
onEvent
- Add
- #908 Multiple API changes
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
Session
- Add
settings[sepa_debit_payments][creditor_id]
onAccount
- Add support for Bancontact, EPS, Giropay and P24 on
PaymentMethod
,PaymentIntent
andSetupIntent
- Add support for
order_item[parent]
onSource
for Klarna
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
- #905 Add support for BACS Debit as a
PaymentMethod
- #904 Multiple API changes
- Add
payment_method_details[card][three_d_secure][authentication_flow]
onCharge
- Add
line_items[][price_data][product_data]
on CheckoutSession
creation
- Add
- #899 Multiple API changes
- Add support for
ae_trn
,cl_tin
andsa_vat
astype
onTaxId
- Add
result
andresult_reason
insidepayment_method_details[card][three_d_secure]
onCharge
- Add support for
- #897 Multiple API changes
- Add
anticipation_repayment
as atype
onBalanceTransaction
- Add
interac_present
as atype
onPaymentMethod
- Add
payment_method_details[interac_present]
onCharge
- Add
transfer_data
onSubscriptionSchedule
- Add
- #895 Multiple API changes
- Add support for
issuing_dispute
as atype
onBalanceTransaction
- Add
balance_transactions
as an array ofBalanceTransaction
on IssuingDispute
- Add
fingerprint
andtransaction_id
inpayment_method_details[alipay]
onCharge
- Add
transfer_data[amount]
onInvoice
- Add
transfer_data[amount_percent]
onSubscription
- Add
price.created
,price.deleted
andprice.updated
onEvent
- Add support for
- #891 Add support for
purchase_details
on IssuingTransaction
- #890 Add support for the
LineItem
resource and APIs
- #888 Multiple API changes
- Remove parameters in
price_data[recurring]
across APIs as they were never supported - Move
payment_method_details[card][three_d_secure]
to a list of enum values onCharge
- Add support for for
business_profile[support_adress]
onAccount
create and update
- Remove parameters in
- #883 Multiple API changes
- Add
issuing
onBalance
- Add
br_cnpj
andbr_cpf
astype
onTaxId
- Add
price
support in phases onSubscriptionSchedule
- Make
quantity
nullable onSubscriptionSchedule
for upcoming API version change
- Add
- #881 Add support for the
Price
resource and APIs
- #880 Make
display_items
on CheckoutSession
optional
- #876 Add support for
jcb_payments
as aCapability
- #875 Add support for
coupon
when for subscriptions on Checkout
- #874 Add support for
billingPortal
namespace andsession
resource and APIs
- #873 Multiple API changes
- Add support for
cardholder_name
inpayment_method_details[card_present]
onCharge
- Add new enum values for
company.structure
onAccount
- Add support for
- #868 Multiple API changes
- #867 Clean up deprecated features in our Typescript definitions for Issuing and other resources
- #866 Add support for
settings[branding][secondary_color]
onAccount
- #865 Add support for
description
onWebhookEndpoint
- #864 Multiple API changes
- Make
payment_intent
expandable onCharge
- Add support for
sg_gst
as a value fortype
onTaxId
and related APIs - Add
cancellation_reason
and new enum values forreplacement_reason
on IssuingCard
- Make
- #848 Fix TS return type for autoPagingEach
- #859 Add support for
calculatedStatementDescriptor
onCharge
- #853 Improve StripeError.generate()
- Add
doc_url
field to StripeError. - Expose
Stripe.errors.generate()
as a convenience forStripe.errors.StripeError.generate()
. - Fix several TS types related to StripeErrors.
- Add types for
StripeInvalidGrantError
. - Add support for
authentication_error
andrate_limit_error
in.generate()
.
- Add
- #851 Add support for
spending_controls
on IssuingCard
andCardholder
- #850 Multiple API changes
- Add support for
pt-BR
as alocale
on CheckoutSession
- Add support for
company
as atype
on IssuingCardholder
- Add support for
- #849 Add support for
pause_collection
onSubscription
- #847 Add new capabilities for AU Becs Debit and tax reporting
- #842 Multiple API changes for Issuing:
- Add
amount
,currency
,merchant_amount
andmerchant_currency
onAuthorization
- Add
amount
,currency
,merchant_amount
andmerchant_currency
insiderequest_history
onAuthorization
- Add
pending_request
onAuthorization
- Add
amount
when approving anAuthorization
- Add
replaced_by
onCard
- Add
- #836 Multiple API changes for Issuing:
- Rename
speed
toservice
on IssuingCard
- Rename
wallet_provider
towallet
andaddress_zip_check
toaddress_postal_code_check
on IssuingAuthorization
- Mark
is_default
as deprecated on IssuingCardholder
- Rename
- #835 Add support for
shipping
andshipping_address_collection
on CheckoutSession
- #834 Add support for
ThreeDSecure
on IssuingAuthorization
- #833 Make metadata nullable in many endpoints
- #827 Allow
null
/undefined
to be passed foroptions
arg.
- #830 Add support for
metadata
onWebhookEndpoint
- #829 Multiple API changes
- Add support for
account
as a parameter onToken
to create Account tokens - Add support for
verification_data.expiry_check
on IssuingAuthorization
- Add support for
incorrect_cvc
andincorrect_expiry
as a value forrequest_history.reason
on IssuingAuthorization
- Add support for
- #828 Multiple API changes
- Add support for
errors
inrequirements
onAccount
,Capability
andPerson
- Add support for
payment_intent.processing
as a newtype
onEvent
.
- Add support for
- #826 Multiple API changes:
⚠️ Types are now for the API version2020-03-02
. This is a breaking change for TypeScript users- Remove
uob_regional
as a value onbank
for FPX as this is deprecated and was never used - Add support for
next_invoice_sequence
onCustomer
- Add support for
proration_behavior
onSubscriptionItem
delete
- #824 Update type for StripeError to extend Error
- #822 Add
my_sst
as a valid value fortype
onTaxId
- #821 Make
type
onAccountLink
an enum
- #820 Add new enum values in
reason
for IssuingDispute
creation
- #819 Add support for listing Checkout
Session
and passing tax rate information
- #813 Multiple API changes
- Add support for
timezone
onReportRun
- Add support for
proration_behavior
onSubscriptionSchedule
- Add support for
- #807 Change timeout default to constant 80000 instead Node default
- #802 TS Fixes
- Correctly type
Array<CustomField>
- More consistently describe nullable fields as
| null
, vs| ''
.
- Correctly type
- #804 Add support for
payment_intent_data[transfer_data][amount]
on CheckoutSession
- #803 Multiple API changes reflect in Typescript definitions
- Add
fpx
as a validsource_type
onBalance
,Payout
andTransfer
- Add
fpx
support on CheckoutSession
- Fields inside
verification_data
on IssuingAuthorization
are now enums - Support updating
payment_method_options
onPaymentIntent
andSetupIntent
- Add
- #801 Multiple API changes
- Add support for new
type
values forTaxId
. - Add support for
payment_intent_data[statement_descriptor_suffix]
on CheckoutSession
.
- Add support for new
- #793 Rename
sort_code
tosender_sort_code
onSourceTransaction
for BACS debit.
- #792 Multiple API changes
- Add new
purpose
forFile
:additional_verification
- Add
error_on_requires_action
as a parameter forPaymentIntent
creation and confirmation
- Add new
- #790 Add new type of
TaxId
- #789 Add support for
company.structure
onAccount
and other docs changes
- #788 Make typescript param optional
- #787 Add support for FPX as a
PaymentMethod
- #769 Fix Typescript definition on
Token
creation for bank accounts
- #785 Fix file uploads with nested params
- #784 Allow @types/node 8.1
- #780 Add new type for
TaxId
andsender_account_name
onSourceTransaction
- #777 Add support for
shipping[speed]
on IssuingCard
- #775 Gracefully handle a missing
subprocess
module
- #776 Add support for new
type
onCustomerTaxId
- #774 Improve docstrings for many properties and parameters
- #771 Add
metadata
on CheckoutSession
and remove deprecated features - #764 Added typescript webhook example
- #767 Adding missing events for pending updates on
Subscription
- #765 Add support for
pending_update
onSubscription
to the Typescript definitions
- #763 Add support for listing line items on a
CreditNote
- #762 Improve docs for core fields such as
metadata
on Typescript definitions
- #757 [bugfix] Add types dir to npmignore whitelist and stop warning when instantiating stripe with no args
Major version release, adding TypeScript definitions and dropping support for Node 6. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Major pull requests included in this release (cf. #742) (
- #736 Add TypeScript definitions
- #744 Remove deprecated resources and methods
- #752 Deprecate many library api's, unify others
- Identical to 7.15.0.
- Published in error. Do not use. This is identical to 8.122.0.
- #732 Add support for CreditNote preview
- #728 Remove duplicate export
- #703 New config object
- #724 Add support for
Mandate
- #719 Define 'type' as a property on errors rather than a getter
- #709 README: imply context of stripe-node
- #717 Contributor Convenant
- #699 Add request-specific fields from raw error to top level error
- #692 Retry based on
Stripe-Should-Retry
andRetry-After
headers
- #678 Add
subscriptionItems.createUsageRecord()
method
- #675 Remove subscription schedule revisions
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
- #674 Refactor requestDataProcessor for File out into its own file
- #673 Add request start and end time to request and response events
- #665 Remove
lodash.isplainobject
.
- #671 Include a prefix in generated idempotency keys and remove uuid dependency.
- #667 Refactor request headers, allowing any header to be overridden.
- #664 Expose and use
once
- #662 Remove
safe-buffer
dependency - #666 Bump lodash from 4.17.11 to 4.17.15
- #668 Move Balance History to /v1/balance_transactions
- #660 Interpret any string in args as API Key instead of a regex
⚠️ Careful: passing strings which are not API Keys as as the final argument to a request previously would have ignored those strings, and would now result in the request failing with an authentication error.⚠️ Careful: The private apiutils.isAuthKey
was removed.
- #658 Update README retry code sample to use two retries
- #653 Reorder customer methods
- #652 Add support for the
SetupIntent
resource and APIs
- #649 Enable request latency telemetry by default
- #608 Add support for
CustomerBalanceTransaction
resource and APIs
- #632 Add support for
radar.early_fraud_warning
resource
- #631 Make autopagination functions work for
listLineItems
andlistUpcomingLineItems
Major version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Pull requests included in this release (cf. #606) (
⚠️ Drop support for Node 4, 5 and 7 (#606)- Prettier formatting (#604)
- Alphabetize “basic” methods (#610)
- Use
id
for single positional arguments (#611) - Modernize ES5 to ES6 with lebab (#607)
⚠️ Remove deprecated methods (#613)- Add VSCode and EditorConfig files (#620)
⚠️ Drop support for Node 9 and bump dependencies to latest versions (#614)- Misc. manual formatting (#623)
⚠️ Remove legacy parameter support ininvoices.retrieveUpcoming()
(#621)⚠️ Remove curried urlData and manually specified urlParams (#625)- Extract resources file (#626)
- #622 Add support for the
Capability
resource and APIs
- #627 Add
listLineItems
andlistUpcomingLineItems
methods toInvoice
- #619 Move
generateTestHeaderString
to stripe.webhooks (fixes a bug in 6.33.0)
Important: This version is non-functional and has been yanked in favor of 6.32.0.
- #609 Add
generateWebhookHeaderString
to make it easier to mock webhook events
- #612 Add
balanceTransactions
resource
- #602 Handle errors from the oauth/token endpoint
- #600 Fix encoding of nested parameters in multipart requests
- #588 Add support for the
TaxRate
resource and APIs
- #589 Add support for the
TaxId
resource and APIs - #593
retrieveUpcoming
onInvoice
can now take one hash as parameter instead of requiring a customer id.
- #585 Add support for the
CreditNote
resource and APIs
- #570 Add support for the
PaymentMethod
resource and APIs - #578 Add support for retrieving a Checkout
Session
- #581 Add support for deleting Terminal
Location
andReader
- #580 Fix support for HTTPS proxies
- #574 Encode
Date
s as Unix timestamps
- #565 Always encode arrays as integer-indexed hashes
- #559 Add
stripe.setMaxNetworkRetries(n)
for automatic network retries
- #562 Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
- #560 Enable persistent connections by default
- #557 Add configurable telemetry to gather information on client-side request latency
- #555 Add support for OAuth methods
- #551 Rename
CheckoutSession
toSession
and move it under thecheckout
namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
- #552 Fix
Buffer
deprecation warnings
- #539 Add support for the
CheckoutSession
resource
- #535 Add support for account links
- #534 Fix iterating on
files.list
method
- #530 Export errors on root Stripe object
- #527 Add support for the
Review
APIs
- #515 Add support for
ValueLists
andValueListItems
for Radar
- #526 Fixes an accidental mutation of input in rare cases
- #523 Handle
Buffer
instances inWebhook.constructEvent
- #474 Add support for
partner_id
insetAppInfo
- #509 Add support for new
Invoice
methods
- #502 Fix test suite
- #498 Add support for Stripe Terminal
- #500 Rename
FileUploads
toFiles
. For backwards compatibility,Files
is aliased toFileUploads
.FileUploads
is deprecated and will be removed from the next major version.
- #496 Add auto-pagination
- #491 Add support for usage record summaries
- #493 Add support for reporting resources
- #488 Remove support for
BitcoinReceivers
write-actions
- #485 Add support for
cancel
on topups
- #483 Add support for file links
- #482 Add support for Sigma scheduled query runs
- #481 Add support for Stripe Issuing
- #471 Add support for streams in file uploads
- #475 Fixes array encoding of subscription items for the upcoming invoices endpoint.
- #473 Add support for payment intents
- #469 Add
.npmignore
to create a lighter package (minus examples and tests)
- #465 Warn when unknown options are passed to functions
- #453 Re-implement usage record's
create
so that it correctly passes all arguments (this is a very minor breaking change)
- #459 Export error types on
stripe.errors
so that errors can be matched withinstanceof
instead of comparing the strings generated bytype
- #456 Add support for issuer fraud records
- #444 Introduce flexible billing primitives for subscriptions
- #441 Write directly to a connection that's known to be still open
- #437 Fix error message when passing invalid parameters to some API methods
- #439 Drop Bluebird dependency and use native ES6 promises
- #425 Add support for topups
- #412 Add
StripeIdempotencyError
type for new kind of stripe error
- #405 Support for exchange rates APIs
- #404 Support for listing source transactions
- #394 Fix improper warning for requests that have options but no parameters
- Add check for when options are accidentally included in an arguments object
- Use safe-buffer package instead of building our own code
- Remove dependency on object-assign package
- Bump required versions of bluebird and qs
- Drop support for Node 0.x (minimum required version is now >= 4)
- Switch to Bearer token authentication on API requests
- Specify UTF-8 encoding when verifying HMAC-SHA256 payloads
- Support informational events with
Stripe.on
(see README for details)
- Handle
Buffer.from
incompatibility for Node versions prior to 4.5.x
- Properly encode subscription items when retrieving upcoming invoice
- Add support for ephemeral keys
- Fix usage of hasOwnProperty in utils
- Make response headers accessible on error objects
- Add support for account login links
- Add
stripe.setAppInfo
for plugin authors to register app information
- Tweak class initialization for compatibility with divergent JS engines
- Support for checking webhook signatures
- Reject ID parameters that don't look like strings
- Fix paths in error messages on bad arguments
- Add support for payouts
- Fix bad reference to
requestId
when initializing errors
- Make
requestId
available on resourcelastResponse
objects
- Update required version of "qs" dependency to 6.0.4+
- Add support for updating sources
- Add support for verifying sources
- Add retrieve method for 3-D Secure resources
- Support for 403 status codes (permission denied)
- Add support for Apple Pay domains
- Refactor deprecated uses of Bluebird's
Promise.defer
- URI-encode unames for Stripe user agents so we don't fail on special characters
- Add
Source
model for generic payment sources support (experimental)
- Add
ThreeDSecure
model for 3-D secure payments
- Add support for returning Relay orders
- Add
update
,create
,retrieve
,list
anddel
methods tostripe.subscriptions
- Add
reject
onAccount
to support the new API feature
- Add
CountrySpec
model for looking up country payment information
- Add support for deleting Relay SKUs and products
- Add
lastResponse
property onStripeResource
objects - Return usage errors of
stripeMethod
through callback instead of raising - Use latest year for expiry years in tests to avoid new year problems
- Add a verification routine for external accounts
- Remove ability for API keys to be passed as 1st param to acct.retrieve
- Rename StripeInvalidRequest to StripeInvalidRequestError
- Add Relay resources: Products, SKUs, and Orders
- Added rate limiting responses
- Added refund object with listing, retrieval, updating, and creation.
- Added managed account deletion
- Added dispute listing and retrieval
- Added request IDs to all Stripe errors
- [BUGFIX] Fixed issue with uploading binary files (Gabriel Chagas Marques)
- [BUGFIX] Fixed issue with passing arrays of objects
- Added support for optional parameters when retrieving an upcoming invoice (Matthew Arkin)
- Added support for bank accounts and debit cards in managed accounts
- Remove SSL revocation tests and check
- [BUGFIX] Fix support for both stripe.account and stripe.accounts
- Support transfer reversals.
- [BUGFIX] Fix passing in only a callback to the Account resource. (Matthew Arkin)
- Support BitcoinReceiver update & delete actions
- Add methods for manipulating customer sources as per 2015-02-18 API version
- The Account resource will now take an account ID. However, legacy use of the resource (without an account ID) will still work.
- [BUGFIX] Fix incorrect failing tests for headers support
- Update all dependencies (remove mocha-as-promised)
- Switch to bluebird for promises
- Support making bitcoin charges through BitcoinReceiver source object
- Adding file uploads as a resource.
- [BUGFIX] Fix issue where multiple expand params were not getting passed through (#130)
- (Version skipped due to npm mishap)
- [BUGFIX] Fix
stringifyRequestData
to deal with nested objs correctly - Bump MAJOR as we're no longer supporting Node 0.8
- Allow setting of HTTP agent (proxy) (issue #124)
- Add stack traces to all Stripe Errors
- Make application fee refunds a list instead of array
- [BUGFIX] Fix lack of subscription param in
invoices#retrieveUpcoming
method - Add support for an
optional!
annotation onurlParams
- Add metadata to disputes and refunds
- Support cards for recipients.
- Allow the
update
method on coupons for metadata changes
- [BUGFIX] Fix when.js version string in package.json to support older npm versions
- [BUGFIX] Fix revoked-ssl check
- Upgrade when.js to 3.1.0
- Ensure we prevent requests using revoked SSL certs
- Add better checks for incorrect arguments (throw exceptions accordingly).
- Validate the Connect Auth key, if passed
- [BUGFIX] Fix URL encoding issue (not encoding interpolated URL params, see issue #93)
- Add more debug information to the case of a failed
JSON.parse()
- Add binding for
transfers/{tr_id}/transactions
endpoint
- Ensure raw error object is accessible on the generated StripeError
- Support multiple subscriptions per customer
- [BUGFIX] Fix #76, pass latest as version to api & fix constructor arg signature
- Document cancelSubscription method params and add specs for
at_period_end
- Add application fees API
- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
- [BUGFIX] Fix user-agent header issue (see issue #75)
- Add support for setTimeout
- Add specs for invoice-item listing/querying via timestamp
- Support single key/value setting on setMetadata method
- [BUGFIX] Fix Windows url-path issue
- Add missing stripe.charges.update method
- Support setting auth_token per request (useful in Connect)
- Remove global 'resources' variable
- API overhaul and refactor, including addition of promises.
- Release of version 2.0.0
- Requests return Javascript Errors (Guillaume Flandre)
- Added events API (Jonathan Hollinger)
- Added plans update API (Pavan Kumar Sunkara)
- Various test fixes, node 0.8.x tweaks (Jan Lehnardt)
- Add Coupons API (Ryan)
- Pass a more robust error object to the callback (Ryan)
- Fix duplicate callbacks from some functions when called incorrectly (bug #24, reported by Kishore Nallan)
- Add APIs and tests for Plans and "Invoice Items" (both changes by Ryan Ettipio)
- Add Subscription API (John Ku, #3)
- Add Invoices API (Chris Winn, #6)
- [BUGFIX] Fix a bug where callback could be called twice, if the callback() threw an error itself (Peteris Krumins)
- [BUGFIX] Fix bug in tokens.retrieve API (Xavi)
- Change documentation links (Stripe changed their URL structure)
- Make tests pass again (error in callback is null instead of 0 if all is well)
- Amount in stripe.charges.refund is optional (Branko Vukelic)
- Various documentation fixes (Xavi)
- Only require node 0.4.0
- Add Charges API (issue #1, brackishlake)
- Add customers.list API
- Initial release with customers and tokens APIs