stripe-charges
A Stripe charges API for node - get a time based overview of how much you're making.
Installation
$ npm install stripe-charges
Example
Query charges by their created
date:
var query = 'stripe-key' ;
The resulting charges
object lets you further learn manipulate the charges.
Number of Charges
Get the number of charges returned:
charges;
or filter further inside the cohort by the charges' created
date:
charges;
Charges List
charges
[
{
amount: 2900,
customer: 'cus_2983jd92d2d',
..
},
]
or filter further by the charges' created
date:
charges;
or get all the refunded
charges:
charges;
Total Amount
You can get the total amount of money made from the charges:
charges
License
MIT