Vesicash API V1
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.
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.