#Bo0013246

1 messages · Page 1 of 1 (latest)

subtle pecanBOT
keen minnow
modest viper
#

ty

#

which id should I use as my starting_after id?

keen minnow
#

The last one from the previous request

modest viper
keen minnow
#

The docs show how it works

#

You can use the ID for the last event in the list you already received as your starting_after ID or you can use the auto-pagniation feature of the Stripe libraries

modest viper
#

➜ stripe-sample-code stripe events list --type=payment_intent.created -d "created[gte]=1687469570" -d "created[lte]=1688656888" --limit 1 --starting_after=evt_3NQtzoIKbnQP38U1039rOXUR
unknown flag: --starting_after
➜ stripe-sample-code

#

I am getting an error

#

}% ➜ stripe-sample-code stripe events list --type=payment_intent.created -d "created[gte]=1687469570" -d "created[lte]=1688656888" --limit 1 --starting-after=evt_3NQtzoIKbnQP38U1039rOXUR

#

I got it

#

nvm

#

misspelled

keen minnow
#

This looks just like garbled text to me, I don't see what you are trying to do

modest viper
#

}% ➜ stripe-sample-code stripe events list --type=payment_intent.created -d "created[gte]=1687469570" -d "created[lte]=1688656888" --limit 1 --starting-after=evt_3NQtzoIKbnQP38U1039rOXUR

#

how about now?

#

can you show me how to use autopaginate?

keen minnow
#

You need to use a Stripe client library like stripe-node or stripe-python

#

It isn't a feature of the CLI