zpi-nodejs

1.0.2 • Public • Published

ZPI NODEJS

Build Status npm version License: MIT

Usage

  1. Install package
$ npm i zpi-nodejs
  1. Create order (Detail)
const { App } = require('zpi-nodejs');
const app = new App(appid, macKey, callbackKey);
const data = await app.createOrder(apptransid, appuser, amount, apptime, embeddata, item, description);
  1. Generate deeplink
const { genDeeplink } = require('zpi-nodejs');
genDeeplink(data.orderUrl);
  1. Open deeplink from client

Readme

Keywords

Package Sidebar

Install

npm i zpi-nodejs

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

8.22 kB

Total Files

5

Last publish

Collaborators

  • bakaoh