stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostIssuingCardsCardPin

Description

Contains the different functions to run the operation postIssuingCardsCardPin

Synopsis

Documentation

postIssuingCardsCardPin Source #

Arguments

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

The configuration to use in the request

-> Text

card | Constraints: Maximum length of 5000

-> PostIssuingCardsCardPinRequestBody

The request body to send

-> m (Either HttpException (Response PostIssuingCardsCardPinResponse))

Monad containing the result of the operation

POST /v1/issuing/cards/{card}/pin

<p>Updates the PIN for a card, subject to cardholder verification. See <a href="/docs/issuing/pin_management">Retrieve and update cardholder PIN</a></p>

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

POST /v1/issuing/cards/{card}/pin

The same as postIssuingCardsCardPin but returns the raw ByteString

data PostIssuingCardsCardPinRequestBody Source #

Defines the data type for the schema postIssuingCardsCardPinRequestBody

Constructors

PostIssuingCardsCardPinRequestBody 

Fields

data PostIssuingCardsCardPinRequestBodyVerification' Source #

Defines the data type for the schema postIssuingCardsCardPinRequestBodyVerification'

The id of the `Verification` that was sent and the code entered by the cardholder

Constructors

PostIssuingCardsCardPinRequestBodyVerification' 

Fields

data PostIssuingCardsCardPinResponse Source #

Represents a response of the operation postIssuingCardsCardPin.

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

Constructors

PostIssuingCardsCardPinResponseError String

Means either no matching case available or a parse error

PostIssuingCardsCardPinResponse200 Issuing'cardPin

Successful response.

PostIssuingCardsCardPinResponseDefault Error

Error response.