#shreyasb_api

1 messages ¡ Page 1 of 1 (latest)

frozen oysterBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1380605631936991312

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

rare blade
#

Could you also share the request ID that was working in test?

wide lagoon
#

req_plgMYT93DkGId3

rare blade
#

In https://docs.stripe.com/api/treasury/inbound_transfers/list?api-version=2025-05-28.basil&rds=1, created is not a supported parameter for GET /v1/treasury/inbound_transfers

#

They are two different API endpoints. Different API endpoints have different specifications

wide lagoon
#

sorry, let me get a 1:1 comparison

#

req_cYacaeYzQowynk

rare blade
#

The request bodies were different between test and live mode

wide lagoon
#

That's so odd -- is there a chance it would be omitted in test if it isn't supported

rare blade
#

Test:

{
  financial_account: "fa_1Oi6faQ36IMi5Yw6UmUOY8Rw",
  limit: "100",
  status: "succeeded",
}

Live:

{
  created: {
    gte: 
"1749096613"
,
  },
  financial_account: "fa_1QUDqjPqGqjCMv4pEsGWwSNv",
  limit: "100",
  status: "succeeded",
}

The issue here was with created parameter that isn't supported in GET /v1/treasury/inbound_transfers endpoint

wide lagoon
#

because it's the same code that i'm running

rare blade
#

is there a chance it would be omitted in test if it isn't supported
Not really from the SDK level. I'd recommend removing created parameter from your integration

wide lagoon
#

gotcha -- makes sense

#

is there any way to filter by created?

#

seems like v2 supports it

rare blade
#

is there any way to filter by created?
Unfortunately not for this specific /v1/treasury/inbound_transfers endpoint

#

The only way is to list all and filter in your system

wide lagoon
#

perfect -- thanks so much for the help!