#nei3rd-connect
1 messages · Page 1 of 1 (latest)
hello @median lava
data item >>> acct_id, name, phone
data like acct_xxx, name, phone
You have the Account API!
Use Retrieve here: https://stripe.com/docs/api/accounts/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, I went this documentation
thing is, out of the json response, I'm trying to "pick-out" the acct_xxx, name, phone
I went to this*
how do I selectively pick-out specific data
select specifically acct_xxx or phone or name
I am not sure what do you mean by pick-out ?
In the response you received, you can tweak/filter the data as far as you want
how do I filter?
how do I filter at the instance my code will be fetching the data?
rather than tweak/filter after receiving the json response?
Ah I see. Unfortunately we don't have a parameter to filter directly when calling the API
noted on this,.....though I see that with stripe.Customer.list, it has stripe_list.data[0]
Customer.list has filtering capability but Account has none?
Customer.list only has the ability to filter by email. But yes it's per-API
Do I understand it correctly, that by per-API, you mean capabilities vary for this 2 types of similar API's. And that for the case of Account, it can not filter even by email?
that the stripe_list.data[0] capability is not across all API?
Yes
no way...
surely api calls to Account could also be filtered
@median lava , I understand this might be a hassle on your end--excuse my persistence if it will be so, but for this issue may I humbly request that you confirm this first
I think Stripe US could have already made this capability be true for this types of API
Thank you for asking nicely. Per API Reference, all parameters listed here is what you can use: https://stripe.com/docs/api/accounts/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I mean, you are always free to build a custom filter on your end, after receiving these response, aren't you?