The most easy implementation of pagar.me API using TypeScript autocomplete advantage.
$ npm install --save nestjs-pagarme
Import PagarMeModule
into your root module:
@Module({
imports: [
PagarMeModule.forRoot({
strategy: 'apiKey',
api_key: process.env.PAGARME_API_KEY
}),
// ... other imports
]
})
export class AppModule {}
Autocomplete will consider the selected strategy as in the image below:
- Author - Luiz Gustavo Freire Gama
- NestJS website - https://nestjs.com
pagarme-js is MIT licensed.
nestjs-pagarme is MIT licensed.