Financial Institution
A client is a financial institution that has an existing database that contains information about customer details. They want to be able to take the record of transactions which will, in turn, affect their customer balance.
The User should be able to;
- An endpoint that allows the institution to perform transactions on the customer’s account. i.e Debit, Credit, Freezing.
- A transaction cannot be carried out on account with the status of inactive, dormant.
- You should take note of the customer account number as it must conform to the NUBAN bank standard of 10 digits.
- The chosen currency for the customer should be enforced for transactions.
- Database: MySQL
- API Framework: Laravel or SpringBoot.
- Codebase should be pushed to a GitHub or BitBucket repository for code review.
- Simple Business logic
- Clear separation of concerns between application logic and data logic
- Tests.
run ./run-migration.sh this will run migration and preload the database with data.
method:post descption:credit an account url:localhost/banking/public/api/v1/customers/credit-account/2010000001?channel=USSD&narration=fgd ghj j fhg&type=Saving&amount=3000&date=2020-02-28
method:post descption:debit an account url:localhost/banking/public/api/v1/customers/debit-account/2010000001?channel=POS&narration=fgd ghj j fhg&type=Saving&amount=3000&date=2020-02-28
method:get descption:check balance url:localhost/banking/public/api/v1/customers/check-balance/2010000001