Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
hyperwallet
Advanced tools
A library to manage users, transfer methods and payments through the Hyperwallet API
A library to manage users, transfer methods and payments through the Hyperwallet API
Hyperwallet's NodeJS server SDK requires at minimum NodeJS 6.15.1 and above.
$ npm install hyperwallet-sdk
Documentation is available at http://hyperwallet.github.io/node-sdk.
To write an app using the SDK
Register for a sandbox account and get your username, password and program token at the Hyperwallet Program Portal.
Add dependency hyperwallet-sdk
to your package.json
.
Require hyperwallet-sdk
in your file
var Hyperwallet = require("hyperwallet-sdk");
Create a instance of the Hyperwallet Client (with username, password and program token)
var client = new Hyperwallet({
username: "restapiuser@4917301618",
password: "mySecurePassword!",
programToken: "prg-645fc30d-83ed-476c-a412-32c82738a20e",
});
Start making API calls (e.g. create a user)
var userData = {
clientUserId: "test-client-id-1",
profileType: "INDIVIDUAL",
firstName: "Daffyd",
lastName: "y Goliath",
email: "testmail-1@hyperwallet.com",
addressLine1: "123 Main Street",
city: "Austin",
stateProvince: "TX",
country: "US",
postalCode: "78701",
};
client.createUser(userData, function(errors, body, res) {
if (errors) {
console.log("Create User Failed");
console.log(errors);
} else {
console.log("Create User Response");
console.log(body);
}
});
The displayed callback format is valid for all SDK methods. For more information see the Callback Documentation.
Run the tests using npm
:
$ npm install
$ npm test
FAQs
A library to manage users, transfer methods and payments through the Hyperwallet API
The npm package hyperwallet receives a total of 7 weekly downloads. As such, hyperwallet popularity was classified as not popular.
We found that hyperwallet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.