Updated to allow calling the statement page via the API