Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type SetPassportDataErrors = "setPassportDataErrors" :> (RequiredQueryParam "user_id" UserId :> (RequiredQueryParam "errors" [PassportElementError] :> Get '[JSON] (Response Bool)))
- setPassportDataErrors :: UserId -> [PassportElementError] -> ClientM (Response Bool)
Methods
setPassportDataErrors
type SetPassportDataErrors = "setPassportDataErrors" :> (RequiredQueryParam "user_id" UserId :> (RequiredQueryParam "errors" [PassportElementError] :> Get '[JSON] (Response Bool))) Source #
setPassportDataErrors :: UserId -> [PassportElementError] -> ClientM (Response Bool) Source #
Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.