Cancel the payment transaction of a class booking

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

NameTypeDescription
successbooleanIf true, it indicates that the payment transaction flow of your class booking has been successfully canceled.
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codeerror_message
502Invalid InvoiceId.
502Invoice does not exist.
4053Invoice could not be cancelled.
Language
Authorization
Header
Click Try It! to start a request and see the response here!