working on gateway capitalization api route