Add support for paying invoices