stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetIssuingCardsCardPin

Description

Contains the different functions to run the operation getIssuingCardsCardPin

Synopsis

Documentation

getIssuingCardsCardPin Source #

Arguments

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

The configuration to use in the request

-> Text

card | Constraints: Maximum length of 5000

-> Maybe Text

expand: Specifies which fields in the response should be expanded.

-> Text

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

-> Maybe GetIssuingCardsCardPinRequestBody

The request body to send

-> m (Either HttpException (Response GetIssuingCardsCardPinResponse))

Monad containing the result of the operation

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

<p>Retrieves the PIN for a card object, subject to cardholder verification, see <a href="/docs/issuing/pin_management">Retrieve and update cardholder PIN</a></p>

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

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

The same as getIssuingCardsCardPin but returns the raw ByteString

data GetIssuingCardsCardPinResponse Source #

Represents a response of the operation getIssuingCardsCardPin.

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

Constructors

GetIssuingCardsCardPinResponseError String

Means either no matching case available or a parse error

GetIssuingCardsCardPinResponse200 Issuing'cardPin

Successful response.

GetIssuingCardsCardPinResponseDefault Error

Error response.