#pritam-sarbajna_api
1 messages · Page 1 of 1 (latest)
👋 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/1391745589355745320
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- pritam-sarbajna_api, 4 days ago, 7 messages
hi there!
Hi, Hope you are doing well. Just confused on this one. Let me know if you need any context.
The flow for connect is:
- create the account
- provide KYC info like name/address/DOB/tax ID/social security number
- if Stripe can’t verify the person from that information, then we ask for a document verification
Yeah that's my flow. In the last step I am checking in the response if it needs the document. If yes then only I am collecting it.
in your case, you just need to check the requirements object on the connected account to see if any information is missing or not. you can learn more about thie here: https://docs.stripe.com/connect/handling-api-verification#determine-if-verification-is-needed
In response when I am getting this verification.document, I am sending the document
I uploaded failed test png still it accepted
In response when I am getting this verification.document
what does that mean exactly? is this in therequirementsobject?
can you share the connected account ID (acct_xxx)?
acct_1RiD9MIO2B6OZeKk
When I am using stripe.accounts.createPerson
Code :
const person = await stripe.accounts.createPerson(account.id, personData);
console.log("=== PERSON CREATED SUCCESSFULLY ===");
console.log(`Person ID: ${person.id}`);
console.log("Person requirements:", person.requirements);
console.log("===================================");
// Store person ID for potential document upload
createdPersonId = person.id;
Response in Terminal
=== PERSON CREATED SUCCESSFULLY ===
Person ID: person_1RiD9PIO2B6OZeKk2LstPunH
Person requirements: {
alternatives: [],
currently_due: [],
errors: [],
eventually_due: [],
past_due: [],
pending_verification: [
'address.city',
'address.line1',
'address.postal_code',
'address.state',
'verification.document'
]
}
checking the last account.updated event evt_1RiDA8IO2B6OZeKkId192eIV, I see:
requirements: {
alternatives: [],
current_deadline: null,
currently_due: [],
disabled_reason: null,
errors: [],
eventually_due: [],
past_due: [],
pending_verification: []
},
so it meanst there's no information missing for that account
Then when I am making a person and attaching it, I am getting this
so yuor question is not about the account itself, but the person object?
yes I thought its related
👋 taking over for my colleague. Let me catch up.
Hi @simple pond, thank you in advance