#mochihealth
1 messages · Page 1 of 1 (latest)
The default limit is 10, so 499/10 = ~50. If you wish to change to 5 calls, you may change the limit to 100: https://stripe.com/docs/api/promotion_codes/list#list_promotion_code-limit
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the limit is 100
thats the weird part
await stripe.promotionCodes.list({
limit: 100,
starting_after: a.data[a.data.length - 1].id,
});
?
What is variable a?