Get Acess token in java using the Java SDK

Hello how can i get the access token using the java sdk? I can’t see it on the documentation all i can see on how to set it up but to get the access token is not there.

Dwolla dwolla = new Dwolla(DWOLLA_CLIENT_ID, DWOLLA_CLIENT_SECRET, DwollaEnvironment.SANDBOX);

Hi @Elliot_John – Are you using out Kotlin SDK with support for Java? If so, then the library handles token creation and token management for you! You just need to create an instance of Dwolla, like you’re doing above, and you should be able to make calls to the api with it!

Hope that helps! Let us know if you run into errors!