dpay

1.0.5 • Public • Published

dpay

Payment Request API

Install

npm install dpay

Get auth token

You need to register an account from our website and then get the token from the settings page

Sample Codes

var dpay = require("dpay")();
var params = {
    auth_token:"YOUR AUTHENTICATION TOKEN",
    order_code:"GENERATE UNIQUE CODE AND STORE IT ON YOUR DATABASE",
    token_address:"YOUR TOKEN ADDRESS",
    amount:"AMOUNT",
};
const result = await dpay.paymentIntents.create(params);
console.log(result)

/dpay/

    Package Sidebar

    Install

    npm i dpay

    Weekly Downloads

    0

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    2.32 MB

    Total Files

    10

    Last publish

    Collaborators

    • yangvgo