Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postIssuingCardsCardPin
Synopsis
- postIssuingCardsCardPin :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostIssuingCardsCardPinRequestBody -> m (Either HttpException (Response PostIssuingCardsCardPinResponse))
- postIssuingCardsCardPinRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostIssuingCardsCardPinRequestBody -> m (Either HttpException (Response ByteString))
- postIssuingCardsCardPinM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingCardsCardPinRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingCardsCardPinResponse))
- postIssuingCardsCardPinRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingCardsCardPinRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostIssuingCardsCardPinRequestBody = PostIssuingCardsCardPinRequestBody {}
- data PostIssuingCardsCardPinRequestBodyVerification' = PostIssuingCardsCardPinRequestBodyVerification' {}
- data PostIssuingCardsCardPinResponse
Documentation
postIssuingCardsCardPin Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | 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 -> String -> PostIssuingCardsCardPinRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/cards/{card}/pin
The same as postIssuingCardsCardPin
but returns the raw ByteString
postIssuingCardsCardPinM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingCardsCardPinRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingCardsCardPinResponse)) Source #
POST /v1/issuing/cards/{card}/pin
Monadic version of postIssuingCardsCardPin
(use with runWithConfiguration
)
postIssuingCardsCardPinRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingCardsCardPinRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/cards/{card}/pin
Monadic version of postIssuingCardsCardPinRaw
(use with runWithConfiguration
)
data PostIssuingCardsCardPinRequestBody Source #
Defines the data type for the schema postIssuingCardsCardPinRequestBody
PostIssuingCardsCardPinRequestBody | |
|
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
PostIssuingCardsCardPinRequestBodyVerification' | |
|
Instances
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.
PostIssuingCardsCardPinResponseError String | Means either no matching case available or a parse error |
PostIssuingCardsCardPinResponse200 Issuing'cardPin | Successful response. |
PostIssuingCardsCardPinResponseDefault Error | Error response. |