N.Y. Uniform Commercial Code § 9-409
Section 9--409. Restrictions on Assignment of Letter-of-credit Rights Ineffective.
(a) Term or law restricting assignment generally ineffective. A term in a letter-of-credit or a rule of law, statute, regulation, custom, or practice applicable to the letter of credit which prohibits, restricts, or requires the consent of an applicant, issuer, or nominated person to a beneficiary's assignment of or creation of a security interest in a letter-of-credit right is ineffective to the extent that the term or rule of law, statute, regulation, custom, or practice:
(b) Limitation on ineffectiveness under subsection (a). To the extent that a term in a letter-of-credit is ineffective under subsection (a) but would be effective under law other than this article or a custom or practice applicable to the letter-of-credit, to the transfer of a right to draw or otherwise demand performance under the letter-of-credit, or to the assignment of a right to proceeds of the letter-of-credit, the creation, attachment, or perfection of a security interest in the letter-of-credit right: