All URIs are relative to https://api.trulioo.com
| Method | HTTP request | Description |
|---|---|---|
| connectionAsyncCallbackUrl | POST /connection/v1/async-callback | If set, the transaction will run asynchronously and Trulioo will try to update the client with transaction state updates until completed. If callback is not desired but the client wants to initiate an asynchronous transaction, provide https://api.trulioo.com/connection/v1/async-callback as the Callback URL. |
| sayHello | GET /connection/v1/sayhello/{name} | This method enables you to check if your system can connect to our system. You can even use a web browser to verify a connection to our system. |
| testAuthentication | GET /connection/v1/testauthentication | This method enables you to check if your credentials are valid. You will need to use basic authentication to ensure a successful response. |
Object connectionAsyncCallbackUrl(transactionStatus)
If set, the transaction will run asynchronously and Trulioo will try to update the client with transaction state updates until completed. If callback is not desired but the client wants to initiate an asynchronous transaction, provide https://api.trulioo.com/connection/v1/async-callback as the Callback URL.
// Import classes:
//import com.trulioo.normalizedapi.ApiException;
//import com.trulioo.normalizedapi.api.ConnectionApi;
ConnectionApi apiInstance = new ConnectionApi();
TransactionStatus transactionStatus = new TransactionStatus(); // TransactionStatus | transactionStatus
try {
Object result = apiInstance.connectionAsyncCallbackUrl(transactionStatus);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConnectionApi#connectionAsyncCallbackUrl");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| transactionStatus | TransactionStatus | transactionStatus |
Object
No authorization required
- Content-Type: application/json, text/json
- Accept: application/json, text/json
String sayHello(name)
This method enables you to check if your system can connect to our system. You can even use a web browser to verify a connection to our system.
// Import classes:
//import com.trulioo.normalizedapi.ApiException;
//import com.trulioo.normalizedapi.api.ConnectionApi;
ConnectionApi apiInstance = new ConnectionApi();
String name = "name_example"; // String | Name to be returned in the response
try {
String result = apiInstance.sayHello(name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConnectionApi#sayHello");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | Name to be returned in the response |
String
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
String testAuthentication()
This method enables you to check if your credentials are valid. You will need to use basic authentication to ensure a successful response.
// Import classes:
//import com.trulioo.normalizedapi.ApiClient;
//import com.trulioo.normalizedapi.ApiException;
//import com.trulioo.normalizedapi.Configuration;
//import com.trulioo.normalizedapi.auth.*;
//import com.trulioo.normalizedapi.api.ConnectionApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ConnectionApi apiInstance = new ConnectionApi();
try {
String result = apiInstance.testAuthentication();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConnectionApi#testAuthentication");
e.printStackTrace();
}This endpoint does not need any parameter.
String
- Content-Type: Not defined
- Accept: application/json, text/json