stripeapi-1.0.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

:: forall m. MonadHTTP m 
=> Text

account | Constraints: Maximum length of 5000

-> PostAccountsAccountRejectRequestBody

The request body to send

-> StripeT m (Response PostAccountsAccountRejectResponse)

Monadic computation which returns 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 object schema located at paths./v1/accounts/{account}/reject.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

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.