On This Page
Using the API Key
The API key is used to verify that your app (in debug mode or release mode) can use
the Samsung Pay SDK APIs with the Samsung Pay application. To get the API key, you must
create a
debug-api-key
file and include it in the manifest
file.- To use the API key, include it in themanifestfile with a custom tag. This enables the merchant app androidmanifestfile to provide theDebugMode,spay_debug_api_keyvalues as metadata.
Example: Debug Mode
<meta-data android:name="debug_mode" android:value="Y" /> <meta-data android:name="spay_debug_api_key" android:value="asdfggkndkeie17283094858" />
Example: Release Mode
<meta-data android:name="debug_mode" android:value="N" />