paystack-nestjs
Version:
A library for integrating Paystack with NestJS. Supports webhooks
12 lines (11 loc) • 566 B
TypeScript
import { PaystackModuleConfig } from './interfaces';
import { PaystackPayloadService } from './payload.service';
import { PaystackWebhookService } from './webhook.service';
export declare class PaystackWebhookController {
private readonly config;
private readonly payloadService;
private readonly webhookService;
private readonly requestBodyProperty;
constructor(config: PaystackModuleConfig, payloadService: PaystackPayloadService, webhookService: PaystackWebhookService);
handlePaystackEvents(signature: string, req: any): Promise<void>;
}