如何在Stripe中自动分页

时间:2018-11-17 16:11:36

标签: node.js stripe-payments

我正在尝试在Stripe中自动分页。

我使用了API文档示例:

stripe.customers.list({limit: 3}).autoPagingEach(function(customer) {

  console.log(customer);

});

但这总是返回:

TypeError: stripe.customers.list(...).autoPagingEach is not a function

我在做什么错-为什么文档中的示例不起作用?

0 个答案:

没有答案