Skip to main content

Upload Document

This API allows you to upload documents related to your payouts, which are required for validation and verification.

Endpoint : POST https://api.zamplabs.com/api/v1/documents/upload

Request Body

KeyValueDescriptionOptional
document_base64StringThis field will contain the base64 encoded value of the file (Max size of file 5Mb). Allowed file types are png, jpg, jpeg, pdfN

Request JSON Representation

{
"document_base64": "/9j/4AAQSkZJRgABAQA/...."
}

Response Body

KeyValueDescription
idStringId of the document uploaded

Response JSON Representation

{
"data": {
"id": "123123_oic9NU2giTSN7Y6AJ8fUtR_11_13"
}
}