{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/billdesk/main/json-schema/billdesk-cardaccid-auth-data-schema.json",
  "title": "cardaccid auth data",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/billdesk-tokenization-openapi.yml#/components/schemas/Cardaccid_auth_data",
  "type": "object",
  "properties": {
    "transactionid": {
      "$ref": "#/$defs/Transactionid"
    },
    "authenticationid": {
      "$ref": "#/$defs/Authenticationid"
    },
    "rupay_auth_ref_no": {
      "$ref": "#/$defs/Rupay_auth_ref_no"
    },
    "eci": {
      "$ref": "#/$defs/Eci"
    },
    "cavv": {
      "$ref": "#/$defs/Cavv"
    },
    "threeds_version": {
      "$ref": "#/$defs/Threeds_version"
    },
    "ds_transaction_id": {
      "$ref": "#/$defs/Ds_transaction_id"
    }
  },
  "$defs": {
    "Authenticationid": {
      "title": "authenticationid",
      "x-stoplight": {
        "id": "c1hskskz8e2iq"
      },
      "type": "string",
      "description": "Unique authenticationid created by BillDesk",
      "pattern": "^[a-zA-Z0-9]{14,35}$"
    },
    "Cavv": {
      "title": "cavv",
      "x-stoplight": {
        "id": "72ehfi721p2mm"
      },
      "type": "string",
      "description": "CAVV value generated by issuer (for V, M, D, A cards)"
    },
    "Ds_transaction_id": {
      "title": "ds_transaction_id",
      "x-stoplight": {
        "id": "wceohqaji2zvf"
      },
      "type": "string",
      "description": "Directory server transaction id for 3ds2.0",
      "pattern": "^[0-9a-f]{8}[1-5][0-9a-f]{3}[0-9a-f]{12}$"
    },
    "Eci": {
      "title": "eci",
      "x-stoplight": {
        "id": "jq2g7i098vu5j"
      },
      "type": "string",
      "description": "Authentication ECI indicator, as per the 3ds protocol (for V, M, D, A cards)"
    },
    "Rupay_auth_ref_no": {
      "title": "rupay_auth_ref_no",
      "x-stoplight": {
        "id": "p2pdfeb2zd0g6"
      },
      "type": "string",
      "description": "Refers to the specific transaction reference provided by NPCI (for R cards)"
    },
    "Threeds_version": {
      "title": "threeds_version",
      "x-stoplight": {
        "id": "o8scvjfj8moas"
      },
      "type": "string",
      "description": "Protocol of the 3ds2.0 version used for authentication\n",
      "enum": [
        "2.1.0",
        "2.2.0"
      ]
    },
    "Transactionid": {
      "title": "transactionid",
      "x-stoplight": {
        "id": "uqizgn6tyoqhg"
      },
      "type": "string",
      "description": "Unique transactionid created by BillDesk ",
      "pattern": "^[A-Za-z0-9]{14,35}$"
    }
  }
}