to serve run php -S localhost:8000
- url
POST
localhost:8000/account/reserve
- params
`{ accountName:name
customerEmail:test@rhmo.com customerName:test customerAccountNumber:0000000 customerBankCode:test customerAccountNames:test
`}
- url
POST
localhost:8000/account/deactivate
- params
{ accountNumber:33232832}
- url
POST
localhost:8000/transaction/status
- params
{ reference:33232832}
Looking at the code, there are a few problems with it. But I believe the problem can be solved with raw sql query, instead of a foreach loop