update docs for cleaner transaction output
This commit is contained in:
parent
c91a4c06fd
commit
867b32e45e
16
README.md
16
README.md
@ -68,17 +68,27 @@ curl -X POST http://localhost:5000/verify-payment \
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"message": "Payment verified using beneficiary name",
|
"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
|
2. Both benefName and accountNo or only accountNo provided, but failed with benefName
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"message": "Payment verified using account number",
|
"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:
|
## Example Failed response:
|
||||||
1. If transaction is not found with the provided details.
|
1. If transaction is not found with the provided details.
|
||||||
```json
|
```json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user