Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (26 sloc) 1.18 KB


node-fortumo is unofficial binding for the Fortumo SMS payment API. You can listen for incoming SMS messages and response to them with ease. See example/server.js for usage.


Set up the account

  • Create an account at
  • Set up a new Mobile Payments/Premium SMS API service here
  • Set as the receiving URL and optionally charset to UTF-8 if you want to use non-latin characters

Set up the server

  • install node-fortumo with npm install fortumo

Sample script

var FortumoSMSServer = require("fortumo").FortumoSMSServer;

var options = {
    service_id: "c4d18b86cc3bd0cccf5436b4995ba42d", // public service ID
    secret:     "7a518954b359471d31efaa2cefdfd8d7"  // secret service token

var fortumo = new FortumoSMSServer(options);

fortumo.on("sms", function(sms, response){
    console.log(sms); // outputs the sms data to the console

See example/server.js for a better example

Jump to Line
Something went wrong with that request. Please try again.