From 867b32e45e18c7a233bbf0324ff88317bdd6ce93 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 9 Dec 2024 08:25:51 +0500 Subject: [PATCH] update docs for cleaner transaction output --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25223a8..f6496b8 100644 --- a/README.md +++ b/README.md @@ -68,17 +68,27 @@ curl -X POST http://localhost:5000/verify-payment \ ```json { "message": "Payment verified using beneficiary name", - "success": true + "success": true, + "transaction": { + "ref": "MALBIPS20241208190231 HBTLGAKCNUS", + "sourceBank": "BML", + "trxDate": "2024-12-09 00:02:36" + } } + ``` 2. Both benefName and accountNo or only accountNo provided, but failed with benefName ```json { "message": "Payment verified using account number", - "success": true + "success": true, + "transaction": { + "ref": "1-77722758-34140519-1", + "sourceBank": "MIB", + "trxDate": "2024-12-05 12:57:32" + } } ``` - ## Example Failed response: 1. If transaction is not found with the provided details. ```json