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 Name | Description | Required |
---|---|---|
merchantCode | Pass the merchant code | ✅ Yes |
amount | Pass the invoice amount | ✅ Yes |
name | Pass the customer name | ✅ Yes |
email | Pass the customer email | ✅ Yes |
phone | Pass the customer phone number | ✅ Yes |
reference_number | Pass the invoice reference number | ✅ Yes |
Request
Responses
- 200
- 404
- 500
Invoice updated successfully. Decrypt the server response to view the result.
Invoice details not found.
Internal Server Error – An unexpected error occurred on the server while processing the request. This may be due to a temporary issue or a server-side malfunction. Please try again later or contact support if the issue persists.