Using the Integration Environment
You can use the Integration environment to test your implementation before it goes live, or to review a particular configuration before publishing live to Production.
Details
Make sure to set your endpoint to Endpoints.INTEGRATION.
Copy
ClientConfiguration config = new ClientConfiguration("<api_key>", "<api_client_key>");
config.setEndpoint(Endpoints.INTEGRATION);
config.useHttps();
To switch back to production, either use Endpoints.PRODUCTIONor remove config.setEndpoint(Endpoints.INTEGRATION); altogether.