Nicely Presented Misnomer

churnbee

0.1.1 • Public • Published

node-churnbee

Build Status

A simple wrapper for Churnbee

Installation

npm install --save churnbee

Usage

var churnbee = require('churnbee')('CHURNBEE_TOKEN')
churnbee.register('userId'[, callback])
churnbee.charge({userId: 'userId', amount: 1.99, plan: 'Freemium'}[, callback])

Methods

  • register
  • login
  • activation
  • charge. required properties: amount, plan
  • changePlan. required property: plan
  • cancel
  • refund. required property: amount

Properties

On every method if a dateTime property is set to a Date instance, it will be converted.

install

npm i churnbee

Downloadsweekly downloads

4

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability