#pritam-sarbajna_api

1 messages · Page 1 of 1 (latest)

stone cragBOT
#

👋 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.

nimble grove
#

hi there!

lusty flint
#

Hi, Hope you are doing well. Just confused on this one. Let me know if you need any context.

nimble grove
#

The flow for connect is:

  1. create the account
  2. provide KYC info like name/address/DOB/tax ID/social security number
  3. if Stripe can’t verify the person from that information, then we ask for a document verification
lusty flint
nimble grove
lusty flint
#

In response when I am getting this verification.document, I am sending the document

#

I uploaded failed test png still it accepted

nimble grove
#

In response when I am getting this verification.document
what does that mean exactly? is this in the requirements object?

#

can you share the connected account ID (acct_xxx)?

lusty flint
lusty flint
#

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'
  ]
}
nimble grove
#

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

lusty flint
nimble grove
#

so yuor question is not about the account itself, but the person object?

stone cragBOT
lusty flint
simple pond
#

👋 taking over for my colleague. Let me catch up.

lusty flint
#

Hi @simple pond, thank you in advance

simple pond
#

sorry I still didn't get the time to go through your question.

#

would you mind reformulating your ask? I'm having trouble understand what are you really trying to achieve?