Skip to main content

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 NameDescriptionRequired
merchantCodePass the merchant code✅ Yes
statusIdPass 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

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