Vesicash API V1
Search
⌃K

Uploading Files

Uploading Files

Sometimes, customers may want to upload files to accompany a transaction they're creating or as part of the account verification documents. Using this endpoint allows a customer upload such file to our storage system and then return the file url which can be further sent to the transaction creation endpoint to save the file alongside the other transaction details or the account verification endpoint . Files in this endpoint are photos .png, .jpg, .jpeg and documents .pdf, .doc, .docx, .xls.
post
https://api.vesicash.com/v1
/upload/file
Upload a file
This endpoint accepts only form request, not json data.
Send a form post request to this endpoint, passing in an array of form parameters files. For example, the image below shows how to upload multiple files using a form post data:
The response is shown below:
The urls in the response data can then be sent to the transaction endpoint when creating a transaction that requires file upload.