mollie / mollie-api-node

Official Mollie API client for Node
http://www.mollie.com
BSD 3-Clause "New" or "Revised" License
237 stars 63 forks source link

Unable to set count on payments.all #37

Closed woutersm closed 6 years ago

woutersm commented 6 years ago

Hi there,

I'm unable to change the count param on the payments.all, whatever I do I always get back a maximum of 10 payments.

mollie.payments.all((payments) => {
  console.log(payments);
}, {count: 20});

According to this api doc, I should be able to set it, any idea why it isn't working?

dabroek commented 6 years ago

Hi Wouter,

This functionality is available in our next branch. You can install this package using npm install mollie-api-node@next. Hope that helps!

vernondegoede commented 6 years ago

We just released v2 of our official Node API client, which comes with improved pagination and multicurrency support.

To install:

yarn add @mollie/api-client

Check out our migration guide for a complete overview of the changes.