1.1.1 • Published 4 years ago

veem-node-sdk v1.1.1

Weekly downloads
96
License
MIT
Repository
github
Last release
4 years ago

veem-node-sdk

CircleCI npm version

The Veem Node SDK provides a simple interface for interacting with the Veem Global Payments API for server-side Javascript applications.

References

Installation

npm install veem-node-sdk --save

Usage

The Veem Node SDK requires you to generate an access token in order to authenticate the requests. You can manage your applications and generate access tokens from the Developer Dashboard.

import Veem from 'veem-node-sdk'

var Veem = new Veem({
  accessToken: '<access_token>',
})

Veem.payment.send(payment, callback)

Using Promises

The SDK supports Promises for handling responses and errors:

Veem.payment.send(payment)
  .then(responseBody => console.log(responseBody))
  .catch(error => console.error(error))

Development

Setup Environment

npm install

Run Tests

npm run test