Update open invoice
PUT/api/v1/open-invoice/:object_id
To update the open invoice expiry date
🔋 Sample Request Payload
{
"merchantCode": "842217", // Pass merchant code
"expiryDate": "2025-01-05" // "YYYY-MM-DD"
}
🎯 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 |
expiryDate | Pass the expiry date YYYY-MM-DD | ✅ Yes |
📌 Path parameters details
Field Name | Description | Required |
---|---|---|
object_id | Pass the id field number from invoice object | ✅ 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.