Webhook endpoint object

The Webhook Endpoint object

A WebhookEndpoint represents a URL you register to receive Event notifications. It stores the event types it subscribes to and the signing secret Fintoc uses to verify delivery. You create a WebhookEndpoint when you set up webhooks, and Fintoc sends enabled events to its url in live or test mode.

{
  "id": "we_M6yrvOepCe3Rqp8B",
  "object": "webhook_endpoint",
  "created_at": "2021-05-17T17:04:10.284Z",
  "description": "Webhook endpoint for payment events.",
  "enabled_events": ["link.created", "link.credentials_changed"],
  "mode": "live",
  "secret": "...",
  "status": "enabled",
  "url": "https://my.webhook.endpoint/fintoc"
}
AttributeTypeDescription
idstringUnique identifier for the Webhook Endpoint
objectstringIdentifier for the type of object. Its value for Webhook Endpoints will always correspond to webhook_endpoint
created_atstringWebhook Endpoint's creation date, using ISO 8601
descriptionstringOptional description about the Webhook Endpoint's purpose
enabled_eventsArray[string]Events that will be sent to the Webhook Endpoint
modestringIndicates whether the Webhook Endpoint is in live mode or in test mode (for the sandbox)
secretstringToken Fintoc uses to generate the webhook signatures. Use this token to validate that Fintoc sent the webhook. Fintoc returns this field only when you create the webhook endpoint. Later requests return null.
statusstringIndicates whether the Webhook Endpoint is active (enabled) or inactive (disabled)
urlstringThe URL associated to the webhook to which the events will be sent