docs update - better errors
This commit is contained in:
parent
61384f39bf
commit
bfe7238877
14
README.md
14
README.md
@ -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,
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user