The Veem Java SDK provides an interface to make it easier to call Veem Global Payments APIs for server side Java backend service.
- The SDK works on JDK 8 and above.
- A developer account
- An application with a customer account and the associated client id and secret (Authorization flow / Client Credentials flow)
- Clone the GitHub repo to your computer.
- Import it to the IDE of your choice.
To test the code locally, follow the steps below:
- cd to the project directory
- Client can either integrate with Authorization flow or Client Credential Flow;
- For Authorization flow, fill in the
testConfigAuth.json
file values with client id ,client secret and redirect url (optional). - For Client Credentials flow, fill in the
testConfigClientCreds.json
file values with client id and client secret. - To exercise all Veem Global Payment APIs, fill access_token received from either step 3 or 4 to
testConfig.json
. - Run the command:
./gradlew build
- this will run the unit test and build the sdk jar.