Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.WebhookEndpoint
Description
Contains the types generated from the schema WebhookEndpoint
Synopsis
- data WebhookEndpoint = WebhookEndpoint {
- webhookEndpointApiVersion :: Maybe Text
- webhookEndpointApplication :: Maybe Text
- webhookEndpointCreated :: Int
- webhookEndpointDescription :: Maybe Text
- webhookEndpointEnabledEvents :: [Text]
- webhookEndpointId :: Text
- webhookEndpointLivemode :: Bool
- webhookEndpointMetadata :: Object
- webhookEndpointSecret :: Maybe Text
- webhookEndpointStatus :: Text
- webhookEndpointUrl :: Text
- mkWebhookEndpoint :: Int -> [Text] -> Text -> Bool -> Object -> Text -> Text -> WebhookEndpoint
Documentation
data WebhookEndpoint Source #
Defines the object schema located at components.schemas.webhook_endpoint
in the specification.
You can configure webhook endpoints via the API to be notified about events that happen in your Stripe account or connected accounts.
Most users configure webhooks from the dashboard, which provides a user interface for registering and testing your webhook endpoints.
Related guide: Setting up Webhooks.
Constructors
WebhookEndpoint | |
Fields
|
Instances
Eq WebhookEndpoint Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods (==) :: WebhookEndpoint -> WebhookEndpoint -> Bool # (/=) :: WebhookEndpoint -> WebhookEndpoint -> Bool # | |
Show WebhookEndpoint Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods showsPrec :: Int -> WebhookEndpoint -> ShowS # show :: WebhookEndpoint -> String # showList :: [WebhookEndpoint] -> ShowS # | |
ToJSON WebhookEndpoint Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods toJSON :: WebhookEndpoint -> Value # toEncoding :: WebhookEndpoint -> Encoding # toJSONList :: [WebhookEndpoint] -> Value # toEncodingList :: [WebhookEndpoint] -> Encoding # | |
FromJSON WebhookEndpoint Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods parseJSON :: Value -> Parser WebhookEndpoint # parseJSONList :: Value -> Parser [WebhookEndpoint] # |
Create a new WebhookEndpoint
with all required fields.