fddevpay 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +133 -0
- package/desktop.ini +6 -0
- package/dist/_redirects +1 -0
- package/dist/assets/background-DLeGtWSa.jpg +0 -0
- package/dist/assets/index-D0dRshus.js +149 -0
- package/dist/assets/index-OWd64B32.css +1 -0
- package/dist/background/background.jpg +0 -0
- package/dist/background/background2.jpg +0 -0
- package/dist/background/background3.jpg +0 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/index.html +13 -0
- package/fdpayDashboard-main/desktop.ini +6 -0
- package/fdpaydashboard-1.0.0.tgz +0 -0
- package/index.js +24 -0
- package/package.json +20 -0
package/README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# 💳 FDPay Dashboard
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🚀 About
|
|
8
|
+
|
|
9
|
+
**FDPay** is a **fake demo payment service** built for developers.
|
|
10
|
+
You can easily integrate it into your apps or websites to simulate payment flows.
|
|
11
|
+
|
|
12
|
+
👉 This is **only for testing & demo purposes** (not real payments).
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## ⚡ Features
|
|
17
|
+
|
|
18
|
+
* 🏦 Create fake bank accounts
|
|
19
|
+
* 📲 Generate fake UPI IDs
|
|
20
|
+
* 💸 Simulate payments between UPI IDs
|
|
21
|
+
* 🔑 Generate API keys
|
|
22
|
+
* 📊 Track transaction history
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 📦 Run Locally
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx fdpaydashboard
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
👉 Opens dashboard at:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
http://localhost:4000
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🔑 Authentication
|
|
41
|
+
|
|
42
|
+
All API requests require an API key:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
x-api-key: YOUR_SECRET_KEY
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 📡 API Endpoints
|
|
51
|
+
|
|
52
|
+
### 📁 Get Accounts
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
fetch("/api-key/accounts/", {
|
|
56
|
+
headers: {
|
|
57
|
+
"Content-Type": "application/json",
|
|
58
|
+
"x-api-key": "YOUR_SECRET_KEY"
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
### 📲 Send UPI Payment
|
|
66
|
+
|
|
67
|
+
```js
|
|
68
|
+
fetch("/api-key/upi/", {
|
|
69
|
+
method: "POST",
|
|
70
|
+
headers: {
|
|
71
|
+
"Content-Type": "application/json",
|
|
72
|
+
"x-api-key": "YOUR_SECRET_KEY"
|
|
73
|
+
},
|
|
74
|
+
body: JSON.stringify({
|
|
75
|
+
sender_upi: "upi_id",
|
|
76
|
+
receiver_upi: "upi_id",
|
|
77
|
+
amount: 244
|
|
78
|
+
})
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### 💳 Payment Status
|
|
85
|
+
|
|
86
|
+
```js
|
|
87
|
+
fetch("/api-key/pay/", {
|
|
88
|
+
headers: {
|
|
89
|
+
"Content-Type": "application/json",
|
|
90
|
+
"x-api-key": "YOUR_SECRET_KEY"
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### 📜 Transaction History
|
|
98
|
+
|
|
99
|
+
```js
|
|
100
|
+
fetch("/api-key/history/", {
|
|
101
|
+
headers: {
|
|
102
|
+
"Content-Type": "application/json",
|
|
103
|
+
"x-api-key": "YOUR_SECRET_KEY"
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## ⚠️ Important Note
|
|
111
|
+
|
|
112
|
+
This is a **fake payment system** designed only for:
|
|
113
|
+
|
|
114
|
+
* Development
|
|
115
|
+
* Testing
|
|
116
|
+
* Demo purposes
|
|
117
|
+
|
|
118
|
+
❌ No real money or real bank transactions are involved.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 🛠️ Tech Stack
|
|
123
|
+
|
|
124
|
+
* React (Vite)
|
|
125
|
+
* Node.js
|
|
126
|
+
* Express
|
|
127
|
+
* CLI Tool
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## 👨💻 Author
|
|
132
|
+
|
|
133
|
+
FDPay Team
|
package/desktop.ini
ADDED
package/dist/_redirects
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* /index.html 200
|
|
Binary file
|