stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostEphemeralKeys

Description

Contains the different functions to run the operation postEphemeralKeys

Synopsis

Documentation

postEphemeralKeys Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe PostEphemeralKeysRequestBody

The request body to send

-> ClientT m (Response PostEphemeralKeysResponse)

Monadic computation which returns the result of the operation

POST /v1/ephemeral_keys

<p>Creates a short-lived API key for a given resource.</p>

data PostEphemeralKeysRequestBody Source #

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

Constructors

PostEphemeralKeysRequestBody 

Fields

data PostEphemeralKeysResponse Source #

Represents a response of the operation postEphemeralKeys.

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

Constructors

PostEphemeralKeysResponseError String

Means either no matching case available or a parse error

PostEphemeralKeysResponse200 EphemeralKey

Successful response.

PostEphemeralKeysResponseDefault Error

Error response.