finish the checkout api and group create api