Create risk api