ReckonExample

Useful Info

  • Development tools: IntelliJ Ultimate
  • Server: Wildfly
  • localhost to internet: pagekite.me
  • api reference: https://apiexplorersandbox.openbankproject.com
  • json to java object: http://pojo.sodhanalibrary.com
  • JUnit test: Refer to jTest.java


  • HeroKu API (cloud) - Active

  • GetBank list:
  • https://myreckoning.herokuapp.com/ReckonINGExample/getBanks

  • Get all accounts for user bennettzhou1
  • https://myreckoning.herokuapp.com/ReckonINGExample/getMyAccounts?user_name=bennettzhou1

  • Get all accounts for user superhero
  • https://myreckoning.herokuapp.com/ReckonINGExample/getMyAccounts?user_name=superhero

  • Get balance for user bennettzhou1, bank_id = rbs(RBS Bank), Account name=BenAccount_1
  • https://myreckoning.herokuapp.com/ReckonINGExample/getAccountById?user_name=bennettzhou1&bank_id=rbs&account=BenAccount_1

  • Get balance for user superhero, bank_id = hsbc-test(HSBC Bank), Account name=superhsbc
  • https://myreckoning.herokuapp.com/ReckonINGExample/getAccountById?user_name=superhero&bank_id=hsbc-test&account=superhsbc

  • Get balance for user superhero, bank_id = at02-1465–01(ING Bank), Account name=supering
  • https://myreckoning.herokuapp.com/ReckonINGExample/getAccountById?user_name=superhero&bank_id=at02-1465--01&account=supering

  • Transfer 10 dollar from ING bank account to HSBC account under user_name superhero
  • https://myreckoning.herokuapp.com/ReckonINGExample/createTransaction/superhero?frombank_id=at02-1465--01&fromid=supering&amount=10&tobank_id=hsbc-test&toid=superhsbc

  • Check Transaction history for account superhsbc in HSBC bank, under user superhero
  • https://myreckoning.herokuapp.com/ReckonINGExample/getTransactionHistoryById?user_name=superhero&bank_id=hsbc-test&account=superhsbc

  • Check ALL Transaction history of user superhero (sorted by completion datetime in descendent)
  • https://myreckoning.herokuapp.com/ReckonINGExample/getMyTransactionHistory?user_name=superhero

  • Loan Calculator for comparing the offering package based on the provided information

    loanAmount(int): Loan Principal
    numYears(int): loan duration
    currentAge(int): Current age of borrower
    totalMonthlyDebt(double): Currently monthly debt of borrower
    totalMonthlyIncome(double): Currently monthly salary income of borrower
    Loantype: loan offered by which bank

    https://myreckoning.herokuapp.com/ReckonINGExample/loan-calculator?loanAmount=500000&numYears=15&currentAge=35&totalMonthlyDebt=3600&totalMonthlyIncome=8888&LoanType=ING

    https://myreckoning.herokuapp.com/ReckonINGExample/loan-calculator?loanAmount=500000&numYears=15&currentAge=35&totalMonthlyDebt=3600&totalMonthlyIncome=8888&LoanType=SCB

    https://myreckoning.herokuapp.com/ReckonINGExample/loan-calculator?loanAmount=500000&numYears=15&currentAge=35&totalMonthlyDebt=3600&totalMonthlyIncome=8888&LoanType=OCBC

    https://myreckoning.herokuapp.com/ReckonINGExample/loan-calculator?loanAmount=500000&numYears=15&currentAge=35&totalMonthlyDebt=3600&totalMonthlyIncome=8888&LoanType=CITI

    https://myreckoning.herokuapp.com/ReckonINGExample/loan-calculator?loanAmount=500000&numYears=15&currentAge=35&totalMonthlyDebt=3600&totalMonthlyIncome=8888&LoanType=HSBC