111 KiB
CHANGELOG
8.222.0 - 2022-05-05
- #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
8.221.0 - 2022-05-05
-
#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
8.220.0 - 2022-05-03
- #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.
8.219.0 - 2022-04-21
- #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
8.218.0 - 2022-04-18
- #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
8.217.0 - 2022-04-13
- #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
8.216.0 - 2022-04-08
- #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
8.215.0 - 2022-04-01
-
#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.
8.214.0 - 2022-03-30
- #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
8.213.0 - 2022-03-28
- #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.
8.212.0 - 2022-03-25
- #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
8.211.0 - 2022-03-23
- #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
8.210.0 - 2022-03-18
- #1372 API Updates
- Add support for
status
onCard
- Add support for
8.209.0 - 2022-03-11
-
#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.
8.208.0 - 2022-03-09
- #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
8.207.0 - 2022-03-02
- #1363 API Updates
- Add support for new resources
CreditedItems
andProrationDetails
- Add support for
proration_details
onInvoiceLineItem
- Add support for new resources
8.206.0 - 2022-03-01
- #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
8.205.0 - 2022-02-25
- #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
8.204.0 - 2022-02-23
- #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
8.203.0 - 2022-02-15
- #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
8.202.0 - 2022-02-03
- #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
8.201.0 - 2022-01-28
- #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
8.200.0 - 2022-01-25
-
#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
8.199.0 - 2022-01-20
- #1332 API Updates
- Add support for new resource
PaymentLink
- Add support for
payment_link
onCheckout.Session
- Add support for new resource
8.198.0 - 2022-01-19
- #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
8.197.0 - 2022-01-13
- #1329 API Updates
- Add support for
paid_out_of_band
onInvoice
- Add support for
8.196.0 - 2022-01-12
- #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.
8.195.0 - 2021-12-22
-
#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
8.194.0 - 2021-12-15
- #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
8.193.0 - 2021-12-09
- #1308 API Updates
- Add support for
metadata
onBillingPortalConfigurationCreateParams
,BillingPortalConfigurationUpdateParams
, andBillingPortal.Configuration
- Add support for
8.192.0 - 2021-12-09
- #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
8.191.0 - 2021-11-19
-
#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
8.190.0 - 2021-11-17
- #1297 API Updates
- Add support for
automatic_payment_methods
onPaymentIntentCreateParams
andPaymentIntent
- Add support for
8.189.0 - 2021-11-16
- #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
8.188.0 - 2021-11-12
- #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
8.187.0 - 2021-11-11
- #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
8.186.1 - 2021-11-04
- #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
8.186.0 - 2021-11-01
- #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
8.185.0 - 2021-11-01
- #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
8.184.0 - 2021-10-20
- #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.
8.183.0 - 2021-10-15
- #1272 API Updates
- Change type of
UsageRecordCreateParams.timestamp
frominteger
toliteral('now') | integer
- Change
UsageRecordCreateParams.timestamp
to be optional
- Change type of
8.182.0 - 2021-10-14
- #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
8.181.0 - 2021-10-11
- #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
8.180.0 - 2021-10-11
- #1266 API Updates
- Add support for
list_payment_methods
method on resourceCustomer
- Add support for
8.179.0 - 2021-10-07
- #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
8.178.0 - 2021-09-29
- #1261 API Updates
- Add support for
klarna_payments
onAccountUpdateParams.capabilities
,AccountCreateParams.capabilities
, andAccount.capabilities
- Add support for
8.177.0 - 2021-09-28
- #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.
8.176.0 - 2021-09-16
- #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
8.175.0 - 2021-09-15
- #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.
8.174.0 - 2021-09-01
- #1231 API Updates
- Add support for
future_requirements
onAccount
,Capability
, andPerson
- Add support for
alternatives
onAccount.requirements
,Capability.requirements
, andPerson.requirements
- Add support for
8.173.0 - 2021-09-01
- #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
8.172.0 - 2021-08-31
- #1198 Add support for paginting SearchResult objects.
8.171.0 - 2021-08-27
- #1226 API Updates
- Add support for
cancellation_reason
onBillingPortalConfigurationCreateParams.features.subscription_cancel
,BillingPortalConfigurationUpdateParams.features.subscription_cancel
, andBillingPortal.Configuration.features.subscription_cancel
- Add support for
8.170.0 - 2021-08-19
- #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.
8.169.0 - 2021-08-11
- #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
8.168.0 - 2021-08-04
- #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
8.167.0 - 2021-07-28
- #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
8.166.0 - 2021-07-28
- #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
8.165.0 - 2021-07-22
- #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
8.164.0 - 2021-07-20
- #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
8.163.0 - 2021-07-15
8.162.0 - 2021-07-14
- #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
8.161.0 - 2021-07-09
-
#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
8.160.0 - 2021-06-30
- #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
8.159.0 - 2021-06-30
- #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
8.158.0 - 2021-06-29
- #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
8.157.0 - 2021-06-25
- #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
8.156.0 - 2021-06-18
- #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:
8.155.0 - 2021-06-16
- #1173 API Updates
- Add support for
url
on CheckoutSession
.
- Add support for
8.154.0 - 2021-06-07
- #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
8.153.0 - 2021-06-04
- #1168 API Updates
- Add support for
controller
onAccount
.
- Add support for
8.152.0 - 2021-06-04
- #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
8.151.0 - 2021-06-02
- #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
8.150.0 - 2021-05-26
- #1163 API Updates
- Added support for
documents
onPersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Added support for
8.149.0 - 2021-05-19
- #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
8.148.0 - 2021-05-06
- #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
8.147.0 - 2021-05-05
- #1153 API Updates
- Add support for
payment_intent
onRadar.EarlyFraudWarning
- Add support for
8.146.0 - 2021-05-04
- 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
8.145.0 - 2021-04-21
- #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
8.144.0 - 2021-04-16
- #1140 API Updates
- Add support for
currency
onCheckout.Session.PaymentMethodOptions.AcssDebit
- Add support for
8.143.0 - 2021-04-12
- #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
8.142.0 - 2021-04-02
- #1138 API Updates
- Add support for
subscription_pause
onBillingPortal.ConfigurationUpdateParams.features
,BillingPortal.ConfigurationCreateParams.features
andBillingPortal.Configuration.features
- Add support for
8.141.0 - 2021-03-31
- #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
8.140.0 - 2021-03-25
- #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
8.139.0 - 2021-03-22
- #1132 API Updates
- Added support for
shipping_rates
onSessionCreateOptions
- Added support for
amount_shipping
onCheckout.SessionTotalDetails
- Added support for
- #1131 types: export StripeRawError type
8.138.0 - 2021-03-10
- #1124 API Updates
- Added support for
BillingPortal.Configuration
API. Terminal.LocationUpdateParams.country
is now optional.
- Added support for
8.137.0 - 2021-02-17
- #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
8.136.0 - 2021-02-16
- #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
8.135.0 - 2021-02-08
- #1119 API Updates
- Add support for
afterpay_clearpay_payments
onAccount.capabilities
- Add support for
payment_settings
onInvoice
- Add support for
8.134.0 - 2021-02-05
- #1118 API Updates
LineItem.amount_subtotal
andLineItem.amount_total
changed fromnullable(integer)
tointeger
- Improve error message for
EphemeralKeys.create
8.133.0 - 2021-02-03
- #1115 API Updates
- Added support for
nationality
onPerson
,PersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Added
gb_vat
toTaxId.type
enum.
- Added support for
8.132.0 - 2021-01-21
- #1112 API Updates
Issuing.Transaction.type
dropped enum members: 'dispute'LineItem.price
can now be null.
8.131.1 - 2021-01-15
- #1104 Make request timeout errors eligible for retry
8.131.0 - 2021-01-14
- #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
8.130.0 - 2021-01-07
- #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
8.129.0 - 2020-12-15
- #1093 API Updates
- Added support for card_present on SetupAttempt.payment_method_details
8.128.0 - 2020-12-10
- #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
.
8.127.0 - 2020-12-03
8.126.0 - 2020-11-24
- #1079 Multiple API changes
- Add support for
account_tax_ids
onInvoice
- Add support for
payment_method_options[sepa_debit]
onPaymentIntent
- Add support for
8.125.0 - 2020-11-20
- #1075 Add support for
capabilities[grabpay_payments]
onAccount
8.124.0 - 2020-11-19
- #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
8.123.0 - 2020-11-18
- #1072 Add support for
grabpay
onPaymentMethod
8.122.1 - 2020-11-17
- Identical to 8.122.0. Published to resolve a release issue.
8.122.0 - 2020-11-17
- #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
8.121.0 - 2020-11-09
- #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
8.120.0 - 2020-11-04
- #1061 Add support for
company[registration_number]
onAccount
8.119.0 - 2020-10-27
- #1056 Add
payment_method_details[interac_present][preferred_locales]
onCharge
- #1057 Standardize on CRULD order for method definitions
- #1055 Added requirements to README
8.118.0 - 2020-10-26
- #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
8.117.0 - 2020-10-23
- #1050 Add support for passing
p24[bank]
for P24 onPaymentIntent
orPaymentMethod
8.116.0 - 2020-10-22
- #1049 Support passing
tax_rates
when creating invoice items throughSubscription
orSubscriptionSchedule
8.115.0 - 2020-10-20
- #1048 Add support for
jp_rn
andru_kpp
as atype
onTaxId
- #1046 chore: replace recommended extension sublime babel with babel javascript
8.114.0 - 2020-10-15
- #1045 Make
original_payout
andreversed_by
not optional anymore
8.113.0 - 2020-10-14
- #1044 Add support for
discounts
onSession.create
8.112.0 - 2020-10-14
8.111.0 - 2020-10-12
- #1038 Add support for
description
,iin
andissuer
inpayment_method_details[card_present]
andpayment_method_details[interac_present]
onCharge
8.110.0 - 2020-10-12
- #1035 Add support for
setup_intent.requires_action
on Event
8.109.0 - 2020-10-09
- #1033 Add support for internal-only
description
,iin
, andissuer
forcard_present
andinterac_present
onCharge.payment_method_details
8.108.0 - 2020-10-08
- #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
8.107.0 - 2020-10-02
- #1026 Add support for
tos_acceptance[service_agreement]
onAccount
- #1025 Add support for new payments capabilities on
Account
8.106.0 - 2020-09-29
- #1024 Add support for the
SetupAttempt
resource and List API
8.105.0 - 2020-09-29
- #1023 Add support for
contribution
inreporting_category
onReportRun
8.104.0 - 2020-09-28
- #1022 Add support for
oxxo_payments
capability onAccount
8.103.0 - 2020-09-28
- #1021 Add VERSION constant to instantiated Stripe client.
8.102.0 - 2020-09-25
- #1019 Add support for
oxxo
as a validtype
on the List PaymentMethod API
8.101.0 - 2020-09-25
- #1018 More idiomatic types
8.100.0 - 2020-09-24
- #1016 Multiple API changes
- Add support for OXXO on
PaymentMethod
andPaymentIntent
- Add support for
contribution
onBalanceTransaction
- Add support for OXXO on
8.99.0 - 2020-09-24
- #1011 Add type definition for Stripe.StripeResource
8.98.0 - 2020-09-23
- #1014 Multiple API changes
- Add support for
issuing_dispute.closed
andissuing_dispute.submitted
events - Add support for
instant_available
onBalance
- Add support for
8.97.0 - 2020-09-21
- #1012 Multiple API changes
metadata
is now always nullable on all resources- Add support for
amount_captured
onCharge
- Add
checkout_session
onDiscount
8.96.0 - 2020-09-13
- #1003 Add support for
promotion_code.created
andpromotion_code.updated
onEvent
8.95.0 - 2020-09-10
- #999 Add support for SEPA debit on Checkout
8.94.0 - 2020-09-09
- #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
8.93.0 - 2020-09-08
- #995 Add support for Sofort on
PaymentMethod
andPaymentIntent
8.92.0 - 2020-09-02
- #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
8.91.0 - 2020-08-31
- #992 Add support for
payment_method.automatically_updated
onWebhookEndpoint
8.90.0 - 2020-08-28
8.89.0 - 2020-08-19
- #988 Multiple API changes
tax_ids
onCustomer
can now be nullable- Added support for
expires_at
onFile
8.88.0 - 2020-08-17
- #987 Add support for
amount_details
on IssuingAuthorization
andTransaction
8.87.0 - 2020-08-17
- #984 Multiple API changes
- Add
alipay
ontype
for the List PaymentMethods API - Add
payment_intent.requires_action
as a newtype
onEvent
- Add
8.86.0 - 2020-08-13
- #981 Add support for Alipay on Checkout
Session
8.85.0 - 2020-08-13
- #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
8.84.0 - 2020-08-07
- #975 Add support for Alipay on
PaymentMethod
andPaymentIntent
8.83.0 - 2020-08-05
- #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
8.82.0 - 2020-08-04
- #972 Multiple API changes
- Add
zh-HK
andzh-TW
aslocale
on CheckoutSession
- Add
payment_method_details[card_present][receipt][account_type]
onCharge
- Add
8.81.0 - 2020-07-30
- #970 Improve types for
customer
onCreditNote
to supportDeletedCustomer
8.80.0 - 2020-07-29
- #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
8.79.0 - 2020-07-24
- #967 Multiple API changes
- Make all properties from
Discount
available onDeletedDiscount
- Add
capabilities[fpx_payments]
onAccount
create and update
- Make all properties from
8.78.0 - 2020-07-22
- #965 Add support for
cartes_bancaires_payments
as aCapability
8.77.0 - 2020-07-20
- #963 Add support for
capabilities
as a parameter onAccount
create and update
8.76.0 - 2020-07-17
- #962 Add support for
political_exposure
onPerson
8.75.0 - 2020-07-16
- #961 Add support for
account_onboarding
andaccount_update
astype
onAccountLink
8.74.0 - 2020-07-16
- #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
8.73.0 - 2020-07-15
- #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
8.72.0 - 2020-07-15
- #956 Add support for
amount_total
,amount_subtotal
,currency
andtotal_details
on CheckoutSession
8.71.0 - 2020-07-14
- #955 Change from string to enum value for
billing_address_collection
on CheckoutSession
8.70.0 - 2020-07-13
- #953 Multiple API changes
- Adds
es-419
as alocale
to CheckoutSession
- Adds
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedule
- Adds
8.69.0 - 2020-07-06
8.68.0 - 2020-07-01
- #940 Document but discourage
protocol
config option - #933 Fix tests for
Plan
andPrice
to not appear as amount can be updated.
8.67.0 - 2020-06-24
- #929 Add support for
invoice.paid
event
8.66.0 - 2020-06-23
- #927 Add support for
payment_method_data
onPaymentIntent
8.65.0 - 2020-06-23
- #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
8.64.0 - 2020-06-18
- #924 Multiple API changes
- Add support for
refresh_url
andreturn_url
onAccountLink
- Add support for
issuing_dispute.*
events
- Add support for
8.63.0 - 2020-06-11
- #919 Multiple API changes
- Add
transaction
on IssuingDispute
- Add
payment_method_details[acss_debit][mandate]
onCharge
- Add
8.62.0 - 2020-06-10
- #918 Add support for Cartes Bancaires payments on
PaymentIntent
and `Pay…
8.61.0 - 2020-06-09
- #917 Add support for
id_npwp
andmy_frp
astype
onTaxId
8.60.0 - 2020-06-03
- #911 Add support for
payment_intent_data[transfer_group]
on CheckoutSession
8.59.0 - 2020-06-03
- #910 Add support for Bancontact, EPS, Giropay and P24 on Checkout
Session
8.58.0 - 2020-06-03
- #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
8.57.0 - 2020-06-03
- #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
8.56.0 - 2020-05-28
- #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
8.55.0 - 2020-05-22
- #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
8.54.0 - 2020-05-20
- #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
8.53.0 - 2020-05-18
- #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
8.52.0 - 2020-05-13
- #891 Add support for
purchase_details
on IssuingTransaction
8.51.0 - 2020-05-11
- #890 Add support for the
LineItem
resource and APIs
8.50.0 - 2020-05-07
- #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
8.49.0 - 2020-05-01
- #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
8.48.0 - 2020-04-29
- #881 Add support for the
Price
resource and APIs
8.47.1 - 2020-04-28
- #880 Make
display_items
on CheckoutSession
optional
8.47.0 - 2020-04-24
- #876 Add support for
jcb_payments
as aCapability
8.46.0 - 2020-04-22
- #875 Add support for
coupon
when for subscriptions on Checkout
8.45.0 - 2020-04-22
- #874 Add support for
billingPortal
namespace andsession
resource and APIs
8.44.0 - 2020-04-17
- #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
8.43.0 - 2020-04-16
- #868 Multiple API changes
8.42.0 - 2020-04-15
- #867 Clean up deprecated features in our Typescript definitions for Issuing and other resources
8.41.0 - 2020-04-14
- #866 Add support for
settings[branding][secondary_color]
onAccount
8.40.0 - 2020-04-13
- #865 Add support for
description
onWebhookEndpoint
8.39.2 - 2020-04-10
- #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
8.39.1 - 2020-04-08
- #848 Fix TS return type for autoPagingEach
8.39.0 - 2020-04-03
- #859 Add support for
calculatedStatementDescriptor
onCharge
8.38.0 - 2020-03-27
- #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
8.37.0 - 2020-03-26
- #851 Add support for
spending_controls
on IssuingCard
andCardholder
8.36.0 - 2020-03-25
- #850 Multiple API changes
- Add support for
pt-BR
as alocale
on CheckoutSession
- Add support for
company
as atype
on IssuingCardholder
- Add support for
8.35.0 - 2020-03-24
- #849 Add support for
pause_collection
onSubscription
8.34.0 - 2020-03-24
- #847 Add new capabilities for AU Becs Debit and tax reporting
8.33.0 - 2020-03-20
- #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
8.32.0 - 2020-03-13
- #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
8.31.0 - 2020-03-12
- #835 Add support for
shipping
andshipping_address_collection
on CheckoutSession
8.30.0 - 2020-03-12
- #834 Add support for
ThreeDSecure
on IssuingAuthorization
8.29.0 - 2020-03-05
- #833 Make metadata nullable in many endpoints
8.28.1 - 2020-03-05
- #827 Allow
null
/undefined
to be passed foroptions
arg.
8.28.0 - 2020-03-04
- #830 Add support for
metadata
onWebhookEndpoint
8.27.0 - 2020-03-04
- #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
8.26.0 - 2020-03-04
- #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
8.25.0 - 2020-03-03
⚠️ This is a breaking change for TypeScript users.
- #826 Multiple API changes:
- ⚠️ Types are now for the API version
2020-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
- ⚠️ Types are now for the API version
8.24.1 - 2020-03-02
- #824 Update type for StripeError to extend Error
8.24.0 - 2020-02-28
- #822 Add
my_sst
as a valid value fortype
onTaxId
8.23.0 - 2020-02-27
- #821 Make
type
onAccountLink
an enum
8.22.0 - 2020-02-24
- #820 Add new enum values in
reason
for IssuingDispute
creation
8.21.0 - 2020-02-24
- #819 Add support for listing Checkout
Session
and passing tax rate information
8.20.0 - 2020-02-21
- #813 Multiple API changes
- Add support for
timezone
onReportRun
- Add support for
proration_behavior
onSubscriptionSchedule
- Add support for
8.19.0 - 2020-02-18
- #807 Change timeout default to constant 80000 instead Node default
8.18.0 - 2020-02-14
- #802 TS Fixes
- Correctly type
Array<CustomField>
- More consistently describe nullable fields as
| null
, vs| ''
.
- Correctly type
8.17.0 - 2020-02-12
- #804 Add support for
payment_intent_data[transfer_data][amount]
on CheckoutSession
8.16.0 - 2020-02-12
- #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
8.15.0 - 2020-02-10
- #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
8.14.0 - 2020-02-04
- #793 Rename
sort_code
tosender_sort_code
onSourceTransaction
for BACS debit.
8.13.0 - 2020-02-03
- #792 Multiple API changes
- Add new
purpose
forFile
:additional_verification
- Add
error_on_requires_action
as a parameter forPaymentIntent
creation and confirmation
- Add new
8.12.0 - 2020-01-31
- #790 Add new type of
TaxId
8.11.0 - 2020-01-30
- #789 Add support for
company.structure
onAccount
and other docs changes
8.10.0 - 2020-01-30
- #788 Make typescript param optional
8.9.0 - 2020-01-30
- #787 Add support for FPX as a
PaymentMethod
- #769 Fix Typescript definition on
Token
creation for bank accounts
8.8.2 - 2020-01-30
- #785 Fix file uploads with nested params
8.8.1 - 2020-01-29
- #784 Allow @types/node 8.1
8.8.0 - 2020-01-28
- #780 Add new type for
TaxId
andsender_account_name
onSourceTransaction
8.7.0 - 2020-01-24
- #777 Add support for
shipping[speed]
on IssuingCard
8.6.0 - 2020-01-23
- #775 Gracefully handle a missing
subprocess
module
8.5.0 - 2020-01-23
- #776 Add support for new
type
onCustomerTaxId
8.4.1 - 2020-01-21
- #774 Improve docstrings for many properties and parameters
8.4.0 - 2020-01-17
- #771 Add
metadata
on CheckoutSession
and remove deprecated features - #764 Added typescript webhook example
8.3.0 - 2020-01-15
- #767 Adding missing events for pending updates on
Subscription
8.2.0 - 2020-01-15
- #765 Add support for
pending_update
onSubscription
to the Typescript definitions
8.1.0 - 2020-01-14
- #763 Add support for listing line items on a
CreditNote
- #762 Improve docs for core fields such as
metadata
on Typescript definitions
8.0.1 - 2020-01-09
- #757 [bugfix] Add types dir to npmignore whitelist and stop warning when instantiating stripe with no args
8.0.0 - 2020-01-09
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) (⚠️ = breaking changes):
- #736 Add TypeScript definitions
- #744 Remove deprecated resources and methods
- #752 Deprecate many library api's, unify others
7.63.1 - 2020-11-17
- Identical to 7.15.0.
7.63.0 - 2020-11-17
- Published in error. Do not use. This is identical to 8.122.0.
7.15.0 - 2019-12-30
7.14.0 - 2019-11-26
- #732 Add support for CreditNote preview
7.13.1 - 2019-11-22
- #728 Remove duplicate export
7.13.0 - 2019-11-06
- #703 New config object
7.12.0 - 2019-11-05
- #724 Add support for
Mandate
7.11.0 - 2019-10-31
- #719 Define 'type' as a property on errors rather than a getter
- #709 README: imply context of stripe-node
- #717 Contributor Convenant
7.10.0 - 2019-10-08
- #699 Add request-specific fields from raw error to top level error
7.9.1 - 2019-09-17
- #692 Retry based on
Stripe-Should-Retry
andRetry-After
headers
7.9.0 - 2019-09-09
7.8.0 - 2019-08-12
- #678 Add
subscriptionItems.createUsageRecord()
method
7.7.0 - 2019-08-09
- #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.
7.6.2 - 2019-08-09
- #674 Refactor requestDataProcessor for File out into its own file
7.6.1 - 2019-08-08
- #673 Add request start and end time to request and response events
7.6.0 - 2019-08-02
7.5.5 - 2019-08-02
- #665 Remove
lodash.isplainobject
.
7.5.4 - 2019-08-01
- #671 Include a prefix in generated idempotency keys and remove uuid dependency.
7.5.3 - 2019-07-31
- #667 Refactor request headers, allowing any header to be overridden.
7.5.2 - 2019-07-30
- #664 Expose and use
once
7.5.1 - 2019-07-30
- #662 Remove
safe-buffer
dependency - #666 Bump lodash from 4.17.11 to 4.17.15
- #668 Move Balance History to /v1/balance_transactions
7.5.0 - 2019-07-24
- #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 api
utils.isAuthKey
was removed.
- #658 Update README retry code sample to use two retries
- #653 Reorder customer methods
7.4.0 - 2019-06-27
- #652 Add support for the
SetupIntent
resource and APIs
7.3.0 - 2019-06-24
- #649 Enable request latency telemetry by default
7.2.0 - 2019-06-17
- #608 Add support for
CustomerBalanceTransaction
resource and APIs
7.1.0 - 2019-05-23
- #632 Add support for
radar.early_fraud_warning
resource
7.0.1 - 2019-05-22
- #631 Make autopagination functions work for
listLineItems
andlistUpcomingLineItems
7.0.0 - 2019-05-14
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) (⚠️ = breaking changes):
- ⚠️ 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 in
invoices.retrieveUpcoming()
(#621) - ⚠️ Remove curried urlData and manually specified urlParams (#625)
- Extract resources file (#626)
6.36.0 - 2019-05-14
- #622 Add support for the
Capability
resource and APIs
6.35.0 - 2019-05-14
- #627 Add
listLineItems
andlistUpcomingLineItems
methods toInvoice
6.34.0 - 2019-05-08
- #619 Move
generateTestHeaderString
to stripe.webhooks (fixes a bug in 6.33.0)
6.33.0 - 2019-05-08 - UNRELEASED
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
6.32.0 - 2019-05-07
- #612 Add
balanceTransactions
resource
6.31.2 - 2019-05-03
- #602 Handle errors from the oauth/token endpoint
6.31.1 - 2019-04-26
- #600 Fix encoding of nested parameters in multipart requests
6.31.0 - 2019-04-24
- #588 Add support for the
TaxRate
resource and APIs
6.30.0 - 2019-04-22
- #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.
6.29.0 - 2019-04-18
- #585 Add support for the
CreditNote
resource and APIs
6.28.0 - 2019-03-18
- #570 Add support for the
PaymentMethod
resource and APIs - #578 Add support for retrieving a Checkout
Session
6.27.0 - 2019-03-15
- #581 Add support for deleting Terminal
Location
andReader
6.26.1 - 2019-03-14
- #580 Fix support for HTTPS proxies
6.26.0 - 2019-03-11
- #574 Encode
Date
s as Unix timestamps
6.25.1 - 2019-02-14
- #565 Always encode arrays as integer-indexed hashes
6.25.0 - 2019-02-13
- #559 Add
stripe.setMaxNetworkRetries(n)
for automatic network retries
6.24.0 - 2019-02-12
- #562 Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
6.23.1 - 2019-02-04
- #560 Enable persistent connections by default
6.23.0 - 2019-01-30
- #557 Add configurable telemetry to gather information on client-side request latency
6.22.0 - 2019-01-25
- #555 Add support for OAuth methods
6.21.0 - 2019-01-23
- #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.
6.20.1 - 2019-01-17
- #552 Fix
Buffer
deprecation warnings
6.20.0 - 2018-12-21
- #539 Add support for the
CheckoutSession
resource
6.19.0 - 2018-12-10
- #535 Add support for account links
6.18.1 - 2018-12-07
- #534 Fix iterating on
files.list
method
6.18.0 - 2018-12-06
- #530 Export errors on root Stripe object
6.17.0 - 2018-11-28
- #527 Add support for the
Review
APIs
6.16.0 - 2018-11-27
- #515 Add support for
ValueLists
andValueListItems
for Radar
6.15.2 - 2018-11-26
- #526 Fixes an accidental mutation of input in rare cases
6.15.1 - 2018-11-23
- #523 Handle
Buffer
instances inWebhook.constructEvent
6.15.0 - 2018-11-12
- #474 Add support for
partner_id
insetAppInfo
6.14.0 - 2018-11-09
- #509 Add support for new
Invoice
methods
6.13.0 - 2018-10-30
6.12.1 - 2018-09-24
- #502 Fix test suite
6.12.0 - 2018-09-24
- #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.
6.11.0 - 2018-09-18
- #496 Add auto-pagination
6.10.0 - 2018-09-05
- #491 Add support for usage record summaries
6.9.0 - 2018-09-05
- #493 Add support for reporting resources
6.8.0 - 2018-08-27
- #488 Remove support for
BitcoinReceivers
write-actions
6.7.0 - 2018-08-03
- #485 Add support for
cancel
on topups
6.6.0 - 2018-08-02
- #483 Add support for file links
6.5.0 - 2018-07-28
- #482 Add support for Sigma scheduled query runs
6.4.0 - 2018-07-26
- #481 Add support for Stripe Issuing
6.3.0 - 2018-07-18
- #471 Add support for streams in file uploads
6.2.1 - 2018-07-03
- #475 Fixes array encoding of subscription items for the upcoming invoices endpoint.
6.2.0 - 2018-06-28
- #473 Add support for payment intents
6.1.1 - 2018-06-07
- #469 Add
.npmignore
to create a lighter package (minus examples and tests)
6.1.0 - 2018-06-01
- #465 Warn when unknown options are passed to functions
6.0.0 - 2018-05-14
- #453 Re-implement usage record's
create
so that it correctly passes all arguments (this is a very minor breaking change)
5.10.0 - 2018-05-14
- #459 Export error types on
stripe.errors
so that errors can be matched withinstanceof
instead of comparing the strings generated bytype
5.9.0 - 2018-05-09
- #456 Add support for issuer fraud records
5.8.0 - 2018-04-04
- #444 Introduce flexible billing primitives for subscriptions
5.7.0 - 2018-04-02
- #441 Write directly to a connection that's known to be still open
5.6.1 - 2018-03-25
- #437 Fix error message when passing invalid parameters to some API methods
5.6.0 - 2018-03-24
- #439 Drop Bluebird dependency and use native ES6 promises
5.5.0 - 2018-02-21
- #425 Add support for topups
5.4.0 - 2017-12-05
- #412 Add
StripeIdempotencyError
type for new kind of stripe error
5.3.0 - 2017-10-31
- #405 Support for exchange rates APIs
5.2.0 - 2017-10-26
- #404 Support for listing source transactions
5.1.1 - 2017-10-04
- #394 Fix improper warning for requests that have options but no parameters
5.1.0 - 2017-09-25
- 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
5.0.0 - 2017-09-12
- Drop support for Node 0.x (minimum required version is now >= 4)
4.25.0 - 2017-09-05
- Switch to Bearer token authentication on API requests
4.24.1 - 2017-08-25
- Specify UTF-8 encoding when verifying HMAC-SHA256 payloads
4.24.0 - 2017-08-10
- Support informational events with
Stripe.on
(see README for details)
4.23.2 - 2017-08-03
- Handle
Buffer.from
incompatibility for Node versions prior to 4.5.x
4.23.1 - 2017-06-24
- Properly encode subscription items when retrieving upcoming invoice
4.23.0 - 2017-06-20
- Add support for ephemeral keys
4.22.1 - 2017-06-20
- Fix usage of hasOwnProperty in utils
4.22.0 - 2017-05-25
- Make response headers accessible on error objects
4.21.0 - 2017-05-25
- Add support for account login links
4.20.0 - 2017-05-24
- Add
stripe.setAppInfo
for plugin authors to register app information
4.19.1 - 2017-05-18
- Tweak class initialization for compatibility with divergent JS engines
4.19.0 - 2017-05-11
- Support for checking webhook signatures
4.18.0 - 2017-04-12
- Reject ID parameters that don't look like strings
4.17.1 - 2017-04-05
- Fix paths in error messages on bad arguments
4.17.0 - 2017-03-31
- Add support for payouts
4.16.1 - 2017-03-30
- Fix bad reference to
requestId
when initializing errors
4.16.0 - 2017-03-22
- Make
requestId
available on resourcelastResponse
objects
4.15.1 - 2017-03-08
- Update required version of "qs" dependency to 6.0.4+
4.15.0 - 2017-01-18
- Add support for updating sources
4.14.0 - 2016-12-01
- Add support for verifying sources
4.13.0 - 2016-11-21
- Add retrieve method for 3-D Secure resources
4.12.0 - 2016-10-18
- Support for 403 status codes (permission denied)
4.11.0 - 2016-09-16
- Add support for Apple Pay domains
4.10.0 - 2016-08-29
- Refactor deprecated uses of Bluebird's
Promise.defer
4.9.1 - 2016-08-22
- URI-encode unames for Stripe user agents so we don't fail on special characters
4.9.0 - 2016-07-19
- Add
Source
model for generic payment sources support (experimental)
4.8.0 - 2016-07-14
- Add
ThreeDSecure
model for 3-D secure payments
4.7.0 - 2016-05-25
- Add support for returning Relay orders
4.6.0 - 2016-05-04
- Add
update
,create
,retrieve
,list
anddel
methods tostripe.subscriptions
4.5.0 - 2016-03-15
- Add
reject
onAccount
to support the new API feature
4.4.0 - 2016-02-08
- Add
CountrySpec
model for looking up country payment information
4.3.0 - 2016-01-26
- Add support for deleting Relay SKUs and products
4.2.0 - 2016-01-13
- 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
4.1.0 - 2015-12-02
- Add a verification routine for external accounts
4.0.0 - 2015-09-17
- Remove ability for API keys to be passed as 1st param to acct.retrieve
- Rename StripeInvalidRequest to StripeInvalidRequestError
3.9.0 - 2015-09-14
- Add Relay resources: Products, SKUs, and Orders
3.8.0 - 2015-09-11
- Added rate limiting responses
3.7.1 - 2015-08-17
- Added refund object with listing, retrieval, updating, and creation.
3.7.0 - 2015-08-03
- Added managed account deletion
- Added dispute listing and retrieval
3.6.0 - 2015-07-07
- Added request IDs to all Stripe errors
3.5.2 - 2015-06-30
- [BUGFIX] Fixed issue with uploading binary files (Gabriel Chagas Marques)
3.5.1 - 2015-06-30
- [BUGFIX] Fixed issue with passing arrays of objects
3.5.0 - 2015-06-11
- Added support for optional parameters when retrieving an upcoming invoice (Matthew Arkin)
3.4.0 - 2015-06-10
- Added support for bank accounts and debit cards in managed accounts
3.3.4 - 2015-04-02
- Remove SSL revocation tests and check
3.3.3 - 2015-03-31
- [BUGFIX] Fix support for both stripe.account and stripe.accounts
3.3.2 - 2015-02-24
- Support transfer reversals.
3.3.1 - 2015-02-21
- [BUGFIX] Fix passing in only a callback to the Account resource. (Matthew Arkin)
3.3.0 - 2015-02-19
- 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.
3.2.0 - 2015-02-05
- [BUGFIX] Fix incorrect failing tests for headers support
- Update all dependencies (remove mocha-as-promised)
- Switch to bluebird for promises
3.1.0 - 2015-01-21
- Support making bitcoin charges through BitcoinReceiver source object
3.0.3 - 2014-12-23
- Adding file uploads as a resource.
3.0.2 - 2014-11-26
- [BUGFIX] Fix issue where multiple expand params were not getting passed through (#130)
3.0.1 - 2014-11-26
- (Version skipped due to npm mishap)
3.0.0 - 2014-11-18
- [BUGFIX] Fix
stringifyRequestData
to deal with nested objs correctly - Bump MAJOR as we're no longer supporting Node 0.8
2.9.0 - 2014-11-12
- Allow setting of HTTP agent (proxy) (issue #124)
- Add stack traces to all Stripe Errors
2.8.0 - 2014-07-26
- Make application fee refunds a list instead of array
2.7.4 - 2014-07-17
- [BUGFIX] Fix lack of subscription param in
invoices#retrieveUpcoming
method - Add support for an
optional!
annotation onurlParams
2.7.3 - 2014-06-17
- Add metadata to disputes and refunds
2.6.3 - 2014-05-21
- Support cards for recipients.
2.5.3 - 2014-05-16
- Allow the
update
method on coupons for metadata changes
2.5.2 - 2014-04-28
- [BUGFIX] Fix when.js version string in package.json to support older npm versions
2.5.1 - 2014-04-25
- [BUGFIX] Fix revoked-ssl check
- Upgrade when.js to 3.1.0
2.5.0 - 2014-04-09
- Ensure we prevent requests using revoked SSL certs
2.4.5 - 2014-04-08
- Add better checks for incorrect arguments (throw exceptions accordingly).
- Validate the Connect Auth key, if passed
2.4.4 - 2014-03-27
- [BUGFIX] Fix URL encoding issue (not encoding interpolated URL params, see issue #93)
2.4.3 - 2014-03-27
- Add more debug information to the case of a failed
JSON.parse()
2.4.2 - 2014-02-20
- Add binding for
transfers/{tr_id}/transactions
endpoint
2.4.1 - 2014-02-07
- Ensure raw error object is accessible on the generated StripeError
2.4.0 - 2014-01-29
- Support multiple subscriptions per customer
2.3.4 - 2014-01-11
- [BUGFIX] Fix #76, pass latest as version to api & fix constructor arg signature
2.3.3 - 2014-01-10
- Document cancelSubscription method params and add specs for
at_period_end
2.3.2 - 2013-12-02
- Add application fees API
2.2.2 - 2013-11-20
- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2.2.1
- [BUGFIX] Fix user-agent header issue (see issue #75)
2.2.0 - 2013-11-09
- Add support for setTimeout
- Add specs for invoice-item listing/querying via timestamp
2.1.0 - 2013-11-07
- 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
2.0.0 - 2013-10-18
- API overhaul and refactor, including addition of promises.
- Release of version 2.0.0
1.3.0 - 2013-01-30
- Requests return Javascript Errors (Guillaume Flandre)
1.2.0 - 2012-08-03
- Added events API (Jonathan Hollinger)
- Added plans update API (Pavan Kumar Sunkara)
- Various test fixes, node 0.8.x tweaks (Jan Lehnardt)
1.1.0 - 2012-02-01
- 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)
1.0.0 - 2011-12-06
- Add APIs and tests for Plans and "Invoice Items" (both changes by Ryan Ettipio)
0.0.5 - 2011-11-26
- 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
0.0.3 - 2011-10-05
- Add Charges API (issue #1, brackishlake)
- Add customers.list API
0.0.2 - 2011-09-28
- Initial release with customers and tokens APIs