- Java 11
- Maven
- Terminal:
mvn spring-boot:run
- IntelliJ: Just start the application
Endpoint:
POST http://localhost:8080/payments
Payload
{
"proxy": "CLIP",
"order": {
"id": 7891,
"items": [
{
"id": 1287,
"quantity": 5,
"price": 12.5
},
{
"id": 1281,
"quantity": 2,
"price": 15
}
]
}
}