Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Verify_billing_info
Description
Contains the different functions to run the operation verify_billing_info
Synopsis
- verify_billing_info :: forall m. MonadHTTP m => Text -> Maybe BillingInfoVerify -> ClientT m (Response Verify_billing_infoResponse)
- data Verify_billing_infoResponse
- verify_billing_infoWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> Maybe BillingInfoVerify -> m (Response Verify_billing_infoResponse)
- verify_billing_infoRaw :: forall m. MonadHTTP m => Text -> Maybe BillingInfoVerify -> ClientT m (Response ByteString)
- verify_billing_infoWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> Maybe BillingInfoVerify -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> Maybe BillingInfoVerify | The request body to send |
-> ClientT m (Response Verify_billing_infoResponse) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/billing_info/verify
Verify an account's credit card billing information
data Verify_billing_infoResponse Source #
Represents a response of the operation verify_billing_info
.
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), Verify_billing_infoResponseError
is used.
Constructors
Verify_billing_infoResponseError String | Means either no matching case available or a parse error |
Verify_billing_infoResponse200 Transaction | Transaction information from verify. |
Verify_billing_infoResponse404 Error | Account has no billing information, or incorrect site or account ID. |
Verify_billing_infoResponse422 ErrorMayHaveTransaction | Invalid billing information, or error running the verification transaction. |
Verify_billing_infoResponseDefault Error | Unexpected error. |
Instances
Show Verify_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Verify_billing_info Methods showsPrec :: Int -> Verify_billing_infoResponse -> ShowS # show :: Verify_billing_infoResponse -> String # showList :: [Verify_billing_infoResponse] -> ShowS # | |
Eq Verify_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Verify_billing_info Methods (==) :: Verify_billing_infoResponse -> Verify_billing_infoResponse -> Bool # (/=) :: Verify_billing_infoResponse -> Verify_billing_infoResponse -> Bool # |
verify_billing_infoWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> Maybe BillingInfoVerify | The request body to send |
-> m (Response Verify_billing_infoResponse) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/billing_info/verify
The same as verify_billing_info
but accepts an explicit configuration.
verify_billing_infoRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> Maybe BillingInfoVerify | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/billing_info/verify
The same as verify_billing_info
but returns the raw ByteString
.
verify_billing_infoWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> Maybe BillingInfoVerify | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /accounts/{account_id}/billing_info/verify
The same as verify_billing_info
but accepts an explicit configuration and returns the raw ByteString
.