1.0.7 • Published 5 years ago

quickteller-sva-node v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

quickteller-sva-node

Node.js library for the Quickteller SVA API.

Build Status Coverage Status

NPM

Installation | Constructor | Billers | Banks | BillerCategories | Customer | Funds | Transaction

Installation

npm install quickteller-sva-node

Constructor

import QuickTellerSva from 'quickteller-sva-node'

const quickTellerSva = new QuickTellerSva(
  {
    apiSecret: API_SECRET,
    clientId: CLIENT_ID,
    terminalId: TERMINAL_ID,
    environment: 'development'
  }
)
  • apiSecret - API secret from interswitch .
  • clientId - Client id from interswitch.
  • terminalId - Application terminal id from interswitch
  • environment - Environment (production or development)

Billers

Get billers

quickTellerSva
  .BillersResource
  .getBillers()
  .then((response) => {
    console.log('response', response)
  })
  .catch((err) => {
    console.log('error', err)
  })

Get billers by category

quickTellerSva
  .BillersResource
  .getBillersByCategory(25)
  .then((response) => {
    console.log('response', response)
  })
  .catch((err) => {
    console.log('error', err)
  })
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago