stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCheckoutSessions

Description

Contains the different functions to run the operation postCheckoutSessions

Synopsis

Documentation

postCheckoutSessions Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> PostCheckoutSessionsRequestBody

The request body to send

-> m (Either HttpException (Response PostCheckoutSessionsResponse))

Monad containing the result of the operation

POST /v1/checkout/sessions

<p>Creates a Session object.</p>

data PostCheckoutSessionsRequestBody Source #

Defines the data type for the schema postCheckoutSessionsRequestBody

Constructors

PostCheckoutSessionsRequestBody 

Fields

data PostCheckoutSessionsRequestBodyBillingAddressCollection' Source #

Defines the enum schema postCheckoutSessionsRequestBodyBilling_address_collection'

Specify whether Checkout should collect the customer's billing address.

Instances
Eq PostCheckoutSessionsRequestBodyBillingAddressCollection' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyBillingAddressCollection' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyBillingAddressCollection' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyBillingAddressCollection' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyLineItems' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyLine_items'

data PostCheckoutSessionsRequestBodyLocale' Source #

Defines the enum schema postCheckoutSessionsRequestBodyLocale'

The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.

data PostCheckoutSessionsRequestBodyMetadata' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyMetadata'

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

data PostCheckoutSessionsRequestBodyMode' Source #

Defines the enum schema postCheckoutSessionsRequestBodyMode'

The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`.

data PostCheckoutSessionsRequestBodyPaymentIntentData' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyPayment_intent_data'

A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.

Constructors

PostCheckoutSessionsRequestBodyPaymentIntentData' 
Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' Source #

Defines the enum schema postCheckoutSessionsRequestBodyPayment_intent_data'Capture_method'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'Metadata' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyPayment_intent_data'Metadata'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' Source #

Defines the enum schema postCheckoutSessionsRequestBodyPayment_intent_data'Setup_future_usage'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyPayment_intent_data'Shipping'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyPayment_intent_data'Shipping'Address'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodyPayment_intent_data'Transfer_data'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodyPaymentMethodTypes' Source #

Defines the enum schema postCheckoutSessionsRequestBodyPayment_method_types'

Instances
Eq PostCheckoutSessionsRequestBodyPaymentMethodTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodyPaymentMethodTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodyPaymentMethodTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodyPaymentMethodTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodySetupIntentData' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodySetup_intent_data'

A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.

data PostCheckoutSessionsRequestBodySetupIntentData'Metadata' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodySetup_intent_data'Metadata'

Instances
Eq PostCheckoutSessionsRequestBodySetupIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodySetupIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodySetupIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodySetupIntentData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodySubmitType' Source #

Defines the enum schema postCheckoutSessionsRequestBodySubmit_type'

Describes the type of transaction being performed by Checkout in order to customize relevant text on the page, such as the submit button. `submit_type` can only be specified on Checkout Sessions in `payment` mode, but not Checkout Sessions in `subscription` or `setup` mode.

data PostCheckoutSessionsRequestBodySubscriptionData' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodySubscription_data'

A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.

data PostCheckoutSessionsRequestBodySubscriptionData'Items' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodySubscription_data'Items'

Instances
Eq PostCheckoutSessionsRequestBodySubscriptionData'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodySubscriptionData'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodySubscriptionData'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodySubscriptionData'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsRequestBodySubscriptionData'Metadata' Source #

Defines the data type for the schema postCheckoutSessionsRequestBodySubscription_data'Metadata'

Instances
Eq PostCheckoutSessionsRequestBodySubscriptionData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

Show PostCheckoutSessionsRequestBodySubscriptionData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

ToJSON PostCheckoutSessionsRequestBodySubscriptionData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

FromJSON PostCheckoutSessionsRequestBodySubscriptionData'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCheckoutSessions

data PostCheckoutSessionsResponse Source #

Represents a response of the operation postCheckoutSessions.

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

Constructors

PostCheckoutSessionsResponseError String

Means either no matching case available or a parse error

PostCheckoutSessionsResponse200 Checkout'session

Successful response.

PostCheckoutSessionsResponseDefault Error

Error response.