Spellbook has secured $40 million in debt financing from RBCx, the technology and innovation banking arm of Royal Bank of Canada (RBC).