Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountsAccount
Synopsis
- deleteAccountsAccount :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountsAccountRequestBody -> m (Either HttpException (Response DeleteAccountsAccountResponse))
- deleteAccountsAccountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountsAccountRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountsAccountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountResponse))
- deleteAccountsAccountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountsAccountRequestBody = DeleteAccountsAccountRequestBody {
- data DeleteAccountsAccountResponse
Documentation
deleteAccountsAccount Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> DeleteAccountsAccountRequestBody | The request body to send |
-> m (Either HttpException (Response DeleteAccountsAccountResponse)) | Monad containing the result of the operation |
DELETE /v1/accounts/{account}
<p>With <a href="/docs/connect">Connect</a>, you can delete Custom or Express accounts you manage.</p>
<p>Accounts created using test-mode keys can be deleted at any time. 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>
deleteAccountsAccountRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeleteAccountsAccountRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}
The same as deleteAccountsAccount
but returns the raw ByteString
deleteAccountsAccountM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountResponse)) Source #
DELETE /v1/accounts/{account}
Monadic version of deleteAccountsAccount
(use with runWithConfiguration
)
deleteAccountsAccountRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> DeleteAccountsAccountRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}
Monadic version of deleteAccountsAccountRaw
(use with runWithConfiguration
)
data DeleteAccountsAccountRequestBody Source #
Defines the data type for the schema deleteAccountsAccountRequestBody
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.
DeleteAccountsAccountResponseError String | Means either no matching case available or a parse error |
DeleteAccountsAccountResponse200 DeletedAccount | Successful response. |
DeleteAccountsAccountResponseDefault Error | Error response. |