| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.PostAccountsAccountReject
Description
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 #
Arguments
| :: (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}/rejectThe 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}/rejectMonadic 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}/rejectMonadic version of postAccountsAccountRejectRaw (use with runWithConfiguration)
data PostAccountsAccountRejectRequestBody Source #
Defines the data type for the schema postAccountsAccountRejectRequestBody
Constructors
| PostAccountsAccountRejectRequestBody | |
Fields
| |
Instances
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.
Constructors
| PostAccountsAccountRejectResponseError String | Means either no matching case available or a parse error |
| PostAccountsAccountRejectResponse200 Account | Successful response. |
| PostAccountsAccountRejectResponseDefault Error | Error response. |