This is the shortest story to demonstrate the design in an interview or code
review. Start the stack with docker compose up --build, then use the examples
below with a local API at http://localhost:8080.
POST /api/v1/auctions./publish and /start.POST /api/v1/auctions/{auctionId}/lots./api/v1/lots/{lotId}/bids. The larger
accepted bid wins; a bid whose event timestamp is at or after the exact
close time is rejected./api/v1/auctions/{auctionId}/close.POST /api/v1/payments and an
Idempotency-Key header.paymentId. Settlement requires the
authorized payment and any credits to cover the full amount owed./api/v1/customers/{customerId}/invoice to show the itemized result.For request bodies, response examples, authentication, and all available routes, open the static Swagger UI.