Skip to content

pryme0/middesk-nestjs-module

Repository files navigation

Nest Logo

Nest Logo

Description

Mindesk is a leading business identity Sass platform that enables companies to peform KYB and KYC for businesses across the us.

You can view their Api Documentation here, and api reference here

To use this package you will need to create an account with Middesk in order to get an Api key.

The package works with Nodejs v18 >

This package implements the endpoints for

  • Business
  • Tax Registration
  • Business Classification
  • Web hooks
  • Subscription
  • Company
  • Ip Whitelisting

Installation

yarn  add @prymejo/middesk-nestjs-module

Using the package

import { MiddeskModule,SubscriptionManager,CompanyManager,BusinessManger,TaxManager,WebhooksManager } from  '@prymejo/middesk-nestjs-module';

@Module({
imports: [MiddeskModule.register("Aapi_key","enviroment")],
controllers: [],
providers: [
SubscriptionManager,
CompanyManager
,BusinessManger,
TaxManager,
WebhooksManager],
})
export  class  AppModule {}

#Available service

 - SubscriptionManager
 - CompanyManager
 - BusinessManger
 - TaxManager
 - WebhooksManager
export class KycService{  
constructor(private  readonly  businessManagerService:  BusinessManger) {}

async createBusiness (payload){
return await this.businessManagerService.createBusiness(payload)
}
}

Stay in touch

License

@prymejo/middesk-nestjs-module is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published