Cancel split invoice
PUT/api/v1/invoice/:Invoice-Token
To cancel the split invoice
🔋 Sample Request Payload
{
"merchantCode": "842217", // Pass merchant code
"statusId": "3" // "3" for cancelling the invoice
}
🎯 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 |
statusId | Pass the status code "3" to cancel the invoice | ✅ Yes |
📌 Path parameters details
Field Name | Description | Required |
---|---|---|
InvoiceToken | Pass the token from invoice object | ✅ Yes |
Request
Responses
- 200
- 404
- 500
Invoice cancelled 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.