Update payAllInvoice api to specify paymentAmount