stripe-node icon indicating copy to clipboard operation
stripe-node copied to clipboard

Documentation discrepancy between official documentation and types

Open LinusU opened this issue 5 years ago • 1 comments

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

LinusU avatar Sep 14 '20 08:09 LinusU

@LinusU Thanks for reaching out. This is unfortunately a known bug we hope to fix in the future. Going to tag as future

remi-stripe avatar Sep 14 '20 15:09 remi-stripe

This is now fixed

pakrym-stripe avatar Aug 08 '23 19:08 pakrym-stripe