The object representing a webhook request message.

Type Parameters

  • TPayload

Hierarchy

  • WebhookRequestMessage

Properties

message_id: string

A unique message ID. This can be used for logging or potentially be remembered to avoid replay attacks.

message_type: string

A message type to distinguish the action that should be performed on the webhook server side.

message_version: string

A message version that defines the version of the message structure.

payload: TPayload

Generic payload JSON object that contains the actual business-relevant data.

timestamp: string

A UTC-based ISO timestamp when the webhook call was made. By default, calls where the date is older than 120 seconds will be rejected.

Generated using TypeDoc