Set Application Key/Secret in java Swagger

(Archit Khosla) #1


I am trying to use the Java Swagger API

I do see a setApiKey function

ApiClient a = new ApiClient();

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:

  1. Send the auth url to user for signup.
  2. Use the returned code to fetch the account ID
  3. Make a payment to the account ID.

However, I am stuck at the first step itself.


(Cory Anderson) #2