ApiAccount class completed