| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.PostIssuingAuthorizationsAuthorization
Description
Contains the different functions to run the operation postIssuingAuthorizationsAuthorization
Synopsis
- postIssuingAuthorizationsAuthorization :: forall m. MonadHTTP m => Text -> Maybe PostIssuingAuthorizationsAuthorizationRequestBody -> ClientT m (Response PostIssuingAuthorizationsAuthorizationResponse)
- data PostIssuingAuthorizationsAuthorizationRequestBody = PostIssuingAuthorizationsAuthorizationRequestBody {}
- mkPostIssuingAuthorizationsAuthorizationRequestBody :: PostIssuingAuthorizationsAuthorizationRequestBody
- data PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
- data PostIssuingAuthorizationsAuthorizationResponse
Documentation
postIssuingAuthorizationsAuthorization Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Text | authorization | Constraints: Maximum length of 5000 |
| -> Maybe PostIssuingAuthorizationsAuthorizationRequestBody | The request body to send |
| -> ClientT m (Response PostIssuingAuthorizationsAuthorizationResponse) | Monadic computation which returns the result of the operation |
POST /v1/issuing/authorizations/{authorization}<p>Updates the specified Issuing <code>Authorization</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>
data PostIssuingAuthorizationsAuthorizationRequestBody Source #
Defines the object schema located at paths./v1/issuing/authorizations/{authorization}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.
Constructors
| PostIssuingAuthorizationsAuthorizationRequestBody | |
Fields
| |
Instances
mkPostIssuingAuthorizationsAuthorizationRequestBody :: PostIssuingAuthorizationsAuthorizationRequestBody Source #
Create a new PostIssuingAuthorizationsAuthorizationRequestBody with all required fields.
data PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/authorizations/{authorization}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.
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
| PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'EmptyString | Represents the JSON value |
| PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Object Object |
Instances
data PostIssuingAuthorizationsAuthorizationResponse Source #
Represents a response of the operation postIssuingAuthorizationsAuthorization.
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), PostIssuingAuthorizationsAuthorizationResponseError is used.
Constructors
| PostIssuingAuthorizationsAuthorizationResponseError String | Means either no matching case available or a parse error |
| PostIssuingAuthorizationsAuthorizationResponse200 Issuing'authorization | Successful response. |
| PostIssuingAuthorizationsAuthorizationResponseDefault Error | Error response. |