> ## Documentation Index
> Fetch the complete documentation index at: https://sigma-docs.pastelhq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Save User Device

> ```
POST api/v1/transaction-monitoring/customers/device
```




## OpenAPI

````yaml transaction-monitoring-model.json POST /transaction-monitoring/customers/device
openapi: 3.1.0
info:
  title: Sigma API
  description: Sigma Transaction Monitoring API documentation
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://sigmaprod.sabipay.com/api/v1
security:
  - ApiKeyAuth: []
    ApiSecretAuth: []
paths:
  /transaction-monitoring/customers/device:
    post:
      description: Save a user's device directly using API
      requestBody:
        description: Save users device for transaction monitoring
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveUserDevicePayload'
            example:
              device:
                deviceId: ios-7F3A9C2E-91B4-4A5E-9D8A-1F23C4B56789
                manufacturer: Apple
                model: iPhone 15 Pro
                name: Amara iPhone 15 Pro
                osName: iOS
                osVersion: 18.1.0
              customerId: CUS-10001
      responses:
        '200':
          description: Transaction monitoring result
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Device saved successfully
                    description: Message after sevice is saved
              example:
                message: Device saved successfully
        '400':
          description: Invalid input or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SaveUserDevicePayload:
      type: object
      required:
        - device
        - customerId
      properties:
        device:
          type: object
          description: Details of the user's device.
          required:
            - deviceId
            - manufacturer
            - model
            - name
            - osName
            - osVersion
          properties:
            deviceId:
              type: string
              description: Unique identifier for the device.
            manufacturer:
              type: string
              description: The manufacturer of the device (e.g., Apple, Samsung).
            model:
              type: string
              description: The model name of the device (e.g., iPhone 15 Pro).
            name:
              type: string
              description: The name of the device as recognized by the user.
            osName:
              type: string
              description: >-
                The name of the operating system running on the device (e.g.,
                iOS, Android).
            osVersion:
              type: string
              description: >-
                The version of the operating system running on the device (e.g.,
                18.1.0).
        customerId:
          type: string
          description: The unique identifier for the customer associated with the device.
      example:
        device:
          deviceId: ios-7F3A9C2E-91B4-4A5E-9D8A-1F23C4B56789
          manufacturer: Apple
          model: iPhone 15 Pro
          name: Amara iPhone 15 Pro
          osName: iOS
          osVersion: 18.1.0
        customerId: CUS-10001
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
      example:
        error: 400
        message: 'Invalid request payload: transactionData.reference is required'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apiKey
    ApiSecretAuth:
      type: apiKey
      in: header
      name: apiSecret

````