stripe-node
                                
                                
                                
                                    stripe-node copied to clipboard
                            
                            
                            
                        Node.js library for the Stripe API.
The API docs do not indicate that it should be possible for an invoice to have a `null` status, but the typings indicate that this is possibe: https://stripe.com/docs/api/invoices/object#invoice_object-status https://github.com/stripe/stripe-node/blob/09e0dcc60a8e3f5cae81b4f3c8681861fa2a6781/types/2020-08-27/Invoices.d.ts#L136 Golang...
We have been using this package for a long time, but we noticed that some Typescript types are missing, more specifically - confirming the "card" payment intents by [following this...
Node Version: 13.9.0 Stripe Version: 8.76.0 The Typescript definition for `FileCreateParams` in `Files.d.ts` appears to be incomplete. Source: ``` interface FileCreateParams {} ```
in the api doc `state` parameter defaults to `read_only` https://stripe.com/docs/connect/oauth-reference#get-authorize-request and in this library `state` defaults to `read_write` https://github.com/stripe/stripe-node/blob/07281ccd7244c2a2491fa307614b6c62630d19c0/lib/resources/OAuth.js#L31-L33 I can easily create pull request for this code, but maybe...
I am making the following call: ```ts const args = { "business_profile": { "headline": "Column PBC" }, "features": { "customer_update": { "enabled": "false", "allowed_updates": [] }, "invoice_history": { "enabled": "true"...
I try to execute stripe.oauth after create a Connect Account and at the Callback URL. However, the error I got back was "StripeAPIError: Invalid JSON received from the Stripe API"...
I would be great to do this: ```js const customers = await stripe.customers.retrieve(['cus_12391239', 'cus_12392239']) ``` Instead of this: ```js const customers = await Promise.all([ stripe.customers.retrieve('cus_12391239'), stripe.customers.retrieve('cus_12392239') ]) ```
## Changes made Adds the `requestOptions` parameter to the `Stripe` class constructor and `makeRequest` function. Can be used to send additional params to the `https.request()` function call, which cannot be...
This PR adds `null` to type definition of `tiers` in `Plan` and removes the ability for `tiers` to be `undefined`. ### Issue The type definition for the payload delivered for...
[Posted as a question on Stack Overflow before](https://stackoverflow.com/questions/60792285/stripe-typescript-types-affecting-tsc-build-performance?noredirect=1#comment107571423_60792285) Since our TypeScript build was taking longer than expected for initial builds, I included `incremental: true` in `tsconfig.json` so that a `tsconfig.tsbuildinfo`...