{
"id": "we_8anBkrZH8YJZ9X4z",
"object": "webhook_endpoint",
"created_at": "2021-11-11T02:29:16Z",
"description": "Production payments webhook",
"enabled_events": [
"payment_intent.succeeded",
"payment_intent.failed"
],
"mode": "live",
"secret": "whsec_3o9rZ4xKbT1VcJzuDgpm4H",
"status": "enabled",
"url": "https://example.com/webhooks/fintoc"
}
| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier for the webhook endpoint. |
object | string | Identifier for the object type. Always webhook_endpoint. |
created_at | string | ISO 8601 datetime when the webhook endpoint was created. |
description | string | Optional description of the webhook endpoint’s purpose. |
enabled_events | Array[string] | Events that trigger notifications to the webhook endpoint. |
mode | string | Operating mode for the webhook endpoint. One of live or test; test uses the sandbox. |
secret | string | Token Fintoc uses to generate webhook signatures. Use this token to verify that Fintoc sent a webhook. Fintoc returns this field only when you create the webhook endpoint. Subsequent requests return null. |
status | string | Current webhook endpoint status. One of enabled (active) or disabled (inactive). |
url | string | URL where Fintoc sends events. |