stripe-node
stripe-node copied to clipboard
Node.js library for the Stripe API.
### Describe the bug When you try to retrieve a list of products via the `products.list()` function, and you add an `ids` parameter whose array size is larger than the...
When you know that it is card and you need to receive a card object - you can not pass Stripe.Card type to createSource method. Unfortunately, I have to time...
### Is your feature request related to a problem? Please describe. Working with multiple currencies is difficult since there are zero decimal currencies. We have to create and calculate the...
### Is your feature request related to a problem? Please describe. I'm using koa js framework and i don't find solution for parsing body in raw mode. ### Describe the...
Hi all, I'm not so sure of the best way to reach out about a feature request so let me know if there is better. I've noticed you bumped the...
On the official API documentation, `net` on a `BalanceTransaction` is documented as being in cents: https://stripe.com/docs/api/balance_transactions/object?lang=node#balance_transaction_object-net But in the TypeScript definitions for this library it's documented as percents: https://github.com/stripe/stripe-node/blob/9bab8b6e4d20b13c7135232456f1d1e894b1e49d/types/2020-08-27/BalanceTransactions.d.ts#L58-L61
Hi! The description of `fee` and `fee_details` is wrong. It is actually in cents not in % liked mentioned. See https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee https://github.com/stripe/stripe-node/blob/451533a273a417373b1cf320ee4d7e057c6dc3f6/types/2020-08-27/BalanceTransactions.d.ts#L49-L52 https://github.com/stripe/stripe-node/blob/451533a273a417373b1cf320ee4d7e057c6dc3f6/types/2020-08-27/BalanceTransactions.d.ts#L54-L57
### Describe the bug `Invoice.d.ts` is missing payment methods on the type [`PaymentMethodType`](https://github.com/stripe/stripe-node/blob/master/types/2020-08-27/Invoices.d.ts#L733). From the docs - [Invoice API Docs](https://stripe.com/docs/api/invoices/object#invoice_object-payment_settings-payment_method_types) - `eps` and `p24` payment methods are missing on type...
In customer creation, the line1 parameter of the address property is optional according to the documentation. Here, it is currently acting as a required field. The change was made to...
Not too important, but it would be nice if this type: https://github.com/stripe/stripe-node/blob/02da7dc2c5edae280aaf5e3566f3b7b383024371/types/2020-03-02/Events.d.ts#L52 is strongly typed with all possible events. This would help catch bugs within switch statements or other logic...