#sapient_api

1 messages ยท Page 1 of 1 (latest)

pliant jacinthBOT
#

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

๐Ÿ“ 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.

worthy schooner
#

in test mode i have created one connect account using express method and account link is generated and also all details is fill up using link but in stripe dashboard show restricted status in generated account. why so ?

barren berry
worthy schooner
#

plz give me information in details

barren berry
#

what information are you looking for?

worthy schooner
#

which process i can do and remove restricted status to completed status ?

barren berry
worthy schooner
#

every time call this
const fp = fs.readFileSync('@/path/to/a/file.jpg');
const upload = await stripe.files.create({
file: {
data: fp,
name: 'file.jpg',
type: 'application.octet-stream',
},
purpose: 'dispute_evidence',
});

barren berry
#

why dispute_evidence? this has nothing to do with disputes right?

worthy schooner
#

when account link is created i fill up all the details which in require in this

#

till why showing restricted status and why don't changed status to completed ? please give me proper solution

#

i have use this code for link creation

const account = await stripe.accounts.create({
type: "express",
});
console.log("๐Ÿš€ ~ getAllFaqs: ~ account:", account);

  const accountLink = await stripe.accountLinks.create({
    account: account?.id,
    refresh_url: "https://example.com/reauth",
    return_url: "https://example.com/return",
    type: "account_onboarding",
  });
barren berry
#

you can inspect the account(via the API fields in the docs I linked above) to see exactly why and what information it's missing. I'd suggest starting there.

worthy schooner
#

in this require filed which file is ulpoaded and also in test mode it is require ?

barren berry
#

probably the issue is you uploaded a file with purpose: 'dispute_evidence' instead of the required identity_document ?

worthy schooner
#

dummy any file or photo is valid or not ?

barren berry
#

no, it has to be the "magic" file that is mentioned in those docs.