Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Create_account_external_account
Description
Contains the different functions to run the operation create_account_external_account
Synopsis
- create_account_external_account :: forall m. MonadHTTP m => Maybe ExternalAccountCreate -> ClientT m (Response Create_account_external_accountResponse)
- data Create_account_external_accountResponse
- = Create_account_external_accountResponseError String
- | Create_account_external_accountResponse200 ExternalAccount
- | Create_account_external_accountResponse404 Error
- | Create_account_external_accountResponse406 Error
- | Create_account_external_accountResponse422 Error
- | Create_account_external_accountResponseDefault Error
- create_account_external_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> Maybe ExternalAccountCreate -> m (Response Create_account_external_accountResponse)
- create_account_external_accountRaw :: forall m. MonadHTTP m => Maybe ExternalAccountCreate -> ClientT m (Response ByteString)
- create_account_external_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Maybe ExternalAccountCreate -> m (Response ByteString)
Documentation
create_account_external_account Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe ExternalAccountCreate | The request body to send |
-> ClientT m (Response Create_account_external_accountResponse) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/external_accounts
Create an external account
data Create_account_external_accountResponse Source #
Represents a response of the operation create_account_external_account
.
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), Create_account_external_accountResponseError
is used.
Constructors
Create_account_external_accountResponseError String | Means either no matching case available or a parse error |
Create_account_external_accountResponse200 ExternalAccount | A representation of the created external_account. |
Create_account_external_accountResponse404 Error | Incorrect account or external_account ID. |
Create_account_external_accountResponse406 Error | Unavailable API version |
Create_account_external_accountResponse422 Error | Feature not enabled on site |
Create_account_external_accountResponseDefault Error | Unexpected error. |
create_account_external_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe ExternalAccountCreate | The request body to send |
-> m (Response Create_account_external_accountResponse) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/external_accounts
The same as create_account_external_account
but accepts an explicit configuration.
create_account_external_accountRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Maybe ExternalAccountCreate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/external_accounts
The same as create_account_external_account
but returns the raw ByteString
.
create_account_external_accountWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Maybe ExternalAccountCreate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/external_accounts
The same as create_account_external_account
but accepts an explicit configuration and returns the raw ByteString
.