#alessandro_api
1 messages Β· Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- alessandro_api, 10 hours ago, 5 messages
π Welcome to your new thread!
β²οΈ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
β±οΈ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247259854179930164
π Have more to share? Add details, code, screenshots, videos, etc. below.
Hello, this info is on the account object. You can retrieve it or wait for an account.updated webhook event https://docs.stripe.com/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.
@obsidian pasture const account = await stripe.accounts.retrieve('acct_1Nv0FGQ9RKHgCVdK'); response doesn't contain name,
company,
street1,
city,
state,
zip,
country,
phone,
email, informations
I don't see any record of that info being added on the 17th. If you look at that account in the dashboard does it have that info?
When that data is populated, it should be in the company property on the Account object. You should be able to see it on a Custom account. Can you try onboarding a new account and retrieving it with that API call to see if this is just happening with that account or if it is a general issue for you? https://docs.stripe.com/api/accounts/object#account_object-company
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is that the summary page at the end of onboarding? Or some other page? If you submit those details do they show up on the account object when you retrieve them?
I also save the object in a database, but I don't see the address
this is the object, I'm in test mode
yes to your first question, no to your second question
Ah it looks like the info is getting saved on the person object. If you retrieve that you should be able to see it https://docs.stripe.com/api/persons/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.
I'm trying to list person but StripePermissionError: This application does not have the required permissions for this endpoint on account 'acct_1PNgSR045qrSroCu'.
I'm coming crazy
π
Does your other account have a person attached and if so can you retrieve it? acct_1Nv0FGQ9RKHgCVdK
We restrict some fields based on connect account type. That second account that you sent is an Express account, but the first account was a Custom account, which you should have more access to
same error
this is not my account acct_1Nv0FGQ9RKHgCVdK
My accounts are both Express accounts
Gotcha, that ID was in example code you sent earlier so I had assumed you had access.
So unfortunately I don't think you can retrieve the info that your users put in to your onboarding flow. A workaround may be to collect their address before you create the account and then supply it in your account creation call
onst account = await stripe.accounts.create({
type: 'express',
}); if a change type to custom i have a full control ?
I think you will be able to access Person objects but have not been able to test myself yet.
it works, but create other problem
I retrieve the custome address but, customers cannot access to their stripe account. Identity verification requirements are updated as laws and regulations change around the world. If youβre building your own onboarding flow to onboard accounts, you must plan on reviewing and updating onboarding requirements at least every six months.
too effort
π taking over for my teammate. Just to be clear, you mean you don't have sufficient developer resources to take on this responsibility?
Sure, I'm developing the marketplace on my own.
Retrieving the Seller's address is convenient because it allows for the creation of a shipment and the dynamic calculation of the shipping rate, but apparently, with express accounts, there are restrictions on retrieving this data.
Isn't there another way to retrieve the person's address using Express ?
No, this isn't possible. As Pompey mentioned, you could collect their address separately/using your own input form then pass the address when creating the Express account