Change your API Keys

Smile Identity Core Library

If you are using the Smile Identity Core Library with any of the classes (e.g. Web API, ID API etc.) then you will need to complete two steps to switch from sandbox to production.

1. In the initialisation of the class, change your Sandbox API KEY to your Production API Key

You can find your production API key under the API key section of the developers portal. https://test-smileid.herokuapp.com/api-key

Once on the API Key Page, switch the toggle at the top to Production, and grab one of the API Keys based on whether you use Base64 or Decoded. (If there is not an API Key visible yet, hit Generate New API Key button.)

2. In the initialisation of the class, change the sid_server parameter from 0 (which is Sandbox) to 1 (which is Production)

ID API via a standalone POST request

There are two steps to switch your implementation from Sandbox to Production.

1. Change your Sandbox API KEY to your Production API Key

You can find your production API key under the API key section of the developers portal. https://test-smileid.herokuapp.com/api-key

Once on the API Key Page, switch the toggle at the top to Production, and grab one of the API Keys based on whether you use Base64 or Decoded. (If there is not an API Key visible yet, hit Generate New API Key button.)

2. Change the environment URL from the Sandbox URL to the Production URL

Replace this Sandbox environment URL: https://3eydmgh10d.execute-api.us-west-2.amazonaws.com/test/id_verification

With this Production environment URL : https://la7am6gdm8.execute-api.us-west-2.amazonaws.com/prod/id_verification

That's it. Run a job and check the job list with the toggle switched to Production and you should see it there. You're done.

SDK

When moving your mobile application over to production you will need to complete the following:

Ensure you update the SID Network Data being used in your Smile Identity job confirmation by changing:

  1. SIDNetData.setPartnerUrl from https://test-smileid.herokuapp.com to https://prod-smileid.herokuapp.com

  2. SIDNetData.setLambdaUrl from https://3eydmgh10d.execute-api.us-west-2.amazonaws.com/test/ to https://la7am6gdm8.execute-api.us-west-2.amazonaws.com/prod/

As follows:

SIDNetData data = new SIDNetData();
data.setPartnerUrl("https://prod-smileid.herokuapp.com");
data.setLambdaUrl("https://la7am6gdm8.execute-api.us-west-2.amazonaws.com/prod/");
builder = new SIDConfig.Builder(this).setSmileIdNetData(data)

Before you run any job with the KYC Service like Verify an ID Action or Registration Action with KYC in Production on any of our Products you will need to complete a Smile ID Partner KYC Check for your company.