stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostApplePayDomains

Description

Contains the different functions to run the operation postApplePayDomains

Synopsis

Documentation

postApplePayDomains Source #

Arguments

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

The configuration to use in the request

-> PostApplePayDomainsRequestBody

The request body to send

-> m (Either HttpException (Response PostApplePayDomainsResponse))

Monad containing the result of the operation

POST /v1/apple_pay/domains

<p>Create an apple pay domain.</p>

postApplePayDomainsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostApplePayDomainsRequestBody -> m (Either HttpException (Response ByteString)) Source #

POST /v1/apple_pay/domains

The same as postApplePayDomains but returns the raw ByteString

data PostApplePayDomainsRequestBody Source #

Defines the data type for the schema postApplePayDomainsRequestBody

Constructors

PostApplePayDomainsRequestBody 

Fields

data PostApplePayDomainsResponse Source #

Represents a response of the operation postApplePayDomains.

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

Constructors

PostApplePayDomainsResponseError String

Means either no matching case available or a parse error

PostApplePayDomainsResponse200 ApplePayDomain

Successful response.

PostApplePayDomainsResponseDefault Error

Error response.