softycomp-node 1.1.0 → 1.1.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 CHANGED
@@ -22,6 +22,24 @@ Accept once-off and recurring payments via card, EFT, and debit order with a sim
22
22
  - **Zero Dependencies** — Uses native `fetch()` (Node.js 18+)
23
23
  - **Sandbox Support** — Test with sandbox environment before going live
24
24
 
25
+ ## Developer Playground
26
+
27
+ Try the interactive API explorer at `playground/` — a beautiful web interface to test all SoftyComp features:
28
+
29
+ ```bash
30
+ cd playground
31
+ npm install
32
+ npm start
33
+ ```
34
+
35
+ Then visit http://localhost:4021 to explore:
36
+ - Create bills (once-off, monthly, weekly, yearly, subscription)
37
+ - Manage bills (status, update, expire, audit trail, re-auth)
38
+ - Debit orders (Mobi-Mandate)
39
+ - Client management & payouts
40
+ - Live webhook feed
41
+ - Code examples & API reference
42
+
25
43
  ## Installation
26
44
 
27
45
  ```bash
package/dist/index.js CHANGED
@@ -562,6 +562,7 @@ class SoftyComp {
562
562
  branchCode: params.branchCode,
563
563
  accountName: params.accountName,
564
564
  reference: params.reference,
565
+ userReference: params.reference, // Required by SoftyComp API
565
566
  },
566
567
  ],
567
568
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "softycomp-node",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Node.js SDK for SoftyComp — South African bill presentment and debit order platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",