Calling /commit endpoint