Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postEphemeralKeys
Documentation
:: forall m. MonadHTTP m | |
=> Maybe PostEphemeralKeysRequestBody | The request body to send |
-> StripeT 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.
PostEphemeralKeysRequestBody | |
|
Instances
mkPostEphemeralKeysRequestBody :: PostEphemeralKeysRequestBody Source #
Create a new PostEphemeralKeysRequestBody
with all required 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.
PostEphemeralKeysResponseError String | Means either no matching case available or a parse error |
PostEphemeralKeysResponse200 EphemeralKey | Successful response. |
PostEphemeralKeysResponseDefault Error | Error response. |