I am using Stripe with nodejs to get a list of say all the charges, with the total_count included in the results. I call it like this:
stripe.charges.list({include: ['total_count'] }, cb)
But I get the following error back from the API:
Unhandled rejection Error: Invalid array
(Leaving off the include parameter returns the results fine.)
Am I specifying the include parameter incorrectly?