Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Types.WebhookEndpoint
Description
Contains the types generated from the schema WebhookEndpoint
Synopsis
- data WebhookEndpoint = WebhookEndpoint {
- webhookEndpointApiVersion :: Maybe String
- webhookEndpointApplication :: Maybe String
- webhookEndpointCreated :: Integer
- webhookEndpointEnabledEvents :: [] String
- webhookEndpointId :: String
- webhookEndpointLivemode :: Bool
- webhookEndpointObject :: WebhookEndpointObject'
- webhookEndpointSecret :: Maybe String
- webhookEndpointStatus :: String
- webhookEndpointUrl :: String
- data WebhookEndpointObject'
Documentation
data WebhookEndpoint Source #
Defines the data type for the schema webhook_endpoint
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] # |
data WebhookEndpointObject' Source #
Defines the enum schema webhook_endpointObject'
String representing the object's type. Objects of the same type share the same value.
Constructors
WebhookEndpointObject'EnumOther Value | |
WebhookEndpointObject'EnumTyped String | |
WebhookEndpointObject'EnumStringWebhookEndpoint |
Instances
Eq WebhookEndpointObject' Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods (==) :: WebhookEndpointObject' -> WebhookEndpointObject' -> Bool # (/=) :: WebhookEndpointObject' -> WebhookEndpointObject' -> Bool # | |
Show WebhookEndpointObject' Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods showsPrec :: Int -> WebhookEndpointObject' -> ShowS # show :: WebhookEndpointObject' -> String # showList :: [WebhookEndpointObject'] -> ShowS # | |
ToJSON WebhookEndpointObject' Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods toJSON :: WebhookEndpointObject' -> Value # toEncoding :: WebhookEndpointObject' -> Encoding # toJSONList :: [WebhookEndpointObject'] -> Value # | |
FromJSON WebhookEndpointObject' Source # | |
Defined in StripeAPI.Types.WebhookEndpoint Methods parseJSON :: Value -> Parser WebhookEndpointObject' # parseJSONList :: Value -> Parser [WebhookEndpointObject'] # |