Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountReject
Synopsis
- postAccountsAccountReject :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountRejectRequestBody -> m (Either HttpException (Response PostAccountsAccountRejectResponse))
- postAccountsAccountRejectRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountRejectRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountRejectM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountRejectRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountRejectResponse))
- postAccountsAccountRejectRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountRejectRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountRejectRequestBody = PostAccountsAccountRejectRequestBody {}
- data PostAccountsAccountRejectResponse
Documentation
postAccountsAccountReject Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> PostAccountsAccountRejectRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountRejectResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/reject
<p>With <a href="/docs/connect">Connect</a>, you may flag accounts as suspicious.</p>
<p>Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.</p>
postAccountsAccountRejectRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountRejectRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/reject
The same as postAccountsAccountReject
but returns the raw ByteString
postAccountsAccountRejectM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountRejectRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountRejectResponse)) Source #
POST /v1/accounts/{account}/reject
Monadic version of postAccountsAccountReject
(use with runWithConfiguration
)
postAccountsAccountRejectRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountRejectRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/reject
Monadic version of postAccountsAccountRejectRaw
(use with runWithConfiguration
)
data PostAccountsAccountRejectRequestBody Source #
Defines the data type for the schema postAccountsAccountRejectRequestBody
PostAccountsAccountRejectRequestBody | |
|
data PostAccountsAccountRejectResponse Source #
Represents a response of the operation postAccountsAccountReject
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostAccountsAccountRejectResponseError
is used.
PostAccountsAccountRejectResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountRejectResponse200 Account | Successful response. |
PostAccountsAccountRejectResponseDefault Error | Error response. |