stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostBillingPortalSessions

Description

Contains the different functions to run the operation postBillingPortalSessions

Synopsis

Documentation

postBillingPortalSessions Source #

Arguments

:: forall m. MonadHTTP m 
=> PostBillingPortalSessionsRequestBody

The request body to send

-> ClientT m (Response PostBillingPortalSessionsResponse)

Monadic computation which returns the result of the operation

POST /v1/billing_portal/sessions

<p>Creates a session of the customer portal.</p>

data PostBillingPortalSessionsRequestBody Source #

Defines the object schema located at paths./v1/billing_portal/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostBillingPortalSessionsRequestBody 

Fields

data PostBillingPortalSessionsResponse Source #

Represents a response of the operation postBillingPortalSessions.

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

Constructors

PostBillingPortalSessionsResponseError String

Means either no matching case available or a parse error

PostBillingPortalSessionsResponse200 BillingPortal'session

Successful response.

PostBillingPortalSessionsResponseDefault Error

Error response.