stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostReviewsReviewApprove

Description

Contains the different functions to run the operation postReviewsReviewApprove

Synopsis

Documentation

postReviewsReviewApprove Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

review | Constraints: Maximum length of 5000

-> Maybe PostReviewsReviewApproveRequestBody

The request body to send

-> StripeT m (Response PostReviewsReviewApproveResponse)

Monadic computation which returns the result of the operation

POST /v1/reviews/{review}/approve

<p>Approves a <code>Review</code> object, closing it and removing it from the list of reviews.</p>

data PostReviewsReviewApproveRequestBody Source #

Defines the object schema located at paths./v1/reviews/{review}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostReviewsReviewApproveRequestBody 

Fields

data PostReviewsReviewApproveResponse Source #

Represents a response of the operation postReviewsReviewApprove.

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), PostReviewsReviewApproveResponseError is used.

Constructors

PostReviewsReviewApproveResponseError String

Means either no matching case available or a parse error

PostReviewsReviewApproveResponse200 Review

Successful response.

PostReviewsReviewApproveResponseDefault Error

Error response.