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
yarn add @prymejo/middesk-nestjs-module
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)
}
}
-
Author - Joseph Obochi - obochi2@gmail.com
-
Twitter - @prymejo
@prymejo/middesk-nestjs-module is MIT licensed.