Constructors
constructor
- new WebhookReceiver(apiKey, apiSecret): WebhookReceiver
Parameters
- apiKey: string
- apiSecret: string
Methods
receive
- receive(body, authHeader?, skipAuth?): Promise<WebhookEvent>
Parameters
- body: string
Optional
authHeader: string- skipAuth: boolean = false
string of the posted body