docs update - better errors

This commit is contained in:
Shihaam Abdul Rahman 2024-12-09 08:59:48 +05:00
parent 61384f39bf
commit bfe7238877
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -97,3 +97,17 @@ curl -X POST http://localhost:5000/verify-payment \
"success": false "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,
}
```