Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postChargesChargeRefundsRefund
Synopsis
- postChargesChargeRefundsRefund :: forall m. MonadHTTP m => PostChargesChargeRefundsRefundParameters -> Maybe PostChargesChargeRefundsRefundRequestBody -> StripeT m (Response PostChargesChargeRefundsRefundResponse)
- data PostChargesChargeRefundsRefundParameters = PostChargesChargeRefundsRefundParameters {}
- mkPostChargesChargeRefundsRefundParameters :: Text -> Text -> PostChargesChargeRefundsRefundParameters
- data PostChargesChargeRefundsRefundRequestBody = PostChargesChargeRefundsRefundRequestBody {}
- mkPostChargesChargeRefundsRefundRequestBody :: PostChargesChargeRefundsRefundRequestBody
- data PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
- data PostChargesChargeRefundsRefundResponse
Documentation
postChargesChargeRefundsRefund Source #
:: forall m. MonadHTTP m | |
=> PostChargesChargeRefundsRefundParameters | Contains all available parameters of this operation (query and path parameters) |
-> Maybe PostChargesChargeRefundsRefundRequestBody | The request body to send |
-> StripeT m (Response PostChargesChargeRefundsRefundResponse) | Monadic computation which returns the result of the operation |
POST /v1/charges/{charge}/refunds/{refund}
<p>Update a specified refund.</p>
data PostChargesChargeRefundsRefundParameters Source #
Defines the object schema located at paths./v1/charges/{charge}/refunds/{refund}.POST.parameters
in the specification.
PostChargesChargeRefundsRefundParameters | |
|
mkPostChargesChargeRefundsRefundParameters Source #
Create a new PostChargesChargeRefundsRefundParameters
with all required fields.
data PostChargesChargeRefundsRefundRequestBody Source #
Defines the object schema located at paths./v1/charges/{charge}/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostChargesChargeRefundsRefundRequestBody | |
|
Instances
mkPostChargesChargeRefundsRefundRequestBody :: PostChargesChargeRefundsRefundRequestBody Source #
Create a new PostChargesChargeRefundsRefundRequestBody
with all required fields.
data PostChargesChargeRefundsRefundRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/charges/{charge}/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
in the specification.
PostChargesChargeRefundsRefundRequestBodyMetadata'EmptyString | Represents the JSON value |
PostChargesChargeRefundsRefundRequestBodyMetadata'Object Object |
Instances
data PostChargesChargeRefundsRefundResponse Source #
Represents a response of the operation postChargesChargeRefundsRefund
.
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), PostChargesChargeRefundsRefundResponseError
is used.
PostChargesChargeRefundsRefundResponseError String | Means either no matching case available or a parse error |
PostChargesChargeRefundsRefundResponse200 Refund | Successful response. |
PostChargesChargeRefundsRefundResponseDefault Error | Error response. |