Sarraf API
    Preparing search index...

    Class SarrafModule

    Registers the Sarraf client (global, inject it with @InjectSarraf()) and a webhook controller at POST /webhooks/:provider. Create the app with { rawBody: true } so signatures can be checked.

    @Module({ imports: [SarrafModule.forRoot({ client: { providers: { paymob: paymob({ ... }) } } })] })
    export class AppModule {}
    Index