gradle bootRun
Once the application is running, a Swagger definition is available here: http://localhost:7000/swagger-ui.html. This can be used to call the API, or build a client in wide range of languages.
The best place to look for interface specification is the Swagger file. At a high-level, there are 2 API operations
- Balance: Retrieve account balance and max withdrawal amount
http://localhost:7000/balance/123456789/1234 - Withdraw: Withdraw cash from ATM
http://localhost:7000/withdraw/123456789/1234/200