#dan_kres

1 messages · Page 1 of 1 (latest)

scarlet pastureBOT
simple salmon
mint scaffold
simple salmon
#

Checking..

#

You need to use ending_before and starting_after in order to filter

mint scaffold
#

ending_before and starting_after are used for pagination and they operate with transaction identifiers, but what I need - is a timeframe

simple salmon
#

Ah sorry I though you want to paginate the results

#

The params aren't query params

#

You need to pass them in x-www-form-urlencoded format

mint scaffold
#

I got the following response:

#

Request was in x-www-form-urlencoded format

simple salmon
#

Ok, let me do some tests...

mint scaffold
#

Yes, please

simple salmon
#

What SDK are you using exactly between ? or you wan to use curl ?

mint scaffold
#

curl

simple salmon
#

Try this request then:

curl -G https://api.stripe.com/v1/radar/early_fraud_warnings \
  -u "YOU_STRIPE_SECRET_KEY:" \
  -d limit=3 \
  -d created[gt]=1702374169 \
  -d created[lt]=1704879769 
mint scaffold
#

It worked out. Let me check if the warnings in response were truly filtered

#

It works, thank you! Ticket can be closed

scarlet pastureBOT