#tochinicky
1 messages · Page 1 of 1 (latest)
I think https://stripe.com/docs/identity/access-verification-results#images might what you're looking for?
its coming as a string
example? for instance it's probably a file_xxx and the docs do describe how to access those, or I can help
i can access it but i don't know how i can convert it to an image
can you say more? what do you mean by converting it to an image? what code do you have so far?
i can access the following
"selfie": {
"status": "verified",
"error": null,
"document": "file_Uzqa6yDvG8X9VKYKSflTmAPT",
"selfie": "file_nXO3opDbqKgO8Axvu2bEpybQ",
}
my issue is how can i view "selfie": "file_nXO3opDbqKgO8Axvu2bEpybQ", to see the image
https://stripe.com/docs/identity/access-verification-results#images
To access the contents of the file, you need to authenticate using the previously created restricted key and Create a FileLink with a short expiration and send the url to the client:
basically you make use of this API https://stripe.com/docs/api/file_links which takes a file_xxx ID and creates a link to access its contents
thanks, i will check it out