place-api

A simple library to interface with the Place REST API. See https://developer.placepay.com for details.

Usage no npm install needed!

<script type="module">
  import placeApi from 'https://cdn.skypack.dev/place-api';
</script>

README

Place Node.js Library

A Node library for interfacing with the Place API

Installation

To install using npm:

npm install place-api

Basic usage


var place = require('place');

// set your api key
place.api_key = = 'private_key_6fsMi3GDxXg1XXSluNx1sLEd';

var account = place.Account.create({
  email: 'joe.schmoe@example.com',
  full_name: 'Joe Schmoe',
  user_type: 'payer'
}).then(function(account) {
  console.log(account.id)
});

Documentation

Read the docs