- #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