Cancel invoice

cancelInvoice(invoice, "https://embed-sandbox.clinch.gg");

If on the host application you need to cancel the payment, for example from a user action, us the cancelInvoice function on the SDK