{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/ecommerce-api-storedcredential.json",
  "title": "StoredCredential",
  "description": "StoredCredential from Verifone eCommerce API",
  "type": "object",
  "properties": {
    "reference": {
      "type": "string",
      "description": "Reference of a successfully processed initial COF transaction. Only used by subsequent COF transactions."
    },
    "stored_credential_type": {
      "type": "string"
    },
    "scheme_reference": {
      "type": "string",
      "description": "Scheme Reference Data received from issuer/acquirer."
    },
    "processing_model": {
      "type": "string",
      "enum": [
        "UNSCHEDULED_CREDENTIAL_ON_FILE",
        "CREDENTIAL_ON_FILE",
        "RECURRING",
        "REAUTHORIZATION",
        "NONE"
      ],
      "description": "Processing model to use for COF transaction. Refer to the card integration guide for more information on the usage."
    },
    "details": {
      "deprecated": true,
      "type": "string",
      "enum": [
        "UNSCHEDULED_CREDENTIAL_ON_FILE",
        "CREDENTIAL_ON_FILE",
        "RECURRING"
      ],
      "description": "Processing model to use for COF transaction. Refer to the card integration guide for more information on the usage."
    }
  }
}