Uploads
Upload user documents
STAGING_URL: https://switch-api-staging.herokuapp.com
LIVE_URL: https://switchapi.azurewebsites.netUpload
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"message": "File uploaded successfully",
"data": {
"file_url": "/switchcontainer/some_passport.jpg",
"full_file_url": "https://someplace/some_passport.jpg"
}
}{
"message": "You need to specify what file you are uploading. Available options are photo_id or image_selfie or signature"
}Last updated
Was this helpful?