#jnoconor
1 messages ยท Page 1 of 1 (latest)
Hello! Can you give me an example request ID where you don't see external_accounts? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Sure, here is one: req_F9Lsyvv49IJbKl
Is the external_accounts property in the response missing entirely, or is it present but empty?
It's missing entirely
Ah, it's your API version. You made that request with API version 2015-04-07 but the external_accounts property only exists in 2015-10-01 and later.
Oh interesting
Here's another request with a newer version of the API: req_jGA4AdDOm4liK7. Still no external_accounts (or bank_accounts) field
These are test mode requests, not sure how much that makes a difference. I will say that I haven't seen this issue in production, so maybe it explains a lot
That one should have had it. Can you provide the JSON you got back in that request?
Hm, let me see if I can reproduce on my end...
That's strange. email is also missing. Basically stuff that starts with an e is missing? You're certain you're not filtering them out somehow?
Like if you make this request directly with a curl command instead do you see the same thing?
Hm. Give me a few minutes to investigate further...
Ah, okay, I totally forgot about this: we don't return PII in test mode. You're trying to fetch these accounts in test mode, so we're not surfacing the sensitive details. If you made these requests with a live key you should see these properties.
Ah, another interesting detail. However, here is a payload with email and external_accounts with the same key:
Ahh, okay, I guess that explains it. Thanks
Happy to help! Sorry I forgot about the live/test thing with sensitive fields. ๐