stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostRadarValueLists

Description

Contains the different functions to run the operation postRadarValueLists

Synopsis

Documentation

postRadarValueLists Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> PostRadarValueListsRequestBody

The request body to send

-> m (Either HttpException (Response PostRadarValueListsResponse))

Monad containing the result of the operation

POST /v1/radar/value_lists

<p>Creates a new <code>ValueList</code> object, which can then be referenced in rules.</p>

postRadarValueListsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostRadarValueListsRequestBody -> m (Either HttpException (Response ByteString)) Source #

POST /v1/radar/value_lists

The same as postRadarValueLists but returns the raw ByteString

data PostRadarValueListsRequestBody Source #

Defines the data type for the schema postRadarValueListsRequestBody

Constructors

PostRadarValueListsRequestBody 

Fields

data PostRadarValueListsRequestBodyItemType' Source #

Defines the enum schema postRadarValueListsRequestBodyItem_type'

Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, or `case_sensitive_string`. Use `string` if the item type is unknown or mixed.

data PostRadarValueListsRequestBodyMetadata' Source #

Defines the data type for the schema postRadarValueListsRequestBodyMetadata'

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

data PostRadarValueListsResponse Source #

Represents a response of the operation postRadarValueLists.

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), PostRadarValueListsResponseError is used.

Constructors

PostRadarValueListsResponseError String

Means either no matching case available or a parse error

PostRadarValueListsResponse200 Radar'valueList

Successful response.

PostRadarValueListsResponseDefault Error

Error response.