#NO ONE - identity docs
1 messages · Page 1 of 1 (latest)
I wish I could help, but this chat is focused on developers and technical questions. WE don't really handle identity verification. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I am trying it through api
@minor sluice
https://stripe.com/docs/connect/identity-verification-api#verification-process
I am using this api and inside path I am paasing url for a doc
I don't think that will work but have you been successful when testing?
nope thats why I am here so we cant pass link in that path parameter ?
I am pretty sure it needs to be an in-memory file object that is transmitted in the POST request
coz it is throwing me error that no such file or path exist
Yeah. It's expecting a file
any other way I can achieve this coz I need to automate this verification process
@minor sluice
Can you show me the API call you are making, with the parameters you are passing in?
I cant show you that but just consider I am passing an image link instead of path inside fs.ReadFileSync
const stripe = require('stripe')(..);
const fs = require('fs');
const file = await stripe.files.create({
purpose: 'identity_document',
file: {
data: fs.readFileSync('***HERE I AM PASSING A LINK***),
name: 'file_name.jpg',
type: 'application/octet-stream',
},
}, {
stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
});
Yes the problem I am seeing here is I don't think that valid approach, per our API docs here: https://stripe.com/docs/api/files/create
I think this also similar api but still I will check