paystack-nestjs
Version:
A library for integrating Paystack with NestJS. Supports webhooks
16 lines (15 loc) • 417 B
TypeScript
export interface PaystackModuleConfig {
readonly secretKey: string;
readonly enableWebhook?: boolean;
webhookConfig?: {
requestBodyProperty?: string;
controllerPrefix?: string;
decorators?: ClassDecorator[];
loggingConfiguration?: {
logMatchingEventHandlers: boolean;
};
};
}
export interface PaystackWebhookHandlerConfig {
eventType: string;
}