> ## Documentation Index
> Fetch the complete documentation index at: https://api-reference.hyperswitch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get or insert the data fingerprint

> Get or insert the data fingerprint



## OpenAPI

````yaml post /data/fingerprint
openapi: 3.0.2
info:
  title: Tartarus - OpenAPI 3.0
  description: >-
    This is the OpenAPI 3.0 specification for the card locker.

    This is used by the [hyperswitch](https://github.com/juspay/hyperswitch) for
    storing card information securely.
  version: '1.0'
servers: []
security: []
tags:
  - name: Key Custodian
    description: API used to initialize the locker after deployment.
  - name: Data
    description: CRUD APIs for working with data to be stored in the locker
  - name: Cards
    description: >-
      CRUD APIs for working with cards data to be stored in the locker
      (deprecated)
paths:
  /data/fingerprint:
    post:
      tags:
        - Data
      summary: Get or insert the data fingerprint
      description: Get or insert the data fingerprint
      parameters:
        - in: header
          name: x-tenant-id
          schema:
            type: string
      requestBody:
        description: Provide data number and hash key
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FingerprintReq'
        required: true
      responses:
        '200':
          description: Fingerprint Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FingerprintRes'
components:
  schemas:
    FingerprintReq:
      type: object
      properties:
        data:
          type: string
          example: 4242424242424242
        key:
          type: string
          example: Hash1
    FingerprintRes:
      type: object
      description: >-
        Response received if the fingerprint insertion or retrieval was
        successful
      properties:
        fingerprint_id:
          type: string

````