Fin Tech Innovators

YouTube video demonstration

https://youtu.be/mnssFyXrnK8

The application for processing the payment between users.

General information

Language / Framework

  • Java Oracle OpenJDK 17
  • Spring Boot 3.2.2

DBMS

  • PostgreSQL

The application usage

API Specification Documentation: /swagger-ui/index.html

Authentication

Sign-Up process:

For profile creation we must provide the necessary information:

POST /trusted/auth/sign-up

{
  "username": "string",
  "password": "password",
  "name": "name"
}

Sign-In process:

For signing in to the system we should provide following endpoint with username and password and we will get the jwt tokens:

POST /trusted/auth/sign-in

{
    "username": "username",
    "password": "password"
}

Profile Management

Create an account:

For account creation we have to provide the requisite that we want to use

POST /user/create-account

-H Authorization: Bearer-Token

{
    "requisite":"0705040643"
}

Get profile information:

For getting information about profile and account, we have to fetch it

GET user/profile

-H Authorization: Bearer-Token

Payment process

Make the transaction:

For proceed the payment we have to send following payload to endpoint:

POST payment/proceed-payment

-H Authorization: Bearer-Token

{
    "account_id": 2,
    "recipient_requisite": "0705040644",
    "amount": 200
}