Skip to content

Naaikho/vivawallet-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VivaWallet Node SDK

This is a Non-official VivaWallet Node SDK. It provides a simple way to interact with the VivaWallet API.

Exemple:

import { VivaWallet } from '@nkh/vivawallet-sdk';

const vivawallet = new VivaWallet({
  smartClientId: 'your-smartcheckout-client-id',
  smartClientSecret: 'your-smartcheckout-client-secret',
  merchantId: 'your-merchant-uuid',
  apikey: 'your-api-key',
  // Optional
  sourceCode: 'MY_SOURCE_CODE',
});

// Use init call to setup auth (Basic & OAuth2) and webhook code
await vivawallet.init()

TypeScript

The SDK is written in TypeScript for classes typesafety and Vivawallet Webhook typesafety.

About

Non-Official VivaWallet API JS Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published