Skip to main content

Update invoice

PUT 

/api/v1/invoice-bulk-upload/:invoice_id

To update the invoice

🔋 Sample Request Payload

{
"merchantCode": "842217", // Pass merchant code
"amount" : "100.000", // Invoice amount
"name": "test", // customer amount
"email": "test@gmail.com", // customer email
"phone":"+96512345678", // customer mobile number
"reference_number": "12345555" // invoice ref number
}

🎯 Note: Payload must be encrypted before being sent to the server. To access the response data, decrypt it upon receiving the response from the server

⚡️ Payload Details

Fields NameDescriptionRequired
merchantCodePass the merchant code✅ Yes
amountPass the invoice amount✅ Yes
namePass the customer name✅ Yes
emailPass the customer email✅ Yes
phonePass the customer phone number✅ Yes
reference_numberPass the invoice reference number✅ Yes

Request

Responses

Invoice updated successfully. Decrypt the server response to view the result.