Socket
Socket
Sign inDemoInstall

dpay

Package Overview
Dependencies
49
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dpay

Dpay is the easiest and most secure way to accept crypto payments for your service or store.


Version published
Maintainers
1
Created

Readme

Source

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)

FAQs

Last updated on 21 Sep 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc