The application for such license shall be in writing under oath and shall contain the information required by and be in the form prescribed by the superintendent. As part of the application, the foreign banking corporation shall appoint the superintendent or his or her successor as agent for service of process in connection with any action or proceeding against the foreign banking corporation relating to any cause of action which may arise out of a transaction with its representative office, with the same force and effect as if it were a domestic corporation and had been lawfully served with process in this state. At the time of making such application, the applicant shall pay to the superintendent an investigation fee as prescribed pursuant to section eighteen-a of this chapter.
N.Y. BankingLaw § 221-C