| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId
Description
Contains the different functions to run the operation deleteAccountsAccountExternalAccountsId
Synopsis
- deleteAccountsAccountExternalAccountsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> m (Either HttpException (Response DeleteAccountsAccountExternalAccountsIdResponse))
- deleteAccountsAccountExternalAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> m (Either HttpException (Response ByteString))
- deleteAccountsAccountExternalAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountExternalAccountsIdResponse))
- deleteAccountsAccountExternalAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data DeleteAccountsAccountExternalAccountsIdRequestBody = DeleteAccountsAccountExternalAccountsIdRequestBody {
- data DeleteAccountsAccountExternalAccountsIdResponse
Documentation
deleteAccountsAccountExternalAccountsId Source #
Arguments
| :: (MonadHTTP m, SecurityScheme s) | |
| => Configuration s | The configuration to use in the request |
| -> String | account | Constraints: Maximum length of 5000 |
| -> String | id |
| -> DeleteAccountsAccountExternalAccountsIdRequestBody | The request body to send |
| -> m (Either HttpException (Response DeleteAccountsAccountExternalAccountsIdResponse)) | Monad containing the result of the operation |
DELETE /v1/accounts/{account}/external_accounts/{id}<p>Delete a specified external account for a given account.</p>
deleteAccountsAccountExternalAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/external_accounts/{id}The same as deleteAccountsAccountExternalAccountsId but returns the raw ByteString
deleteAccountsAccountExternalAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response DeleteAccountsAccountExternalAccountsIdResponse)) Source #
DELETE /v1/accounts/{account}/external_accounts/{id}Monadic version of deleteAccountsAccountExternalAccountsId (use with runWithConfiguration)
deleteAccountsAccountExternalAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> DeleteAccountsAccountExternalAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
DELETE /v1/accounts/{account}/external_accounts/{id}Monadic version of deleteAccountsAccountExternalAccountsIdRaw (use with runWithConfiguration)
data DeleteAccountsAccountExternalAccountsIdRequestBody Source #
Defines the data type for the schema deleteAccountsAccountExternalAccountsIdRequestBody
Instances
data DeleteAccountsAccountExternalAccountsIdResponse Source #
Represents a response of the operation deleteAccountsAccountExternalAccountsId.
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), DeleteAccountsAccountExternalAccountsIdResponseError is used.
Constructors
| DeleteAccountsAccountExternalAccountsIdResponseError String | Means either no matching case available or a parse error |
| DeleteAccountsAccountExternalAccountsIdResponse200 DeletedExternalAccount | Successful response. |
| DeleteAccountsAccountExternalAccountsIdResponseDefault Error | Error response. |