No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
config
dist
src
test
typings
.babelrc
.eslintrc
.gitignore
.travis.yml
README.md
example.js
gulpfile.js
jsconfig.json
notes.txt
package.json

README.md

SLIMPAY node library

Travis build status Dependency Status devDependency Status

##Usage

Copy config/secrets.example.js no config/secrets.js and change it accodding your preferences.

Example usage:

var Sp = require('./dist/slimpaylib.js')
var options = require('./config/secret');

var slim =  new Sp(options);
var subscriber = {
    id_user : "subscriber01",
    givenName: "givenName",
    familyName: "familyName",
    billingAddress:{
        street1:" street 11",
        postalCode: " 1111",
        city: "city",
        country: "ES"
    }

}
slim.sign_mandate(subscriber,()=>{});