diff --git a/README.md b/README.md
index ccfc1873..4aeaadbc 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
The official Java library for integrating with the Onfido API. Refer to the full [API documentation](https://documentation.onfido.com) for details of expected requests and responses for all resources.
-This version uses Onfido API v3.2. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API.
+This version uses Onfido API v3.3. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API.
## Installation
diff --git a/onfido-java/pom.xml b/onfido-java/pom.xml
index 04f3a0d0..3eb07f0b 100644
--- a/onfido-java/pom.xml
+++ b/onfido-java/pom.xml
@@ -4,7 +4,7 @@
com.onfido
onfido-api-java
- 2.4.1
+ 2.5.0
Onfido API Java Client
Official Java API client library for the Onfido API
diff --git a/onfido-java/src/main/java/com/onfido/Onfido.java b/onfido-java/src/main/java/com/onfido/Onfido.java
index 798fcac2..13ff9bb3 100644
--- a/onfido-java/src/main/java/com/onfido/Onfido.java
+++ b/onfido-java/src/main/java/com/onfido/Onfido.java
@@ -11,9 +11,9 @@
public final class Onfido {
private static final OkHttpClient CLIENT = new OkHttpClient();
- private static final String EU_API_URL = "https://api.eu.onfido.com/v3.2/";
- private static final String US_API_URL = "https://api.us.onfido.com/v3.2/";
- private static final String CA_API_URL = "https://api.ca.onfido.com/v3.2/";
+ private static final String EU_API_URL = "https://api.eu.onfido.com/v3.3/";
+ private static final String US_API_URL = "https://api.us.onfido.com/v3.3/";
+ private static final String CA_API_URL = "https://api.ca.onfido.com/v3.3/";
/** The Configuration for the instance. */
public final Config config;
diff --git a/onfido-java/src/test/java/com/onfido/OnfidoTest.java b/onfido-java/src/test/java/com/onfido/OnfidoTest.java
index 6d74a5f6..7eb49c3f 100644
--- a/onfido-java/src/test/java/com/onfido/OnfidoTest.java
+++ b/onfido-java/src/test/java/com/onfido/OnfidoTest.java
@@ -23,18 +23,18 @@ public void throwsExceptionForMissingRegion() {
@Test()
public void usesEURegionApiUrl() {
Onfido onfido = Onfido.builder().apiToken("token").regionEU().build();
- assertEquals("https://api.eu.onfido.com/v3.2/", onfido.config.getApiUrl());
+ assertEquals("https://api.eu.onfido.com/v3.3/", onfido.config.getApiUrl());
}
@Test()
public void usesUSRegionApiUrl() {
Onfido onfido = Onfido.builder().apiToken("token").regionUS().build();
- assertEquals("https://api.us.onfido.com/v3.2/", onfido.config.getApiUrl());
+ assertEquals("https://api.us.onfido.com/v3.3/", onfido.config.getApiUrl());
}
@Test()
public void usesCanadaRegionApiUrl() {
Onfido onfido = Onfido.builder().apiToken("token").regionCA().build();
- assertEquals("https://api.ca.onfido.com/v3.2/", onfido.config.getApiUrl());
+ assertEquals("https://api.ca.onfido.com/v3.3/", onfido.config.getApiUrl());
}
}