From bfe7238877e37f221e75cccee4f92f1889532ab8 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 9 Dec 2024 08:59:48 +0500 Subject: [PATCH] docs update - better errors --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index f6496b8..5fe787d 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,17 @@ curl -X POST http://localhost:5000/verify-payment \ "success": false } ``` +2. If session times out +```json +{ + "message": "Error from tx.sh: Session Expired", + "success": false +} +``` +3. If 500 from server +```json +{ + "message": "Internal server error" + "success": false, +} +```