@prymejo/sudo-africa-nestjs-module
v1.0.4
Published
<p align="center"> <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a> </p>
Downloads
2
Maintainers
Readme
Description
Nest framework TypeScript starter repository.
Installation
yarn add @prymejo/sudo-africa-nestjs-module
Using the package
import { SudAfricaModule,SudoAfricaCardsService } from '@prymejo/sudo-africa-nestjs-module';
@Module({
imports: [SudAfricaModule.register(api_key,environment)],
controllers: [],
providers: [SudoAfricaCardsService],
})
export class AppModule {}
api_key is your sudo africa api key
environment can be either of "sandbox" or "production" (this will help in setting the api url the module will use for interacting with sudo)
#Available service
- SudoAfricaCardsService
- SudoAfricaAccountService
- SudoAfricaAuthorizationService
- SudoAfricaDisputeService
- SudoAfricaFundingSourceService
- SudoAfricaTransactionService
Stay in touch
Author - Joseph Obochi
Twitter - @prymejo
License
@prymejo/sudo-africa-nestjs-module is MIT licensed.