One of the common issues is how to manage the Distributed Transaction across multiple microservices, There is a lot of patterns to manage distributed transaction, In this article I will try to share one of the common patterns and will try to share a sample code base.
Swagger URL : http://localhost:8084/api/payment/swagger-ui/index.html