| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove
Description
Contains the different functions to run the operation postIssuingAuthorizationsAuthorizationApprove
Synopsis
- postIssuingAuthorizationsAuthorizationApprove :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> m (Either HttpException (Response PostIssuingAuthorizationsAuthorizationApproveResponse))
- postIssuingAuthorizationsAuthorizationApproveRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> m (Either HttpException (Response ByteString))
- postIssuingAuthorizationsAuthorizationApproveM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingAuthorizationsAuthorizationApproveResponse))
- postIssuingAuthorizationsAuthorizationApproveRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostIssuingAuthorizationsAuthorizationApproveRequestBody = PostIssuingAuthorizationsAuthorizationApproveRequestBody {
- postIssuingAuthorizationsAuthorizationApproveRequestBodyExpand :: Maybe ([] String)
- postIssuingAuthorizationsAuthorizationApproveRequestBodyHeldAmount :: Maybe Integer
- postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata :: Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
- data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf1
- data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2 = PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2 {
- data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
- = PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf1 PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf1
- | PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2 PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2
- data PostIssuingAuthorizationsAuthorizationApproveResponse
Documentation
postIssuingAuthorizationsAuthorizationApprove Source #
Arguments
| :: (MonadHTTP m, SecurityScheme s) | |
| => Configuration s | The configuration to use in the request |
| -> String | authorization | Constraints: Maximum length of 5000 |
| -> PostIssuingAuthorizationsAuthorizationApproveRequestBody | The request body to send |
| -> m (Either HttpException (Response PostIssuingAuthorizationsAuthorizationApproveResponse)) | Monad containing the result of the operation |
POST /v1/issuing/authorizations/{authorization}/approve<p>Approves a pending Issuing <code>Authorization</code> object.</p>
postIssuingAuthorizationsAuthorizationApproveRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/authorizations/{authorization}/approveThe same as postIssuingAuthorizationsAuthorizationApprove but returns the raw ByteString
postIssuingAuthorizationsAuthorizationApproveM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostIssuingAuthorizationsAuthorizationApproveResponse)) Source #
POST /v1/issuing/authorizations/{authorization}/approveMonadic version of postIssuingAuthorizationsAuthorizationApprove (use with runWithConfiguration)
postIssuingAuthorizationsAuthorizationApproveRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/issuing/authorizations/{authorization}/approveMonadic version of postIssuingAuthorizationsAuthorizationApproveRaw (use with runWithConfiguration)
data PostIssuingAuthorizationsAuthorizationApproveRequestBody Source #
Defines the data type for the schema postIssuingAuthorizationsAuthorizationApproveRequestBody
Constructors
| PostIssuingAuthorizationsAuthorizationApproveRequestBody | |
Fields
| |
Instances
data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf1 Source #
Defines the enum schema postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf1
Constructors
Instances
data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2 Source #
Defines the data type for the schema postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'OneOf2
Instances
data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants Source #
Define the one-of schema postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Constructors
Instances
data PostIssuingAuthorizationsAuthorizationApproveResponse Source #
Represents a response of the operation postIssuingAuthorizationsAuthorizationApprove.
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), PostIssuingAuthorizationsAuthorizationApproveResponseError is used.
Constructors
| PostIssuingAuthorizationsAuthorizationApproveResponseError String | Means either no matching case available or a parse error |
| PostIssuingAuthorizationsAuthorizationApproveResponse200 Issuing'authorization | Successful response. |
| PostIssuingAuthorizationsAuthorizationApproveResponseDefault Error | Error response. |