UNPKG

@transcend-io/typescript-webhook-example

Version:

Example of a webhook that can be integrated with Transcend.

10 lines 418 B
import { Request, Response } from 'express'; /** * Enrichment webhook handler. * Checks for fraud/legal holds and returns extra identifiers. * * @param req - Express request object * @param res - Express response object */ export default function handleEnrichmentWebhook(req: Request, res: Response): Promise<Response<number, Record<string, number>> | null>; //# sourceMappingURL=handleEnrichmentWebhook.d.ts.map