api.setaccoint -> api.setaccount (fixes typo)