refine cancel status api