This Java web application provides a RESTful API that retrieve transactions from OpenBank Sandbox and transform it to a Backabse Transaction.
The API exposes three endpoints:
- Transactions list
- Transaction filter based on transaction type
- Total amount for transaction type
- Clone the project
- Build:
mvn clean install
- Run:
mvn tomcat7:run
- To generate the documentation run:
mvn javadoc:javadoc
- Use Postman to test it
Import the Postman collection: "BBAssignment.postman_collection.json"
- Execute POST OAuth Token
- Copy the access token
- Open any Transaction endpoint and replace the access token value
- It should return with the required data
- To have a new access token, you will need to execute POST OAuth Token again or if you already has a refresh token and it is not expired, you can also run POST OAuth Token - Refresh Token, just need to remember to replace the refresh token on the url.