Get or insert the data fingerprint

POST /api/v2/vault/fingerprint

Description: Insert a fingerprint for the provided data or retrieve an existing fingerprint if already stored.

cURL
curl --request POST \
  --url https://api.example.com/api/v2/vault/fingerprint \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": 4242424242424242,
  "key": "Hash1"
}
'

Headers

  • x-tenant-id: string

Body (application/json)

Provide data number and hash key.

  • data (string) Example: 4242424242424242

  • key (string) Example: "Hash1"

Example request body:

Response (200 — application/json)

Fingerprint Response — returned when fingerprint insertion or retrieval is successful.

Example:

  • Delete Data from Locker: https://api-reference.hyperswitch.io/locker-api-reference/locker-general-purpose-storage/delete-data-from-locker

Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/locker-api-reference/locker-general-purpose-storage/get-or-insert-the-card-fingerprint.mdx

Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/locker-api-reference/locker-general-purpose-storage/get-or-insert-the-card-fingerprint