quickteller-sva-node
v1.0.7
Published
A Nodejs Library for Quickteller SVA API
Downloads
61
Maintainers
Readme
quickteller-sva-node
Node.js library for the Quickteller SVA API.
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 interswitchenvironment
- 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)
})