2.0.0 • Published 2 years ago

ten99policy v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
2 years ago

1099Policy Node.js Library

Coverage Status

Node.js client library for 1099Policy platform.

Requirements

Node 8, 10 or higher.

Installation

Install the package with:

npm install ten99policy

Usage

To use the 1099Policy API you need to authenticate requests using API keys. Sign up for a developer account to view and manage your API keys from the the 1099Policy Dashboard. 1099Policy Dashboard

const Ten99Policy = require('ten99policy');
const ten99policy = new Ten99Policy({
  'key': 't9sk_test_...',
})

// create a contractor
ten99policy.contractors.create({
  company_name: "John & Friends",
  first_name: "John",
  last_name: "Doe",
  email: "example@gmail.com",
  phone: "415-111-1111",
  tax_identification: "123-456789",
  address:{
    line1: "2211 Mission St",
    line2: "",
    locality: "San Francisco,",
    region: "CA",
    postalcode: "94110"
  }
})
  .then(message => console.log(message))
  .catch(error => console.error(error));
9.15.0

2 years ago

2.0.0

2 years ago

1.0.2

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago