1.0.0 • Published 9 months ago

@prymejo/middesk-nestjs-module v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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.