StripePaymentProject is a project built using Strip API and Spring Boot, which creates, captures, refunds, and shows a list of payment intents.
Before running the application, ensure you have the following prerequisites:
- Java Development Kit (JDK) installed.
- Maven for building the Spring Boot project.
-
Create Intent for Payment
- Endpoint:
POST /api/v1/create_intent
- Request Body: paymentIntentDeatils
- Endpoint:
-
Capture the Created Intent
- Endpoint:
POST /api/v1/capture_intent/{id}
- Path Variable:
id
- ID of the created intent
- Endpoint:
-
Create a Refund for the Created Intent
- Endpoint:
POST /api/v1/create_refund/{id}
- Path Variable:
id
- ID of the created intent
- Endpoint:
-
Get a List of All Intents
- Endpoint:
GET /api/v1/get_intents
- Endpoint:
{
"paymentIntentDeatils": "enter your payment details"
}