stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostRadarValueLists

Description

Contains the different functions to run the operation postRadarValueLists

Synopsis

Documentation

postRadarValueLists Source #

Arguments

:: forall m. MonadHTTP m 
=> PostRadarValueListsRequestBody

The request body to send

-> ClientT m (Response PostRadarValueListsResponse)

Monadic computation which returns 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>

data PostRadarValueListsRequestBody Source #

Defines the object schema located at paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostRadarValueListsRequestBody 

Fields

data PostRadarValueListsRequestBodyItemType' Source #

Defines the enum schema located at paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.item_type in the specification.

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.

Constructors

PostRadarValueListsRequestBodyItemType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostRadarValueListsRequestBodyItemType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostRadarValueListsRequestBodyItemType'EnumCardBin

Represents the JSON value "card_bin"

PostRadarValueListsRequestBodyItemType'EnumCardFingerprint

Represents the JSON value "card_fingerprint"

PostRadarValueListsRequestBodyItemType'EnumCaseSensitiveString

Represents the JSON value "case_sensitive_string"

PostRadarValueListsRequestBodyItemType'EnumCountry

Represents the JSON value "country"

PostRadarValueListsRequestBodyItemType'EnumEmail

Represents the JSON value "email"

PostRadarValueListsRequestBodyItemType'EnumIpAddress

Represents the JSON value "ip_address"

PostRadarValueListsRequestBodyItemType'EnumString

Represents the JSON value "string"

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.