If a debtor owing money on a written security, pays or settles with another as agent, it is his duty, at his peril, to see that the person thus paid or settled with is in possession of the security. Corbett v. Weller, 27 Wash. 242, 67 P. 567. See also Sec. 353.