Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postBillingPortalSessions
Synopsis
- postBillingPortalSessions :: forall m. MonadHTTP m => PostBillingPortalSessionsRequestBody -> ClientT m (Response PostBillingPortalSessionsResponse)
- data PostBillingPortalSessionsRequestBody = PostBillingPortalSessionsRequestBody {}
- mkPostBillingPortalSessionsRequestBody :: Text -> PostBillingPortalSessionsRequestBody
- data PostBillingPortalSessionsResponse
Documentation
postBillingPortalSessions Source #
:: 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.
PostBillingPortalSessionsRequestBody | |
|
mkPostBillingPortalSessionsRequestBody Source #
Create a new PostBillingPortalSessionsRequestBody
with all required 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.
PostBillingPortalSessionsResponseError String | Means either no matching case available or a parse error |
PostBillingPortalSessionsResponse200 BillingPortal'session | Successful response. |
PostBillingPortalSessionsResponseDefault Error | Error response. |