#pedropereira-CLI-list-refunds
1 messages ยท Page 1 of 1 (latest)
Thanks...
So when you use created you can specify created.gt or created.lt as we show in the API Ref: https://stripe.com/docs/api/refunds/list#list_refunds-created-gt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
let's check it
I've already tried that... doesn't work. My command: stripe refunds list --created.gt=1652371475
any hint?
Ahh okay looks like this is a little different for the CLI
I hadn't played with this exact command before
But if you do stripe refunds list --help
Then it shows that you want --ending-before or --starting-after
yeah... I'm trying to figure what the syntax is.
--ending-before is not a date...
That is for a specific refund ID
yeah
Okay yeah give me a moment
appreciate it.
I figured it...
the syntax is stripe refunds list -d "created[gt]=1652371475"
Ah nice
lol it was all you ๐
But happy to be a sounding board
Let me know if I can help with anything else
Talk to someone helps to clarify the mind ๐