Added new api for outflow