setup checkout api routes