62 lines
1.6 KiB
JSON

{
"transactions": [
{
"id": "TXN-001",
"type": "deposit",
"account_id": "ACC-001",
"amount": 500.00,
"description": "Salary payment"
},
{
"id": "TXN-002",
"type": "withdrawal",
"account_id": "ACC-001",
"amount": 200.00,
"description": "ATM withdrawal"
},
{
"id": "TXN-003",
"type": "withdrawal",
"account_id": "ACC-002",
"amount": 1500.00,
"description": "Rent payment - exceeds balance"
},
{
"id": "TXN-004",
"type": "deposit",
"account_id": "ACC-002",
"amount": -100.00,
"description": "Invalid negative deposit"
},
{
"id": "TXN-005",
"type": "deposit",
"account_id": "ACC-003",
"amount": 1000.00,
"description": "Deposit to frozen account"
},
{
"id": "TXN-006",
"type": "transfer",
"account_id": "ACC-001",
"to_account_id": "ACC-002",
"amount": 750.00,
"description": "Transfer to Bob"
},
{
"id": "TXN-007",
"type": "withdrawal",
"account_id": "ACC-999",
"amount": 50.00,
"description": "Unknown account"
},
{
"id": "TXN-008",
"type": "deposit",
"account_id": "ACC-001",
"amount": 0,
"description": "Zero-amount deposit"
}
]
}