0.1.0 • Published 9 years ago

vspapi v0.1.0

Weekly downloads
12
License
-
Repository
bitbucket
Last release
9 years ago

VSPAPI facilitates the use of the vSecure Processing web services within a Node application. To use these services you will need to setup your own developer account at vSP Developer Portal and sign a non-disclosure agreement.

Setting Up a Context

Setting up the vspapi is very simple. Once your have signed up with the developer portal you will be assigned your own GID and other assorted values which are used to setup the initail context for the api.

Context Parameters

PropertyTypeRequiredDescription
gidStringThis value is unique to the developer. One must be created for you by vSecure Processing.
platformStringOptionally override the default "Buypass" platform value.
urlStringOptionally override the default base URL for the vSP web services
tidStringOptionally set a Terminal ID ("01" by default)
appIdStringThe ID of your application. This value may be assigned to you by vSP
userIdStringThe user ID of the developer as registered with vSP

Example Usage

var api = require('vspapi');

var ctx = {
    gid:"xxxxxxxxxxxxxxx",
    appId:"xxxxx",
    userId:"info@someplace.com"
};

api.config(ctx);

See Also

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.1

9 years ago