telebirr-nodejs 1.1.6 → 1.1.7

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -130,9 +130,9 @@ Refunds a completed transaction.
130
130
  app.post("/payment/refund", async (req, res) => {
131
131
  const refundData = await c2bClient.refundOrder({
132
132
  merchOrderId: "order123",
133
- refundRequestNo: "original-transaction-id",
134
- refundReason: "customer request",
135
- amount: "12",
133
+ refundRequestNo: "CJD7GBPXIP", // unique Identifier of the request generated by the merchant app used for idempotency
134
+ refundReason: "The product is not as I expected",
135
+ amount: "1200",
136
136
  });
137
137
 
138
138
  res.json(refundData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telebirr-nodejs",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Unofficial Node.js SDK for Telebirr C2B payments with automatic request signing, Fabric token handling, checkout URL generation, simulator support, and simplified refunds & payment status APIs.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",