#notdpr_api

1 messages ยท Page 1 of 1 (latest)

warm gorgeBOT
#

๐Ÿ‘‹ 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/1354189637400138008

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dry basalt
#

Hi, I do not have access to the reponse as we do not store those. Can you share the response you get here from that request? Please redact any sensetive information as this is a public forum.

cursive prawn
#

That might be from a different example account, but same result

dry basalt
#

The account looks to be an 'individual'. Did you recieve this field before for this business type?

#

When did you notice this? What did it work last?

warm gorgeBOT
dry basalt
#

It does not look like the connected accoutn has any product_description at least, instead they provided their website.

cursive prawn
#

My read of the API docs would imply that in that case, the field would exist with a null value.

I've never looked before. We're engaged with another Stripe team and they said that we need to be setting both the url and the product_description in our connect accounts

#

(null value, like with other fields that are empty)

dry basalt
#

I'm trying to look what I get on my end

#

I get the same:

business_profile: {
annual_revenue: null,
estimated_worker_count: null,
mcc: '5691',
name: 'Express Test',
support_address: null,
support_email: null,
support_phone: null,
support_url: null,
url: 'www.linkedin.com'
},
business_type: 'individual',

#

That is for Express account and if I mase the same request on a Custom Account:

business_profile: {
annual_revenue: null,
estimated_worker_count: null,
mcc: '5734',
name: null,
product_description: null,
support_address: null,
support_email: null,
support_phone: null,
support_url: null,
url: 'thisismyurl.com'
},
business_type: 'individual',

pallid gyro
#

Hi hi! Iโ€™m going to be taking over for my colleague here; can you please summarize your issue/question for me?

cursive prawn
#

Hi, sure...

#

The API docs for Account retrieve seem to be misleading or incorrect. They indicate a business_profile.product_description field is available, even if null. But that field is not in any response I've seen yet

#

(our connect accounts are of the express flavor)

pallid gyro
#

If it's not there, then it's null. Ruby isn't a strongly typed language so I'm not sure what exactly the difference makes from an implementation perspective; can you help me understand the issue that's blocking you?

cursive prawn
#

Hmm. Forgetting the language for a minute, that isn't a very satisfying answer ๐Ÿ™‚ The cURL example similarly has no field. From my memory this isn't how the api normally behaves... the field is there, but will be null.

Its a question of whether the api is working properly. I guess I need to find an example account that I know has a product_description and confirm it is returned. I just don't have such an account in hand, so will need to search for one (we have 200k connect accounts)

curl -H "Stripe-Version: 2025-02-24.acacia" https://api.stripe.com/v1/accounts/acct_1LDujiS28cIztfbM -u "key"
pallid gyro
#

I hear you. It's also possible this isn't a field that's available on/for Express accounts, but that usually shows up in the docs.

#

I'm just testing this on a test account right now.

pallid gyro
#

I'm getting the object full of nulls for all of my test requests, so I'm not really sure what happened for you there.

Do you want to run the request again and give me the Request ID (from the response headers)?

cursive prawn
#

It was mentioned above... stripe doesn't store the response for GET request? So will be be available?

pallid gyro
#

It doesn't, but I can look and see if I see anything weird in the process.

If you use curl you'll get the raw body response instead of an object representation.

cursive prawn
#

Ok, I'll rerun the curl

pallid gyro
#

One sec.

warm gorgeBOT
cursive prawn
#

Just in case you want another data point. In the test mode stripe, I've gone through the stripe hosted connect account setup as "business" and filled in a product description. When I retrieve that account, there is no product description. Here is the curl:

curl -H "Stripe-Version: 2025-02-24.acacia" https://api.stripe.com/v1/accounts/acct_1R6fkwS16MLvL5sA

Again, this one is in test mode (the others were production)

pallid gyro
#

Ok this is fun. I haven't found an answer yet, but I'm not done trying.

cursive prawn
#

Thank you!

pallid gyro
#

controller.requirement_collection = "stripe"

That means that Stripe deals with the KYC stuff for those accounts, and I believe that means you don't get access to some of that information (despite it not being noted in the docs explicitly).

#

Right now I'm not sure what else this might be.

warm gorgeBOT
halcyon helm
#

๐Ÿ‘‹ Taking over this thread, catching up now