/Simple-Dummy-Server-Application

Simple money transfer application.

Primary LanguageJava

server application

Simple Dummy Server Application.

ACCOUNT

  1. Create Account :

Http Method : POST

URL : http://localhost:8080/api/account/create

Body :

{ "balance":100, "accountUsername":"a", "accountUserSurname":"a", "accountType":"EURO" }

  1. Get All Accounts :

Http Method : GET

URL : http://localhost:8080/api/account/accounts

  1. Get Account By accountId :

Http Method : GET

URL : http://localhost:8080/api/account/{accountId}

  1. Get Account Balance By accountId :

Http Method : GET

URL : http://localhost:8080/api/account/balance/{accountId}

TRANSACTION

  1. Make Transfer Between Accounts :

Http Method : POST

URL : http://localhost:8080/api/transaction/doTransfer

Body :

{ "senderId":21, "receiverId":23, "transactionAmount":50 }

  1. Get Transaction By tansactionId :

Http Method : GET

URL : http://localhost:8080/api/transaction/{tansactionId}

  1. Get All Transactions :

Http Method : GET

URL : http://localhost:8080/api/transaction/transactions