I am trying to use the Java Swagger API https://github.com/Dwolla/dwolla-swagger-java
I do see a setApiKey function
ApiClient a = new ApiClient(); a.setApiKey();
but i dont see how I can set the secret. I do not want to keep using the Access Token as they expire in 60 mins.
This is what i want to achieve via the API:
- Send the auth url to user for signup.
- Use the returned code to fetch the account ID
- Make a payment to the account ID.
However, I am stuck at the first step itself.