TAN api client written in PHP