Take Payments

Find Your Android App Fingerprint

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

To use the Point of Sale API for Android, you must set the Android fingerprint of your mobile app in the Application Dashboard. The Android fingerprint is part of the certificate used to sign your Android app. We recommend using a debug fingerprint until you are ready to release your app to production.

Find your debug fingerprint

Android SDK tools automatically generate a debug certificate and uses the debug certificate to sign your APK when you build your app 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 app. By default, configuration files live in the ~/.android directory of your development environment.

To find your debug fingerprint:

  1. Use the keytool to print information about your debug certificate:
keytool -list -v -keystore ~/.android/debug.keystore \
  -alias androiddebugkey \
  -storepass android \
  -keypass android
  1. Copy the SHA1 string from the output:
SHA1: LOOK_FOR_THIS_VALUE

The SHA1 string is your debug fingerprint.

Find your release fingerprint

Option 1: Copy it from the release certificate

To release an Android app (e.g., 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 the keytool to print information about the .keystore file you created:
keytool -list -v -keystore PATH_TO_KEYSTORE -alias VALUE_OF_ALIAS
  1. 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

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

  1. Use the keytool to print information about the APK:
keytool -list -printcert -jarfile YOUR_APP.apk
  1. Copy the SHA1 string from the output:
SHA1: LOOK_FOR_THIS_VALUE

The SHA1 string is your release fingerprint.

Prev
< Point of Sale API Overview
Next
Point of Sale API Android Setup Guide >

Contact Developer Support, join our Slack channel, or ask for help on Stack Overflow