Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getSetupIntentsIntent
Synopsis
- getSetupIntentsIntent :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> m (Either HttpException (Response GetSetupIntentsIntentResponse))
- getSetupIntentsIntentRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> m (Either HttpException (Response ByteString))
- getSetupIntentsIntentM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetSetupIntentsIntentResponse))
- getSetupIntentsIntentRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetSetupIntentsIntentRequestBody = GetSetupIntentsIntentRequestBody {
- data GetSetupIntentsIntentResponse
Documentation
getSetupIntentsIntent Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | client_secret: The client secret of the SetupIntent. Required if a publishable key is used to retrieve the SetupIntent. |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | intent | Constraints: Maximum length of 5000 |
-> GetSetupIntentsIntentRequestBody | The request body to send |
-> m (Either HttpException (Response GetSetupIntentsIntentResponse)) | Monad containing the result of the operation |
GET /v1/setup_intents/{intent}
<p>Retrieves the details of a SetupIntent that has previously been created. </p>
<p>Client-side retrieval using a publishable key is allowed when the <code>client_secret</code> is provided in the query string. </p>
<p>When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the <a href="#setup_intent_object">SetupIntent</a> object reference for more details.</p>
getSetupIntentsIntentRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/setup_intents/{intent}
The same as getSetupIntentsIntent
but returns the raw ByteString
getSetupIntentsIntentM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetSetupIntentsIntentResponse)) Source #
GET /v1/setup_intents/{intent}
Monadic version of getSetupIntentsIntent
(use with runWithConfiguration
)
getSetupIntentsIntentRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> GetSetupIntentsIntentRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/setup_intents/{intent}
Monadic version of getSetupIntentsIntentRaw
(use with runWithConfiguration
)
data GetSetupIntentsIntentRequestBody Source #
Defines the data type for the schema getSetupIntentsIntentRequestBody
data GetSetupIntentsIntentResponse Source #
Represents a response of the operation getSetupIntentsIntent
.
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), GetSetupIntentsIntentResponseError
is used.
GetSetupIntentsIntentResponseError String | Means either no matching case available or a parse error |
GetSetupIntentsIntentResponse200 SetupIntent | Successful response. |
GetSetupIntentsIntentResponseDefault Error | Error response. |