0.0.6 • Published 3 years ago

node-primetrust v0.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

PrimeTrust API NodeJS Client

Node.js REST API wrapper library for PrimeTrust Financial Platform.

Quick Start

For full reference please see REFERENCE.md

Installation

npm install node-primetrust

Usage

Client initialization

import { PrimeTrustAPIClient } from "node-primetrust";

const username = "";
const password = "";
const sandbox = false;

const client = new PrimeTrustAPIClient(
    { username, password, sandbox }
);

Creating a User

const response = await client.CreateUser({
    email: "example@example.org",
    name: "Example Example",
    password: "Password-Password",
});

console.log("User created. PrimeTrust ID: %s", response.id);
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago