Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postTopupsTopupCancel
Synopsis
- postTopupsTopupCancel :: forall m. MonadHTTP m => Text -> Maybe PostTopupsTopupCancelRequestBody -> StripeT m (Response PostTopupsTopupCancelResponse)
- data PostTopupsTopupCancelRequestBody = PostTopupsTopupCancelRequestBody {}
- mkPostTopupsTopupCancelRequestBody :: PostTopupsTopupCancelRequestBody
- data PostTopupsTopupCancelResponse
Documentation
postTopupsTopupCancel Source #
:: forall m. MonadHTTP m | |
=> Text | topup | Constraints: Maximum length of 5000 |
-> Maybe PostTopupsTopupCancelRequestBody | The request body to send |
-> StripeT m (Response PostTopupsTopupCancelResponse) | Monadic computation which returns the result of the operation |
POST /v1/topups/{topup}/cancel
<p>Cancels a top-up. Only pending top-ups can be canceled.</p>
data PostTopupsTopupCancelRequestBody Source #
Defines the object schema located at paths./v1/topups/{topup}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostTopupsTopupCancelRequestBody | |
|
mkPostTopupsTopupCancelRequestBody :: PostTopupsTopupCancelRequestBody Source #
Create a new PostTopupsTopupCancelRequestBody
with all required fields.
data PostTopupsTopupCancelResponse Source #
Represents a response of the operation postTopupsTopupCancel
.
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), PostTopupsTopupCancelResponseError
is used.
PostTopupsTopupCancelResponseError String | Means either no matching case available or a parse error |
PostTopupsTopupCancelResponse200 Topup | Successful response. |
PostTopupsTopupCancelResponseDefault Error | Error response. |