For the complete documentation index, see llms.txt. This page is also available as Markdown.

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