Upload Document
This API is designed for uploading documents to be digitally stamped with eMeterai. Users have the flexibility to specify the exact page and location on the page where the eMeterai will be applied.
POST /api/v1/emeterai/upload
Headers
Authorization*
String
Bearer <Token received from Authentication>
X-PARTNER-ID*
String
client_id
Request Body
codeDocument*
String
The code representing the document type, obtained from the 'Get Document Type' API.
page*
String
The specific page number within the document where the stamp is to be applied.
llx*
String
The X-coordinate of the lower-left corner for the stamp's placement on the page.
lly*
String
The Y-coordinate of the lower-left corner for the stamp's placement on the page.
refNum*
String
A unique UUID that references this particular stamping transaction.
document*
String
The actual document content, encoded in base64 format, to be stamped.
{
"responseCode": 200,
"message": "Upload Success",
"refNum": "8cb2ba9b-2431-4342-817c-98db02dbebc3",
"refund_status": "NOT_REFUNDED",
"data": null
}{
"responseCode": 20,
"status": "ERROR",
"message": "{document=document Not Empty & base64}",
"refNum": ""
}Last updated
