Point of Sale API

Find Your Android Application Fingerprint

Find the fingerprint of your Android application to configure the Point of Sale API application.

To use the Point of Sale API for Android, you must set the Android fingerprint of your mobile application in the Developer Dashboard. The Android fingerprint is part of the certificate used to sign your Android application. You should use a debug fingerprint until you are ready to release your application to production.

Find your debug fingerprint Permalink Get a link to this section

Android SDK tools automatically generate a debug certificate and use the debug certificate to sign your Android package kit (APK) when you build your application locally for debugging and testing. The debug certificate includes your debug fingerprint (among other identifying information).

The certificate information is located in the debug.keystore file. You can find the keystore file with the other Android environment configuration files for your application. By default, configuration files live in the ~/.android directory of your development environment.

To find your debug fingerprint:

  1. Use keytool to print information about your debug certificate:

    keytool -list -v -keystore ~/.android/debug.keystore \
      -alias androiddebugkey \
      -storepass android \
      -keypass android
    
  2. Copy the SHA1 string from the output:

    SHA1: LOOK_FOR_THIS_VALUE
    

    The SHA1 string is your debug fingerprint.

Find your release fingerprint Permalink Get a link to this section

Option 1: Copy it from the release certificate Permalink Get a link to this section

To release an Android application (for example, to make it available on Google Play), you must generate a real certificate (.keystore) and use it to sign your APK. The release certification includes your release fingerprint (among other identifying information).

To find your release fingerprint:

  1. Use keytool to print information about the .keystore file you created:

    keytool -list -v -keystore PATH_TO_KEYSTORE -alias VALUE_OF_ALIAS
    
  2. Copy the SHA1 string from the output:

    SHA1: LOOK_FOR_THIS_VALUE
    

    The SHA1 string is your release fingerprint.

Option 2: Copy it directly from a signed APK Permalink Get a link to this section

If you do not have direct access to your .keystore file, you can copy the application fingerprint directly from the signed APK:

  1. Use keytool to print information about the APK:

    keytool -list -printcert -jarfile YOUR_APP.apk
    
  2. Copy the SHA1 string from the output:

    SHA1: LOOK_FOR_THIS_VALUE
    

    The SHA1 string is your release fingerprint.