Fix issues with invoices in rev1
Revert changes to API hostname