stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteAccountsAccount

Description

Contains the different functions to run the operation deleteAccountsAccount

Synopsis

Documentation

deleteAccountsAccount Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

account | Constraints: Maximum length of 5000

-> ClientT m (Response DeleteAccountsAccountResponse)

Monadic computation which returns the result of the operation

DELETE /v1/accounts/{account}

<p>With <a href="/docs/connect">Connect</a>, you can delete accounts you manage.</p>

<p>Accounts created using test-mode keys can be deleted at any time. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.</p>

<p>If you want to delete your own account, use the <a href="https://dashboard.stripe.com/account">account information tab in your account settings</a> instead.</p>

data DeleteAccountsAccountResponse Source #

Represents a response of the operation deleteAccountsAccount.

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), DeleteAccountsAccountResponseError is used.

Constructors

DeleteAccountsAccountResponseError String

Means either no matching case available or a parse error

DeleteAccountsAccountResponse200 DeletedAccount

Successful response.

DeleteAccountsAccountResponseDefault Error

Error response.