# DeviceMetadataCreate

End-user device metadata for fraud detection and compliance All fields must represent the actual end-user's device, not any intermediate proxy or client server through which requests may be routed

## Example Usage

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

let value: DeviceMetadataCreate = {
  ipAddress: "203.0.113.42",
};
```

## Fields

| Field                                                                                                                                                                                                                                                                                                                               | Type                                                                                                                                                                                                                                                                                                                                | Required                                                                                                                                                                                                                                                                                                                            | Description                                                                                                                                                                                                                                                                                                                         | Example                                                                                                                                                                                                                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `deviceId`                                                                                                                                                                                                                                                                                                                          | *string*                                                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                  | Unique identifier for the device                                                                                                                                                                                                                                                                                                    | 550e8400-e29b-41d4-a716-446655440000                                                                                                                                                                                                                                                                                                |
| `deviceType`                                                                                                                                                                                                                                                                                                                        | [components.DeviceType](../../models/components/devicetype.md)                                                                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                  | The type of device (e.g., mobile, desktop, tablet)                                                                                                                                                                                                                                                                                  | MOBILE                                                                                                                                                                                                                                                                                                                              |
| `geolocation`                                                                                                                                                                                                                                                                                                                       | [components.LatLngCreate](../../models/components/latlngcreate.md)                                                                                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                  | An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 standard</a>. Values must be within normalized ranges. |                                                                                                                                                                                                                                                                                                                                     |
| `geolocationMechanism`                                                                                                                                                                                                                                                                                                              | [components.GeolocationMechanism](../../models/components/geolocationmechanism.md)                                                                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                  | Method used to determine the end-user's device geolocation                                                                                                                                                                                                                                                                          | IP_LOOKUP                                                                                                                                                                                                                                                                                                                           |
| `ipAddress`                                                                                                                                                                                                                                                                                                                         | *string*                                                                                                                                                                                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                  | 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)                                                                                                                                                                                                                                                                              |