recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Verify_billing_info_cvv

Description

Contains the different functions to run the operation verify_billing_info_cvv

Synopsis

Documentation

verify_billing_info_cvv 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 BillingInfoVerifyCVV

The request body to send

-> ClientT m (Response Verify_billing_info_cvvResponse)

Monadic computation which returns the result of the operation

POST /accounts/{account_id}/billing_info/verify_cvv

Verify an account's credit card billing cvv

data Verify_billing_info_cvvResponse Source #

Represents a response of the operation verify_billing_info_cvv.

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_info_cvvResponseError is used.

Constructors

Verify_billing_info_cvvResponseError String

Means either no matching case available or a parse error

Verify_billing_info_cvvResponse200 Transaction

Transaction information from verify.

Verify_billing_info_cvvResponse422 ErrorMayHaveTransaction

Invalid billing information, or error running the verification transaction.

Verify_billing_info_cvvResponse429 Error

Over limit error. A credit card can only be checked 3 times in 24 hours.

Verify_billing_info_cvvResponseDefault Error

Unexpected error.

verify_billing_info_cvvWithConfiguration 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 BillingInfoVerifyCVV

The request body to send

-> m (Response Verify_billing_info_cvvResponse)

Monadic computation which returns the result of the operation

POST /accounts/{account_id}/billing_info/verify_cvv

The same as verify_billing_info_cvv but accepts an explicit configuration.

verify_billing_info_cvvRaw 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 BillingInfoVerifyCVV

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_cvv

The same as verify_billing_info_cvv but returns the raw ByteString.

verify_billing_info_cvvWithConfigurationRaw 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 BillingInfoVerifyCVV

The request body to send

-> m (Response ByteString)

Monadic computation which returns the result of the operation

POST /accounts/{account_id}/billing_info/verify_cvv

The same as verify_billing_info_cvv but accepts an explicit configuration and returns the raw ByteString.