Get or insert the data fingerprint

Create or retrieve a fingerprint for given data.

Request

POST https://api.example.com/data/fingerprint

cURL

curl
curl --request POST \
  --url https://api.example.com/data/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"

Response

200 — application/json

Fingerprint Response (returned if the fingerprint insertion or retrieval was successful)


Related links:

  • Documentation: https://api-reference.hyperswitch.io/introduction

  • Locker API Reference: https://api-reference.hyperswitch.io/locker-api-reference/overview

  • Intelligent Router API Reference: https://api-reference.hyperswitch.io/intelligent-router-api-reference/overview

  • Retrieve Data from Locker: https://api-reference.hyperswitch.io/locker-api-reference/cards/retrieve-data-from-locker

  • Add Data in Locker: https://api-reference.hyperswitch.io/locker-api-reference/locker-general-purpose-storage/add-data-in-locker

Edit or raise an issue:

  • Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/locker-api-reference/cards/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/cards/get-or-insert-the-card-fingerprint