Axinom Mosaic Libraries
    Preparing search index...

    Interface GenerateWebhookRequestParams<TPayload>

    Parameters required to generate a WebhookRequest.

    interface GenerateWebhookRequestParams<TPayload> {
        messageType: string;
        payload: TPayload;
        secret: string;
    }

    Type Parameters

    • TPayload
    Index

    Properties

    messageType: string

    Value to set message_type property of a message object.

    payload: TPayload

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

    secret: string

    Secret used to generate the x-mosaic-signature header value.