#rarcif

1 messages · Page 1 of 1 (latest)

jolly thunderBOT
teal yarrow
raw terrace
#

For example in the following code:

await stripe.balanceTransactions
.list({ available_on: 1688083200 }

I'll get the results for a specific timestamp. How would I pass the range of two timestamps?

teal yarrow
#

Does this request work?

raw terrace
#

yes, but only for the specific timestamp. I actually have an additional object for stripeID but it is not relevant right now. I am trying to pass the range of timestamps on the field "available_on"

#

Would I pass it as an array with both timestams or?

teal yarrow
#
await stripe.balanceTransactions.list({ available_on: { gt: 1688083200, lt: x } }```
#

Might work

raw terrace
#

i see

#

let me check

jolly thunderBOT