get https://api.zenoti.com/v1/Catalog/Invoices//Cancel
This API helps you to cancel the payment transaction flow of your class booking.
You must specify appropriate data for the invoice_id
parameter in the API request.
Response Details
Name | Type | Description |
---|---|---|
success | boolean | If true, it indicates that the payment transaction flow of your class booking has been successfully canceled. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
error Object
code | error_message |
---|---|
502 | Invalid InvoiceId. |
502 | Invoice does not exist. |
4053 | Invoice could not be cancelled. |