Skip to content

C0d3N1nJ4/payment-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payment-service

Description

The payment service is a Spring Boot application that exposes a REST API to manage payments.

Features

The payment service exposes the following endpoints :

  1. GET /payments/credit-transfers : returns the list of all payments
  2. GET /payments/credit-transfer/{id} : returns the payment with the given id
  3. POST /payments/credit-transfer : creates a new payment
  4. PUT /credit-transfer/reverse/{paymentId} : reverses the payment with the given id

Swagger

The swagger documentation for the api endpoints is available at the following URL : http://localhost:7070/swagger-ui.html

Build

To build the payment service, run the following command :

mvn clean install

Dependencies

The payment service depends on the following projects :

  1. [account-service] - to retrieve the account information

Sequence diagram

payment.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages