onInvoiceClosed

fun WebApp.onInvoiceClosed(eventHandler: InvoiceClosedEventHandler): (InvoiceClosedInfo) -> Unit

Return

The callback which should be used in case you want to turn off events handling