# DeviceMetadata

End-user device metadata for fraud detection and compliance purposes This must be the metadata from the actual end-user's device, not from any intermediate proxy or client server

## Example Usage

```typescript
import { DeviceMetadata } from "@apexfintechsolutions/ascend-sdk/models/components";

let value: DeviceMetadata = {};
```

## Fields

| Field                                                                                                                                                                                                                                                                                                        | Type                                                                                                                                                                                                                                                                                                         | Required                                                                                                                                                                                                                                                                                                     | Description                                                                                                                                                                                                                                                                                                  | Example                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `deviceId`                                                                                                                                                                                                                                                                                                   | *string*                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | Unique identifier for the device                                                                                                                                                                                                                                                                             | 550e8400-e29b-41d4-a716-446655440000                                                                                                                                                                                                                                                                         |
| `deviceType`                                                                                                                                                                                                                                                                                                 | [components.IdentityLookupDeviceType](../../models/components/identitylookupdevicetype.md)                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | The type of device (e.g., mobile, desktop, tablet)                                                                                                                                                                                                                                                           | MOBILE                                                                                                                                                                                                                                                                                                       |
| `geolocation`                                                                                                                                                                                                                                                                                                | [components.Geolocation](../../models/components/geolocation.md)                                                                                                                                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | Geographic location coordinates of the end-user's device                                                                                                                                                                                                                                                     | {<br/>"latitude": 37.7749,<br/>"longitude": -122.4194<br/>}                                                                                                                                                                                                                                                  |
| `geolocationMechanism`                                                                                                                                                                                                                                                                                       | [components.IdentityLookupGeolocationMechanism](../../models/components/identitylookupgeolocationmechanism.md)                                                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | Method used to determine the end-user's device geolocation                                                                                                                                                                                                                                                   | IP_LOOKUP                                                                                                                                                                                                                                                                                                    |
| `ipAddress`                                                                                                                                                                                                                                                                                                  | *string*                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | The IP address of the end-user's device This must be the actual end-user's IP address, not the IP of any proxy or client server Must be a valid IPv4 or IPv6 address format IPv4 examples: "203.0.113.42", "198.51.100.1", "8.8.8.8" IPv6 examples: "2001:0db8:85a3::8a2e:0370:7334", "2606:4700:4700::1111" | 203.0.113.42                                                                                                                                                                                                                                                                                                 |
| `userAgent`                                                                                                                                                                                                                                                                                                  | *string*                                                                                                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                                                                                           | The user agent string from the end-user's device browser or application                                                                                                                                                                                                                                      | Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X)                                                                                                                                                                                                                                                       |