Skip to main content
POST
/
v3
/
metadata
/
doc
/
upload
cURL
curl --request POST \
  --url https://service-sandbox.tazapay.com/v3/metadata/doc/upload \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_name": "<string>"
}
'
""

Uploading to the Pre-signed URL

After calling this endpoint, you will receive a pre-signed URL in the response. Use this URL to upload your document via a PUT request.
Maximum file size is 50 MB.
curl -X PUT "https://your-presigned-url.s3.amazonaws.com/path?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..." \
  -H "Content-Type: application/pdf" \
  --upload-file /path/to/document.pdf
Set the Content-Type header to match your file type (e.g., application/pdf, image/png, image/jpeg).

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
file_name
string

Name of the file

Response

200 - application/json

OK