UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

8 lines (7 loc) 378 B
import { type IEvents } from '../../types/index.js'; import { type EventEntity } from './types.js'; export declare class Webhooks { unmarshal(requestBody: string, secretKey: string, signature: string): Promise<EventEntity>; isSignatureValid(requestBody: string, secretKey: string, signature: string): Promise<boolean>; static fromJson(data: IEvents): EventEntity; }