#chocnut28

1 messages · Page 1 of 1 (latest)

stuck valeBOT
normal mulch
#

What do you mean by I'm doing an API call to charge the end-point

nimble zenith
#

sorry I was querying charge end-point

#

to retrieve data using chargeIds however I have 3k data

#

and I'm getting 429 response.

normal mulch
#

Yeah we have rate limits

nimble zenith
#

is there a solution to do an anternative query?

normal mulch
#

Why do you need to do that in the first place though?

nimble zenith
#

I'm investigating a payment transfer to check the 'destination' field was correct

#

on my initial query to the API I'm seeing 'null' values

#

and wanted to know how many of these are null

normal mulch
#

How are you querying charges exactly? Are you retrieving them by id individually?

nimble zenith
#

but can't complete since I'm rate limited

#

yes by ID

normal mulch
#

Oh don't do that

nimble zenith
#

reading on it thanks

normal mulch
#

That lists all charges

#

But if you have a list of charge id's and only want to query those, then you'll just need to add some sleep or delay in between each request to avoid rate limit

nimble zenith
#

I have a list of charges

#

so you mean to say given the list I can filter by id right?

normal mulch
#

No

#

If you only want to retrieve the ones in your list, then what you're currently doing is the best way

#

you'll just need to add some sleep or delay in between each request to avoid rate limit

nimble zenith
#

right

#

how long is the rate limit last?

#

I'm afraid to do a request since it might add more rate limit timing

normal mulch
nimble zenith
#

last question @normal mulch can Stripe help us to query it instead of us calling the API it's kinda urgent tho,

normal mulch
#

Not from here at least

#

You could write into support

#

But they'll take time to get back to you

#