#hamza-Connect

1 messages · Page 1 of 1 (latest)

hallow lark
#

Hi there, how can I help?

main snow
#

hi.. im trying to create stripe custom connect account for uae , so stripe need passport file, so how do i upload passport file to that create account api

#

in stipe documentation

pine quiver
#

Hi! I'm taking over Jack Tan.

#

Have you tried making an API call? Did you get an error?

main snow
#

if you see the requirements.currently_due

pine quiver
#

Can you please share the request ID? Also, if there's no error, what is the issue?

main snow
#

createObject {
country: 'AE',
email: 'as@add.com',
type: 'custom',
business_type: 'company',
business_profile: {
support_phone: '+971543877816',
url: 'https://sigmads.com/',
mcc: '7299',
product_description: 'asdasd'
},
tos_acceptance: { date: 1647335508, ip: '::1' },
company: {
name: 'asdasd',
structure: 'sole_establishment',
tax_id: '12312da3312ee443',
vat_id: 1231,
executives_provided: true,
address: {
city: 'dubai',
line1: 'asdas',
line2: 'asdasd',
postal_code: '12345',
state: 'AE'
},
verification: { document: [Object] },
phone: '+971543877816'
},
documents: { company_license: { files: [Array] } },
requested_capabilities: [ 'transfers', 'card_payments' ]
}

that data is pass to this api Stripe.accounts.create(createObject, (error, account) => {}

#

so my main question is how to properly add files in object documents: { company_license: { files: [Array] } ,

pine quiver
#

I'm not sure to understand your issue. could you share a request ID or an error message?
Also you mentioned in your first message stripe.accounts.create(), but your screenshot of the documentation is for stripe.accounts.createPerson(). So can you clarify exactly what you are trying to do, and the problem you are facing?

main snow
main snow
#

as in first screen shoot that was for that how can we send a files field in in stripe.accounts.create() ,

pine quiver
main snow
#

yes

#

i am haivng issue here

#

i am sharing request and response objeect

#

request

#

{
"country": "AE",
"email": "mailto:as@add.com",
"type": "custom",
"business_type": "company",
"business_profile": {
"support_phone": "+971543877816",
"url": "https://sigmads.com/",
"mcc": "7299",
"product_description": "asdasd"
},
"tos_acceptance": {
"date": "1647335508",
"ip": "::1"
},
"company": {
"name": "asdasd",
"structure": "sole_establishment",
"tax_id": "************",
"vat_id": "
",
"executives_provided": "true",
"address": {
"city": "dubai",
"line1": "asdas",
"line2": "asdasd",
"postal_code": "12345",
"state": "AE"
},
"verification": {
"document": {
"front": "file_1KdWPnJGKCM9YwnSNNc0tqej"
}
},
"phone": "+971543877816"
},
"documents": {
"company_license": {
"files": {
"0": "file_1KbhRMJGKCM9YwnS2ZgwNnox",
"1": "file_1KbhRMJGKCM9YwnS2ZgwNnot"
}
}
},
"requested_capabilities": {
"0": "transfers",
"1": "card_payments"
}
}

#

response

#

also in the request i am adding the files which were upload on the first request but still in the response they are due

#

can you please check and let me know

neat ermine
#

Hey, taking over from @pine quiver here. Can you outline the issue please?

main snow
#

yea.. actually im creating account custom connect account with stripe.accounts.create() api , the account is been created and got response status 200 ,

#

createObject {
country: 'AE',
email: 'as@add.com',
type: 'custom',
business_type: 'company',
business_profile: {
support_phone: '+971543877816',
url: 'https://sigmads.com/',
mcc: '7299',
product_description: 'asdasd'
},
tos_acceptance: { date: 1647335508, ip: '::1' },
company: {
name: 'asdasd',
structure: 'sole_establishment',
tax_id: '12312da3312ee443',
vat_id: 1231,
executives_provided: true,
address: {
city: 'dubai',
line1: 'asdas',
line2: 'asdasd',
postal_code: '12345',
state: 'AE'
},
verification: { document: [Object] },
phone: '+971543877816'
},
documents: { company_license: { files: [Array] } },
requested_capabilities: [ 'transfers', 'card_payments' ]
}

the object for creating account is that , if you see im sending documents: { company_license: { files: [Array] } ,like that but its still show in requirements due!

neat ermine
#

You need to work through providing the other requirements, too

#

Also, the verification process is asynchronous. It's not instantaneous so you the documents won't be verified immediately on creation

main snow
#

can you please create curl test request which have documents file like (documents.company_license)

neat ermine
#

I can't write code for you, no