dpay
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dpay", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Dpay is the easiest and most secure way to accept crypto payments for your service or store.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
@@ -1,1 +0,18 @@ | ||
# dpay | ||
# dpay | ||
## Payment Request API | ||
### Sample Codes | ||
```js | ||
var dpay = require("dapy")(); | ||
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) | ||
``` |
2321253
18