class MangoModel::Hook
Hook
entity Once setup, a hook entity allows MangoPay
to make a request to a specific URL on the implementing server to make it aware of various Events (i.e. a failed PayOut
). One URL can be configured for each EventType
.
Attributes
event_type[RW]
EventType
-
Type of event handled
status[RW]
HookStatus
-
Whether or not the hook is enabled
url[RW]
- String
-
The URL that will be pinged for events of the
specified type
validity[RW]
HookValidity
-
Whether or not the hook is valid