Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payment Service

A Spring Boot-based backend service for managing payments.

Features

  • Core payment processing logic
  • Unit testing setup
  • Maven build configuration

API Endpoints

Payment Operations

  • POST /payment/accept
    • Accepts payment for a user.
    • Payload:
      {
        "accountHolderName": "Vinit Rana",
        "amountCredited": 500.0,
        "modeOfPayment": "UPI"
      }
  • GET /payment/balance/{name}
    • Returns the balance for a specific user.

Technologies Used

  • Java 21
  • Spring Boot 3.4.2
  • Maven

Getting Started

Prerequisites

  • Java 21 or higher
  • Maven 3.6+

Build and Run

To build the project:

./mvnw clean install

To run the application:

./mvnw spring-boot:run

Project Structure

  • src/main/java: Core application logic
  • src/main/resources: Application configuration and properties
  • src/test/java: Unit and integration tests

About

Payment Service Project for Spring Boot

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages