Node.js library for the Quickteller SVA API.
Installation | Constructor | Billers | Banks | BillerCategories | Customer | Funds | Transaction
npm install quickteller-sva-node
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)
quickTellerSva
.BillersResource
.getBillers()
.then((response) => {
console.log('response', response)
})
.catch((err) => {
console.log('error', err)
})
quickTellerSva
.BillersResource
.getBillersByCategory(25)
.then((response) => {
console.log('response', response)
})
.catch((err) => {
console.log('error', err)
})