- #1115 API Updates
- Added support for
nationality
onPerson
,PersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Added
gb_vat
toTaxId.type
enum.
- Added support for
- #1112 API Updates
Issuing.Transaction.type
dropped enum members: 'dispute'LineItem.price
can now be null.
- #1104 Make request timeout errors eligible for retry
- #1108 Multiple API Changes
- Added support for
dynamic_tax_rates
onCheckout.SessionCreateParams.line_items
- Added support for
customer_details
onCheckout.Session
- Added support for
type
onIssuing.TransactionListParams
- Added support for
country
andstate
onTaxRateUpdateParams
,TaxRateCreateParams
andTaxRate
- Added support for
- #1107 More consistent type definitions
- #1105 API Updates
- Added support for
company_registration_verification
,company_ministerial_decree
,company_memorandum_of_association
,company_license
andcompany_tax_id_verification
on AccountUpdateParams.documents and AccountCreateParams.documents
- Added support for
- #1100 implement/fix reverse iteration when iterating with ending_before
- #1096 typo receieved -> received
- #1093 API Updates
- Added support for card_present on SetupAttempt.payment_method_details
- #1088 Multiple API changes
- Add newlines for consistency.
- Prefix deleted references with
Stripe.
for consistency. - Add support for
bank
onPaymentMethod[eps]
. - Add support for
tos_shown_and_accepted
topayment_method_options[p24]
onPaymentMethod
.
- #1079 Multiple API changes
- Add support for
account_tax_ids
onInvoice
- Add support for
payment_method_options[sepa_debit]
onPaymentIntent
- Add support for
- #1075 Add support for
capabilities[grabpay_payments]
onAccount
- #1074
- Add support for mandate_options on SetupIntent.payment_method_options.sepa_debit.
- Add support for card_present and interact_present as values for PaymentMethod.type.
- #1073 More consistent namespacing for shared types
- #1072 Add support for
grabpay
onPaymentMethod
- Identical to 8.122.0. Published to resolve a release issue.
- #1070
- Add support for
sepa_debit
onSetupIntent.PaymentMethodOptions
Invoice.tax_amounts
andInvoiceLineItem.tax_rates
are no longer nullableInvoice.default_tax_rates
andInvoiceLineItem.tax_amounts
are no longer nullable
- Add support for
- #1064 Add
invoice.finalization_error
as atype
onEvent
- #1063 Multiple API changes
- Add support for
last_finalization_error
onInvoice
- Add support for deserializing Issuing
Dispute
as asource
onBalanceTransaction
- Add support for
payment_method_type
onStripeError
used by other API resources
- Add support for
- #1061 Add support for
company[registration_number]
onAccount
- #1056 Add
payment_method_details[interac_present][preferred_locales]
onCharge
- #1057 Standardize on CRULD order for method definitions
- #1055 Added requirements to README
- #1053 Multiple API changes
- Improving Typescript types for nullable parameters and introduced
Stripe.Emptyable
as a type - Add support for
payment_method_options[card][cvc_token]
onPaymentIntent
- Add support for
cvc_update[cvc]
onToken
creation
- Improving Typescript types for nullable parameters and introduced
- #1052 Add Stripe.Emptyable type definition
- #1050 Add support for passing
p24[bank]
for P24 onPaymentIntent
orPaymentMethod
- #1049 Support passing
tax_rates
when creating invoice items throughSubscription
orSubscriptionSchedule
- #1048 Add support for
jp_rn
andru_kpp
as atype
onTaxId
- #1046 chore: replace recommended extension sublime babel with babel javascript
- #1045 Make
original_payout
andreversed_by
not optional anymore
- #1044 Add support for
discounts
onSession.create
- #1038 Add support for
description
,iin
andissuer
inpayment_method_details[card_present]
andpayment_method_details[interac_present]
onCharge
- #1035 Add support for
setup_intent.requires_action
on Event
- #1033 Add support for internal-only
description
,iin
, andissuer
forcard_present
andinterac_present
onCharge.payment_method_details
- #1028 Add support for
Bancontact/iDEAL/Sofort -> SEPA
- Add support for
generated_sepa_debit
andgenerated_sepa_debit_mandate
onCharge.payment_method_details.ideal
,Charge.payment_method_details.bancontact
andCharge.payment_method_details.sofort
- Add support for
generated_from
onPaymentMethod.sepa_debit
- Add support for
ideal
,bancontact
andsofort
onSetupAttempt.payment_method_details
- Add support for
- #1026 Add support for
tos_acceptance[service_agreement]
onAccount
- #1025 Add support for new payments capabilities on
Account
- #1024 Add support for the
SetupAttempt
resource and List API
- #1023 Add support for
contribution
inreporting_category
onReportRun
- #1022 Add support for
oxxo_payments
capability onAccount
- #1021 Add VERSION constant to instantiated Stripe client.
- #1019 Add support for
oxxo
as a validtype
on the List PaymentMethod API
- #1018 More idiomatic types
- #1016 Multiple API changes
- Add support for OXXO on
PaymentMethod
andPaymentIntent
- Add support for
contribution
onBalanceTransaction
- Add support for OXXO on
- #1011 Add type definition for Stripe.StripeResource
- #1014 Multiple API changes
- Add support for
issuing_dispute.closed
andissuing_dispute.submitted
events - Add support for
instant_available
onBalance
- Add support for
- #1012 Multiple API changes
metadata
is now always nullable on all resources- Add support for
amount_captured
onCharge
- Add
checkout_session
onDiscount
- #1003 Add support for
promotion_code.created
andpromotion_code.updated
onEvent
- #999 Add support for SEPA debit on Checkout
- #998 Multiple API changes
- Add support for
sofort
as atype
on the List PaymentMethods API - Add back support for
invoice.payment_succeeded
- Add support for
- #995 Add support for Sofort on
PaymentMethod
andPaymentIntent
- #993 Multiple API changes
- Add support for the Issuing
Dispute
submit API - Add support for evidence details on Issuing
Dispute
creation, update and the resource. - Add
available_payout_methods
onBankAccount
- Add
payment_status
on CheckoutSession
- Add support for the Issuing
- #992 Add support for
payment_method.automatically_updated
onWebhookEndpoint
- #988 Multiple API changes
tax_ids
onCustomer
can now be nullable- Added support for
expires_at
onFile
- #987 Add support for
amount_details
on IssuingAuthorization
andTransaction
- #984 Multiple API changes
- Add
alipay
ontype
for the List PaymentMethods API - Add
payment_intent.requires_action
as a newtype
onEvent
- Add
- #981 Add support for Alipay on Checkout
Session
- #980 [codegen] Multiple API Changes
- Added support for bank_name on
Charge.payment_method_details.acss_debit
Issuing.dispute.balance_transactions
is now nullable.
- Added support for bank_name on
- #975 Add support for Alipay on
PaymentMethod
andPaymentIntent
- #973 Multiple API changes
- Add support for the
PromotionCode
resource and APIs - Add support for
allow_promotion_codes
on CheckoutSession
- Add support for
applies_to[products]
onCoupon
- Add support for
promotion_code
onCustomer
andSubscription
- Add support for
promotion_code
onDiscount
- Add support for the
- #972 Multiple API changes
- Add
zh-HK
andzh-TW
aslocale
on CheckoutSession
- Add
payment_method_details[card_present][receipt][account_type]
onCharge
- Add
- #970 Improve types for
customer
onCreditNote
to supportDeletedCustomer
- #969 Multiple API changes
- Add support for
id
,invoice
andinvoice_item
onDiscount
andDeletedDiscount
- Add support for
discount_amounts
onCreditNote
,CreditNoteLineItem
,InvoiceLineItem
- Add support for
discounts
onInvoiceItem
,InvoiceLineItem
andInvoice
- Add support for
total_discount_amounts
onInvoice
- Make
customer
andverification
onTaxId
optional as the resource will be re-used forAccount
in the future.
- Add support for
- #967 Multiple API changes
- Make all properties from
Discount
available onDeletedDiscount
- Add
capabilities[fpx_payments]
onAccount
create and update
- Make all properties from
- #965 Add support for
cartes_bancaires_payments
as aCapability
- #963 Add support for
capabilities
as a parameter onAccount
create and update
- #962 Add support for
political_exposure
onPerson
- #961 Add support for
account_onboarding
andaccount_update
astype
onAccountLink
- #959 Refactor remaining 'var' to 'let/const' usages
- #960 Use strict equality check for 'protocol' field for consistency
- #952 Add new fields to lastResponse: apiVersion, stripeAccount, idempotencyKey
- #958 Multiple API changes
- Add support for
en-GB
,fr-CA
andid
aslocale
on CheckoutSession
- Move
purpose
to an enum onFile
- Add support for
- #957 Bump lodash from 4.17.15 to 4.17.19
- #956 Add support for
amount_total
,amount_subtotal
,currency
andtotal_details
on CheckoutSession
- #955 Change from string to enum value for
billing_address_collection
on CheckoutSession
- #953 Multiple API changes
- Adds
es-419
as alocale
to CheckoutSession
- Adds
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedule
- Adds
- #940 Document but discourage
protocol
config option - #933 Fix tests for
Plan
andPrice
to not appear as amount can be updated.
- #929 Add support for
invoice.paid
event
- #927 Add support for
payment_method_data
onPaymentIntent
- #926 Multiple API changes
- Add
discounts
onLineItem
- Add
document_provider_identity_document
as apurpose
onFile
- Support nullable
metadata
on IssuingDispute
- Add
klarna[shipping_delay]
onSource
- Add
- #924 Multiple API changes
- Add support for
refresh_url
andreturn_url
onAccountLink
- Add support for
issuing_dispute.*
events
- Add support for
- #919 Multiple API changes
- Add
transaction
on IssuingDispute
- Add
payment_method_details[acss_debit][mandate]
onCharge
- Add
- #918 Add support for Cartes Bancaires payments on
PaymentIntent
and `Pay…
- #917 Add support for
id_npwp
andmy_frp
astype
onTaxId
- #911 Add support for
payment_intent_data[transfer_group]
on CheckoutSession
- #910 Add support for Bancontact, EPS, Giropay and P24 on Checkout
Session
- #909 Multiple API changes
- Add
bacs_debit_payments
as aCapability
- Add support for BACS Debit on Checkout
Session
- Add support for
checkout.session.async_payment_failed
andcheckout.session.async_payment_succeeded
astype
onEvent
- Add
- #908 Multiple API changes
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
Session
- Add
settings[sepa_debit_payments][creditor_id]
onAccount
- Add support for Bancontact, EPS, Giropay and P24 on
PaymentMethod
,PaymentIntent
andSetupIntent
- Add support for
order_item[parent]
onSource
for Klarna
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
- #905 Add support for BACS Debit as a
PaymentMethod
- #904 Multiple API changes
- Add
payment_method_details[card][three_d_secure][authentication_flow]
onCharge
- Add
line_items[][price_data][product_data]
on CheckoutSession
creation
- Add
- #899 Multiple API changes
- Add support for
ae_trn
,cl_tin
andsa_vat
astype
onTaxId
- Add
result
andresult_reason
insidepayment_method_details[card][three_d_secure]
onCharge
- Add support for
- #897 Multiple API changes
- Add
anticipation_repayment
as atype
onBalanceTransaction
- Add
interac_present
as atype
onPaymentMethod
- Add
payment_method_details[interac_present]
onCharge
- Add
transfer_data
onSubscriptionSchedule
- Add
- #895 Multiple API changes
- Add support for
issuing_dispute
as atype
onBalanceTransaction
- Add
balance_transactions
as an array ofBalanceTransaction
on IssuingDispute
- Add
fingerprint
andtransaction_id
inpayment_method_details[alipay]
onCharge
- Add
transfer_data[amount]
onInvoice
- Add
transfer_data[amount_percent]
onSubscription
- Add
price.created
,price.deleted
andprice.updated
onEvent
- Add support for
- #891 Add support for
purchase_details
on IssuingTransaction
- #890 Add support for the
LineItem
resource and APIs
- #888 Multiple API changes
- Remove parameters in
price_data[recurring]
across APIs as they were never supported - Move
payment_method_details[card][three_d_secure]
to a list of enum values onCharge
- Add support for for
business_profile[support_adress]
onAccount
create and update
- Remove parameters in
- #883 Multiple API changes
- Add
issuing
onBalance
- Add
br_cnpj
andbr_cpf
astype
onTaxId
- Add
price
support in phases onSubscriptionSchedule
- Make
quantity
nullable onSubscriptionSchedule
for upcoming API version change
- Add
- #881 Add support for the
Price
resource and APIs
- #880 Make
display_items
on CheckoutSession
optional
- #876 Add support for
jcb_payments
as aCapability
- #875 Add support for
coupon
when for subscriptions on Checkout
- #874 Add support for
billingPortal
namespace andsession
resource and APIs
- #873 Multiple API changes
- Add support for
cardholder_name
inpayment_method_details[card_present]
onCharge
- Add new enum values for
company.structure
onAccount
- Add support for
- #868 Multiple API changes
- #867 Clean up deprecated features in our Typescript definitions for Issuing and other resources
- #866 Add support for
settings[branding][secondary_color]
onAccount
- #865 Add support for
description
onWebhookEndpoint
- #864 Multiple API changes
- Make
payment_intent
expandable onCharge
- Add support for
sg_gst
as a value fortype
onTaxId
and related APIs - Add
cancellation_reason
and new enum values forreplacement_reason
on IssuingCard
- Make
- #848 Fix TS return type for autoPagingEach
- #859 Add support for
calculatedStatementDescriptor
onCharge
- #853 Improve StripeError.generate()
- Add
doc_url
field to StripeError. - Expose
Stripe.errors.generate()
as a convenience forStripe.errors.StripeError.generate()
. - Fix several TS types related to StripeErrors.
- Add types for
StripeInvalidGrantError
. - Add support for
authentication_error
andrate_limit_error
in.generate()
.
- Add
- #851 Add support for
spending_controls
on IssuingCard
andCardholder
- #850 Multiple API changes
- Add support for
pt-BR
as alocale
on CheckoutSession
- Add support for
company
as atype
on IssuingCardholder
- Add support for
- #849 Add support for
pause_collection
onSubscription
- #847 Add new capabilities for AU Becs Debit and tax reporting
- #842 Multiple API changes for Issuing:
- Add
amount
,currency
,merchant_amount
andmerchant_currency
onAuthorization
- Add
amount
,currency
,merchant_amount
andmerchant_currency
insiderequest_history
onAuthorization
- Add
pending_request
onAuthorization
- Add
amount
when approving anAuthorization
- Add
replaced_by
onCard
- Add
- #836 Multiple API changes for Issuing:
- Rename
speed
toservice
on IssuingCard
- Rename
wallet_provider
towallet
andaddress_zip_check
toaddress_postal_code_check
on IssuingAuthorization
- Mark
is_default
as deprecated on IssuingCardholder
- Rename
- #835 Add support for
shipping
andshipping_address_collection
on CheckoutSession
- #834 Add support for
ThreeDSecure
on IssuingAuthorization
- #833 Make metadata nullable in many endpoints
- #827 Allow
null
/undefined
to be passed foroptions
arg.
- #830 Add support for
metadata
onWebhookEndpoint
- #829 Multiple API changes
- Add support for
account
as a parameter onToken
to create Account tokens - Add support for
verification_data.expiry_check
on IssuingAuthorization
- Add support for
incorrect_cvc
andincorrect_expiry
as a value forrequest_history.reason
on IssuingAuthorization
- Add support for
- #828 Multiple API changes
- Add support for
errors
inrequirements
onAccount
,Capability
andPerson
- Add support for
payment_intent.processing
as a newtype
onEvent
.
- Add support for
- #826 Multiple API changes:
⚠️ Types are now for the API version2020-03-02
. This is a breaking change for TypeScript users- Remove
uob_regional
as a value onbank
for FPX as this is deprecated and was never used - Add support for
next_invoice_sequence
onCustomer
- Add support for
proration_behavior
onSubscriptionItem
delete
- #824 Update type for StripeError to extend Error
- #822 Add
my_sst
as a valid value fortype
onTaxId
- #821 Make
type
onAccountLink
an enum
- #820 Add new enum values in
reason
for IssuingDispute
creation
- #819 Add support for listing Checkout
Session
and passing tax rate information
- #813 Multiple API changes
- Add support for
timezone
onReportRun
- Add support for
proration_behavior
onSubscriptionSchedule
- Add support for
- #807 Change timeout default to constant 80000 instead Node default
- #802 TS Fixes
- Correctly type
Array<CustomField>
- More consistently describe nullable fields as
| null
, vs| ''
.
- Correctly type
- #804 Add support for
payment_intent_data[transfer_data][amount]
on CheckoutSession
- #803 Multiple API changes reflect in Typescript definitions
- Add
fpx
as a validsource_type
onBalance
,Payout
andTransfer
- Add
fpx
support on CheckoutSession
- Fields inside
verification_data
on IssuingAuthorization
are now enums - Support updating
payment_method_options
onPaymentIntent
andSetupIntent
- Add
- #801 Multiple API changes
- Add support for new
type
values forTaxId
. - Add support for
payment_intent_data[statement_descriptor_suffix]
on CheckoutSession
.
- Add support for new
- #793 Rename
sort_code
tosender_sort_code
onSourceTransaction
for BACS debit.
- #792 Multiple API changes
- Add new
purpose
forFile
:additional_verification
- Add
error_on_requires_action
as a parameter forPaymentIntent
creation and confirmation
- Add new
- #790 Add new type of
TaxId
- #789 Add support for
company.structure
onAccount
and other docs changes
- #788 Make typescript param optional
- #787 Add support for FPX as a
PaymentMethod
- #769 Fix Typescript definition on
Token
creation for bank accounts
- #785 Fix file uploads with nested params
- #784 Allow @types/node 8.1
- #780 Add new type for
TaxId
andsender_account_name
onSourceTransaction
- #777 Add support for
shipping[speed]
on IssuingCard
- #775 Gracefully handle a missing
subprocess
module
- #776 Add support for new
type
onCustomerTaxId
- #774 Improve docstrings for many properties and parameters
- #771 Add
metadata
on CheckoutSession
and remove deprecated features - #764 Added typescript webhook example
- #767 Adding missing events for pending updates on
Subscription
- #765 Add support for
pending_update
onSubscription
to the Typescript definitions
- #763 Add support for listing line items on a
CreditNote
- #762 Improve docs for core fields such as
metadata
on Typescript definitions
- #757 [bugfix] Add types dir to npmignore whitelist and stop warning when instantiating stripe with no args
Major version release, adding TypeScript definitions and dropping support for Node 6. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Major pull requests included in this release (cf. #742) (
- #736 Add TypeScript definitions
- #744 Remove deprecated resources and methods
- #752 Deprecate many library api's, unify others
- Identical to 7.15.0.
- Published in error. Do not use. This is identical to 8.122.0.
- #732 Add support for CreditNote preview
- #728 Remove duplicate export
- #703 New config object
- #724 Add support for
Mandate
- #719 Define 'type' as a property on errors rather than a getter
- #709 README: imply context of stripe-node
- #717 Contributor Convenant
- #699 Add request-specific fields from raw error to top level error
- #692 Retry based on
Stripe-Should-Retry
andRetry-After
headers
- #678 Add
subscriptionItems.createUsageRecord()
method
- #675 Remove subscription schedule revisions
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
- #674 Refactor requestDataProcessor for File out into its own file
- #673 Add request start and end time to request and response events
- #665 Remove
lodash.isplainobject
.
- #671 Include a prefix in generated idempotency keys and remove uuid dependency.
- #667 Refactor request headers, allowing any header to be overridden.
- #664 Expose and use
once
- #662 Remove
safe-buffer
dependency - #666 Bump lodash from 4.17.11 to 4.17.15
- #668 Move Balance History to /v1/balance_transactions
- #660 Interpret any string in args as API Key instead of a regex
⚠️ Careful: passing strings which are not API Keys as as the final argument to a request previously would have ignored those strings, and would now result in the request failing with an authentication error.⚠️ Careful: The private apiutils.isAuthKey
was removed.
- #658 Update README retry code sample to use two retries
- #653 Reorder customer methods
- #652 Add support for the
SetupIntent
resource and APIs
- #649 Enable request latency telemetry by default
- #608 Add support for
CustomerBalanceTransaction
resource and APIs
- #632 Add support for
radar.early_fraud_warning
resource
- #631 Make autopagination functions work for
listLineItems
andlistUpcomingLineItems
Major version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Pull requests included in this release (cf. #606) (
⚠️ Drop support for Node 4, 5 and 7 (#606)- Prettier formatting (#604)
- Alphabetize “basic” methods (#610)
- Use
id
for single positional arguments (#611) - Modernize ES5 to ES6 with lebab (#607)
⚠️ Remove deprecated methods (#613)- Add VSCode and EditorConfig files (#620)
⚠️ Drop support for Node 9 and bump dependencies to latest versions (#614)- Misc. manual formatting (#623)
⚠️ Remove legacy parameter support ininvoices.retrieveUpcoming()
(#621)⚠️ Remove curried urlData and manually specified urlParams (#625)- Extract resources file (#626)
- #622 Add support for the
Capability
resource and APIs
- #627 Add
listLineItems
andlistUpcomingLineItems
methods toInvoice
- #619 Move
generateTestHeaderString
to stripe.webhooks (fixes a bug in 6.33.0)
Important: This version is non-functional and has been yanked in favor of 6.32.0.
- #609 Add
generateWebhookHeaderString
to make it easier to mock webhook events
- #612 Add
balanceTransactions
resource
- #602 Handle errors from the oauth/token endpoint
- #600 Fix encoding of nested parameters in multipart requests
- #588 Add support for the
TaxRate
resource and APIs
- #589 Add support for the
TaxId
resource and APIs - #593
retrieveUpcoming
onInvoice
can now take one hash as parameter instead of requiring a customer id.
- #585 Add support for the
CreditNote
resource and APIs
- #570 Add support for the
PaymentMethod
resource and APIs - #578 Add support for retrieving a Checkout
Session
- #581 Add support for deleting Terminal
Location
andReader
- #580 Fix support for HTTPS proxies
- #574 Encode
Date
s as Unix timestamps
- #565 Always encode arrays as integer-indexed hashes
- #559 Add
stripe.setMaxNetworkRetries(n)
for automatic network retries
- #562 Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
- #560 Enable persistent connections by default
- #557 Add configurable telemetry to gather information on client-side request latency
- #555 Add support for OAuth methods
- #551 Rename
CheckoutSession
toSession
and move it under thecheckout
namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
- #552 Fix
Buffer
deprecation warnings
- #539 Add support for the
CheckoutSession
resource
- #535 Add support for account links
- #534 Fix iterating on
files.list
method
- #530 Export errors on root Stripe object
- #527 Add support for the
Review
APIs
- #515 Add support for
ValueLists
andValueListItems
for Radar
- #526 Fixes an accidental mutation of input in rare cases
- #523 Handle
Buffer
instances inWebhook.constructEvent
- #474 Add support for
partner_id
insetAppInfo
- #509 Add support for new
Invoice
methods
- #502 Fix test suite
- #498 Add support for Stripe Terminal
- #500 Rename
FileUploads
toFiles
. For backwards compatibility,Files
is aliased toFileUploads
.FileUploads
is deprecated and will be removed from the next major version.
- #496 Add auto-pagination
- #491 Add support for usage record summaries
- #493 Add support for reporting resources
- #488 Remove support for
BitcoinReceivers
write-actions
- #485 Add support for
cancel
on topups
- #483 Add support for file links
- #482 Add support for Sigma scheduled query runs
- #481 Add support for Stripe Issuing
- #471 Add support for streams in file uploads
- #475 Fixes array encoding of subscription items for the upcoming invoices endpoint.
- #473 Add support for payment intents
- #469 Add
.npmignore
to create a lighter package (minus examples and tests)
- #465 Warn when unknown options are passed to functions
- #453 Re-implement usage record's
create
so that it correctly passes all arguments (this is a very minor breaking change)
- #459 Export error types on
stripe.errors
so that errors can be matched withinstanceof
instead of comparing the strings generated bytype
- #456 Add support for issuer fraud records
- #444 Introduce flexible billing primitives for subscriptions
- #441 Write directly to a connection that's known to be still open
- #437 Fix error message when passing invalid parameters to some API methods
- #439 Drop Bluebird dependency and use native ES6 promises
- #425 Add support for topups
- #412 Add
StripeIdempotencyError
type for new kind of stripe error
- #405 Support for exchange rates APIs
- #404 Support for listing source transactions
- #394 Fix improper warning for requests that have options but no parameters
- Add check for when options are accidentally included in an arguments object
- Use safe-buffer package instead of building our own code
- Remove dependency on object-assign package
- Bump required versions of bluebird and qs
- Drop support for Node 0.x (minimum required version is now >= 4)
- Switch to Bearer token authentication on API requests
- Specify UTF-8 encoding when verifying HMAC-SHA256 payloads
- Support informational events with
Stripe.on
(see README for details)
- Handle
Buffer.from
incompatibility for Node versions prior to 4.5.x
- Properly encode subscription items when retrieving upcoming invoice
- Add support for ephemeral keys
- Fix usage of hasOwnProperty in utils
- Make response headers accessible on error objects
- Add support for account login links
- Add
stripe.setAppInfo
for plugin authors to register app information
- Tweak class initialization for compatibility with divergent JS engines
- Support for checking webhook signatures
- Reject ID parameters that don't look like strings
- Fix paths in error messages on bad arguments
- Add support for payouts
- Fix bad reference to
requestId
when initializing errors
- Make
requestId
available on resourcelastResponse
objects
- Update required version of "qs" dependency to 6.0.4+
- Add support for updating sources
- Add support for verifying sources
- Add retrieve method for 3-D Secure resources
- Support for 403 status codes (permission denied)
- Add support for Apple Pay domains
- Refactor deprecated uses of Bluebird's
Promise.defer
- URI-encode unames for Stripe user agents so we don't fail on special characters
- Add
Source
model for generic payment sources support (experimental)
- Add
ThreeDSecure
model for 3-D secure payments
- Add support for returning Relay orders
- Add
update
,create
,retrieve
,list
anddel
methods tostripe.subscriptions
- Add
reject
onAccount
to support the new API feature
- Add
CountrySpec
model for looking up country payment information
- Add support for deleting Relay SKUs and products
- Add
lastResponse
property onStripeResource
objects - Return usage errors of
stripeMethod
through callback instead of raising - Use latest year for expiry years in tests to avoid new year problems
- Add a verification routine for external accounts
- Remove ability for API keys to be passed as 1st param to acct.retrieve
- Rename StripeInvalidRequest to StripeInvalidRequestError
- Add Relay resources: Products, SKUs, and Orders
- Added rate limiting responses
- Added refund object with listing, retrieval, updating, and creation.
- Added managed account deletion
- Added dispute listing and retrieval
- Added request IDs to all Stripe errors
- [BUGFIX] Fixed issue with uploading binary files (Gabriel Chagas Marques)
- [BUGFIX] Fixed issue with passing arrays of objects
- Added support for optional parameters when retrieving an upcoming invoice (Matthew Arkin)
- Added support for bank accounts and debit cards in managed accounts
- Remove SSL revocation tests and check
- [BUGFIX] Fix support for both stripe.account and stripe.accounts
- Support transfer reversals.
- [BUGFIX] Fix passing in only a callback to the Account resource. (Matthew Arkin)
- Support BitcoinReceiver update & delete actions
- Add methods for manipulating customer sources as per 2015-02-18 API version
- The Account resource will now take an account ID. However, legacy use of the resource (without an account ID) will still work.
- [BUGFIX] Fix incorrect failing tests for headers support
- Update all dependencies (remove mocha-as-promised)
- Switch to bluebird for promises
- Support making bitcoin charges through BitcoinReceiver source object
- Adding file uploads as a resource.
- [BUGFIX] Fix issue where multiple expand params were not getting passed through (#130)
- (Version skipped due to npm mishap)
- [BUGFIX] Fix
stringifyRequestData
to deal with nested objs correctly - Bump MAJOR as we're no longer supporting Node 0.8
- Allow setting of HTTP agent (proxy) (issue #124)
- Add stack traces to all Stripe Errors
- Make application fee refunds a list instead of array
- [BUGFIX] Fix lack of subscription param in
invoices#retrieveUpcoming
method - Add support for an
optional!
annotation onurlParams
- Add metadata to disputes and refunds
- Support cards for recipients.
- Allow the
update
method on coupons for metadata changes
- [BUGFIX] Fix when.js version string in package.json to support older npm versions
- [BUGFIX] Fix revoked-ssl check
- Upgrade when.js to 3.1.0
- Ensure we prevent requests using revoked SSL certs
- Add better checks for incorrect arguments (throw exceptions accordingly).
- Validate the Connect Auth key, if passed
- [BUGFIX] Fix URL encoding issue (not encoding interpolated URL params, see issue #93)
- Add more debug information to the case of a failed
JSON.parse()
- Add binding for
transfers/{tr_id}/transactions
endpoint
- Ensure raw error object is accessible on the generated StripeError
- Support multiple subscriptions per customer
- [BUGFIX] Fix #76, pass latest as version to api & fix constructor arg signature
- Document cancelSubscription method params and add specs for
at_period_end
- Add application fees API
- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
- [BUGFIX] Fix user-agent header issue (see issue #75)
- Add support for setTimeout
- Add specs for invoice-item listing/querying via timestamp
- Support single key/value setting on setMetadata method
- [BUGFIX] Fix Windows url-path issue
- Add missing stripe.charges.update method
- Support setting auth_token per request (useful in Connect)
- Remove global 'resources' variable
- API overhaul and refactor, including addition of promises.
- Release of version 2.0.0
- Requests return Javascript Errors (Guillaume Flandre)
- Added events API (Jonathan Hollinger)
- Added plans update API (Pavan Kumar Sunkara)
- Various test fixes, node 0.8.x tweaks (Jan Lehnardt)
- Add Coupons API (Ryan)
- Pass a more robust error object to the callback (Ryan)
- Fix duplicate callbacks from some functions when called incorrectly (bug #24, reported by Kishore Nallan)
- Add APIs and tests for Plans and "Invoice Items" (both changes by Ryan Ettipio)
- Add Subscription API (John Ku, #3)
- Add Invoices API (Chris Winn, #6)
- [BUGFIX] Fix a bug where callback could be called twice, if the callback() threw an error itself (Peteris Krumins)
- [BUGFIX] Fix bug in tokens.retrieve API (Xavi)
- Change documentation links (Stripe changed their URL structure)
- Make tests pass again (error in callback is null instead of 0 if all is well)
- Amount in stripe.charges.refund is optional (Branko Vukelic)
- Various documentation fixes (Xavi)
- Only require node 0.4.0
- Add Charges API (issue #1, brackishlake)
- Add customers.list API
- Initial release with customers and tokens APIs