mtn-sdp
v2.3.0
Published
A library to communicate with mtn sdp soap apis
Downloads
6
Readme
mtn-sdp
Using the library
<!-- require it as a normal nodejs package -->
const mtn_sdp = require('./mtn-sdp');
// call subscribe function
###sample input of subscribe function:
let msisdn = '234800000000'
let data:{
'spId':'',
'spPwd':'',
'shortcode':''
}
let debug = false
mtn_sdp.subscribe(msisdn,data,debug function(err,response){
console.log(err)
console.log(response)
})
Sample Output of the subscribe function:
{ ResultCode: 0,
ResultDesc: '123456', ResultDetails: 'Welcome to mtn sdp!' }