Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postIssuingAuthorizationsAuthorizationApprove
Synopsis
- postIssuingAuthorizationsAuthorizationApprove :: forall m. MonadHTTP m => Text -> Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ClientT m (Response PostIssuingAuthorizationsAuthorizationApproveResponse)
- data PostIssuingAuthorizationsAuthorizationApproveRequestBody = PostIssuingAuthorizationsAuthorizationApproveRequestBody {
- postIssuingAuthorizationsAuthorizationApproveRequestBodyAmount :: Maybe Int
- postIssuingAuthorizationsAuthorizationApproveRequestBodyExpand :: Maybe [Text]
- postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata :: Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
- mkPostIssuingAuthorizationsAuthorizationApproveRequestBody :: PostIssuingAuthorizationsAuthorizationApproveRequestBody
- data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
- data PostIssuingAuthorizationsAuthorizationApproveResponse
Documentation
postIssuingAuthorizationsAuthorizationApprove Source #
:: forall m. MonadHTTP m | |
=> Text | authorization | Constraints: Maximum length of 5000 |
-> Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBody | The request body to send |
-> ClientT m (Response PostIssuingAuthorizationsAuthorizationApproveResponse) | Monadic computation which returns the result of the operation |
POST /v1/issuing/authorizations/{authorization}/approve
<p>Approves a pending Issuing <code>Authorization</code> object. This request should be made within the timeout window of the <a href="/docs/issuing/controls/real-time-authorizations">real-time authorization</a> flow.</p>
data PostIssuingAuthorizationsAuthorizationApproveRequestBody Source #
Defines the object schema located at paths./v1/issuing/authorizations/{authorization}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostIssuingAuthorizationsAuthorizationApproveRequestBody | |
|
Instances
mkPostIssuingAuthorizationsAuthorizationApproveRequestBody :: PostIssuingAuthorizationsAuthorizationApproveRequestBody Source #
Create a new PostIssuingAuthorizationsAuthorizationApproveRequestBody
with all required fields.
data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/authorizations/{authorization}/approve.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`.
PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'EmptyString | Represents the JSON value |
PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Object Object |
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.
PostIssuingAuthorizationsAuthorizationApproveResponseError String | Means either no matching case available or a parse error |
PostIssuingAuthorizationsAuthorizationApproveResponse200 Issuing'authorization | Successful response. |
PostIssuingAuthorizationsAuthorizationApproveResponseDefault Error | Error response. |