N.Y. Insurance Law § 6507
(d) Where a mortgage insurer cedes any insurance to a mortgage insurer not licensed under this article or an insurer that insures or reinsures other lines of insurance in addition to mortgage guaranty insurance, in order for the mortgage insurer to receive credit for such reinsurance as an asset or as a reduction from liabilities, including its contingency reserve liability, in its financial statements, such assuming insurer must maintain a surplus to policyholders of at least thirty-five million dollars and the following must occur;
(5) the reinsurance agreement must provide that: