stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountsAccountReject

Description

Contains the different functions to run the operation postAccountsAccountReject

Synopsis

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>

data PostAccountsAccountRejectRequestBody Source #

Defines the data type for the schema postAccountsAccountRejectRequestBody

Constructors

PostAccountsAccountRejectRequestBody 

Fields

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.