# DeviceFingerPrintService

**DeviceFingerPrintService** is a device SPI that enables the SDK to request device fingerprints from the MPP. The service requires SHA-256 encryption.

> **Note**: If this SPI is not implemented, or if the returned device fingerprint does not use SHA-256 encryption, the SDK will return a PARAMS\_ERROR during card activation.

## Method Signature

```java
public interface DeviceFingerPrintService {
    String getDeviceFingerPrint();
}
```

## Request parameters

| **Item** | **Type** | **Parameters** | **Description** | **Required** |
| --- | --- | --- | --- | --- |
| getDeviceFingerPrint() | Function | / | Obtains the device fingerprint. | Required |

## Response parameters

N/A

## Sample

```java
class DeviceIdService(val utdid: String): DeviceFingerPrintService {
    override fun getDeviceFingerPrint(): String? {
        return DeviceHelper.getDeviceFingerprint(utdid)
    }
}
```