Api change for paying all unpaid invoices