Paywhirl developer kit for Node.js.
Switch branches/tags
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.
LICENSE.md
README.md
paywhirl.js

README.md

A convenient PayWhirl API wrapper in JavaScript for Node

The PayWhirl Node library is provided to allow developers to access PayWhirl services without needing to write their own API wrappers.

The Documentation linked here and below contains all of the available methods for interacting with your PayWhirl account. If you would like to see additional functionality added, feel free to submit an issue or a pull request.

Usage Guide

Table of Contents

Requirements

  • Node: ECMAScript 6+

Installation

Place the .js file in your project and import the class so that you can instantiate a PayWhirl object.

When you create a new PayWhirl object you need to pass in your API key and secret, which can be found in the API key section of the main site.

// include PayWhirl JavaScript SDK
const PayWhirl = require('./paywhirl.js');

const apiKey = 'pwpk_xxxxxxxxxxxxxxx';
const apiSecret = 'pwpsk_xxxxxxxxxxx';

const paywhirl = new PayWhirl(apiKey, apiSecret);


License

PayWhirl is copyright © 2016-2018 PayWhirl Inc. This library is free software, and may be redistributed under the terms specified in the license.

About

PayWhirl Inc. and the names and logos for PayWhirl are trademarks of PayWhirl inc.

For additional information, please see our Terms of Use and Privacy Policy