{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/configuration-network-token-schema.json",
  "title": "NetworkToken",
  "description": "NetworkToken schema from Adyen API",
  "type": "object",
  "properties": {
    "brandVariant": {
      "description": "The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**.",
      "type": "string"
    },
    "creationDate": {
      "description": "Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**..",
      "format": "date-time",
      "type": "string"
    },
    "device": {
      "description": "Device details.",
      "$ref": "#/components/schemas/DeviceInfo"
    },
    "id": {
      "description": "The unique identifier of the network token.",
      "type": "string"
    },
    "paymentInstrumentId": {
      "description": "The unique identifier of the payment instrument to which this network token belongs to.",
      "type": "string"
    },
    "status": {
      "description": "The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**.",
      "enum": [
        "active",
        "inactive",
        "suspended",
        "closed"
      ],
      "type": "string"
    },
    "tokenLastFour": {
      "description": "The last four digits of the network token `id`.",
      "type": "string"
    },
    "type": {
      "description": "The type of wallet the network token is associated with. For example, **applePay**.",
      "type": "string"
    }
  }
}