The message object representing a webhook response.

Type Parameters

  • TPayload

Hierarchy

  • WebhookResponse

Properties

If webhook needs to respond with an error - at least one error object must be provided and payload must be omitted or set to null.

message_version?: string

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

payload?: null | TPayload

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

A warnings array to provide warning messages.

Generated using TypeDoc