#hiru99-bank account

1 messages ยท Page 1 of 1 (latest)

scenic dragon
#

๐Ÿ‘‹ happy to help

#

could you please clarify what you're trying to achieve

hearty crescent
#

i want to create stripe.files.create api so in that we compulsory stored file in local and send you path or can i do it directly without storing file in local

#

?

scenic dragon
hearty crescent
#

in that we need to pass file path in api without pass this can we do it? any solution for that available?

scenic dragon
#

what language are you using?

hearty crescent
#

nodeJs

scenic dragon
#

instead of using fs.readFileSync you could receive the file from your front-end as multipart/form-data and send it directly to Stripe using the file field

hearty crescent
#

can you please share the example code.

scenic dragon
#

this is not Stripe related

#

you could search for how to receive files on Nodejs on the internet

hearty crescent
#

okay thanks

scenic dragon
#

let me know if you need any more help

hearty crescent
#

i am creating this api for android so can i manage on that directly upload document

#

?

scenic dragon
#

oh yes you can manage to upload a file directly from your Android SDK

#

there's an example in the doc I sent you earlier