code: func (service *IYOPhonenumberValidationService) ConfirmRegistrationValidation(r *http.Request, key, code string) (err error) {
  	info, err := service.getPhonenumberValidationInformation(r, key)
  	if err != nil {
  		return
  	}
  	if info == nil {
  		err = ErrInvalidOrExpiredKey
  		return
  	}
  	if info.SMSCode != code {
  		err = ErrInvalidCode
  		return
  	}
  	return validation.NewManager(r).UpdatePhonenumberValidationInformation(key, true)
  }
docs: // ConfirmRegistrationValidation confirms a validation in the registartion flow. It does not add an entry in the validated
  // phone numbers collection