{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-authentication200-response-schema.json",
  "title": "Authentication200Response",
  "description": "The response object for user authentication.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-deutsche-post-internetmarke-post-parcel-germany-openapi.yml#/components/schemas/Authentication200Response",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The access token / bearer token. (user_token is deprecated)"
    },
    "walletBalance": {
      "type": "integer",
      "description": "money balance in portokasse"
    },
    "infoMessage": {
      "type": "string",
      "description": "info message, if any"
    },
    "tokenType": {
      "type": "string",
      "description": "Will always contain 'BearerToken'"
    },
    "expires_in": {
      "type": "integer",
      "description": "remaining token validity in seconds"
    },
    "issued_at": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}, \\d{2} [A-Za-z]{3} \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$",
      "description": "Time when token was issued"
    },
    "external_customer_id": {
      "type": "string",
      "description": "Matches the user requesting the token, used internally"
    },
    "authenticated_user": {
      "type": "string",
      "description": "user requesting the token"
    }
  }
}