@prymejo/middesk-nestjs-module
v1.0.0
Published
<p align="center"> <a href="https://get.middesk.com" target="blank"><img src="https://d9hhrg4mnvzow.cloudfront.net/get.middesk.com/verification/c8d95e3b-group-1000004533.svg" width="200" alt="Nest Logo" /></a> </p>
Downloads
8
Maintainers
Readme
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
Author - Joseph Obochi - [email protected]
Twitter - @prymejo
License
@prymejo/middesk-nestjs-module is MIT licensed.