{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/citi/main/json-schema/citi-card-enrollment-success-response-schema.json",
  "title": "CardEnrollmentSuccessResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citi-mvca-api-openapi.yml#/components/schemas/CardEnrollmentSuccessResponse",
  "properties": {
    "cardHolderUserId": {
      "description": "Unique ID to be generated & sent by Citi clients to identify user profile.",
      "type": "string",
      "format": "alphanumeric [a-zA-Z0-9]",
      "maxLength": 20,
      "minLength": 1
    },
    "countryOfIssuance": {
      "description": "Country in which the VCA program is issued out of.",
      "type": "string",
      "format": "alphabets [a-zA-Z]",
      "maxLength": 3,
      "minLength": 3
    },
    "screeningInfo": {
      "description": "Screening status after performing customer screening.",
      "type": "object",
      "format": "object",
      "$ref": "#/$defs/ScreeningInfo"
    },
    "cardSuccessInfo": {
      "description": "VCA Card Info tagged to unique vcaRequestId generated by Citi for client reference.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CardSuccessInfo"
      }
    }
  },
  "$defs": {
    "CardSuccessInfo": {
      "properties": {
        "vcaGuid": {
          "description": "Unique Id to refer Virtual Card Account.",
          "type": "integer",
          "format": "int64",
          "maxLength": 19,
          "minLength": 1
        },
        "vcaRequestId": {
          "description": "Unique reference Id generated by Citi for MASTER network.",
          "type": "string",
          "format": "alphanumeric [a-zA-Z0-9-]",
          "maxLength": 20
        }
      }
    },
    "ScreeningInfo": {
      "properties": {
        "status": {
          "description": "Final status of Enrollment process.",
          "type": "string",
          "format": "alphabets[a-zA-Z]",
          "enum": [
            "APPROVED",
            "UNDER CITI REVIEW",
            "DECLINED"
          ]
        },
        "description": {
          "description": "Description of final status after performing customer screening.",
          "type": "string",
          "format": "alphabets[a-zA-Z]"
        }
      }
    }
  }
}