---
updatedAt: 2026-05-29T13:25:42.000Z
agentTools:
  projectIndex: https://developer.eftcorp.com/llms.txt
---

# Renew an existing JWT

Renews a JWT using the current token — no credentials required. The returned JWT replaces the old one and must be used for all subsequent requests.

# OpenAPI definition

```json
{
  "servers": [
    {
      "url": "https://eclipse-java-sandbox.ukheshe.rocks",
      "description": "Eclipse sandbox environment"
    },
    {
      "url": "https://ukheshe.live",
      "description": "Eclipse production environment"
    },
    {
      "url": "https://eclipse-java-develop.ukheshe.rocks",
      "description": "Eclipse development environment"
    },
    {
      "url": "https://zw.ukheshe.live",
      "description": "Zim Eclipse production environment"
    }
  ],
  "openapi": "3.1.0",
  "components": {
    "schemas": {
      "ExceptionData": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "info": {
            "type": "object",
            "additionalProperties": {}
          },
          "severity": {
            "$ref": "#/components/schemas/ExceptionSeverity"
          },
          "spanId": {
            "type": "string"
          },
          "stackTrace": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ExceptionType"
          }
        }
      },
      "ExceptionSeverity": {
        "type": "string",
        "enum": [
          "CRITICAL",
          "HIGH",
          "INFO",
          "LOW",
          "MEDIUM"
        ]
      },
      "ExceptionType": {
        "type": "string",
        "enum": [
          "BUSINESS",
          "SYSTEM"
        ]
      },
      "Jwt": {
        "type": "object",
        "properties": {
          "csrfHeaderName": {
            "type": "string"
          },
          "csrfToken": {
            "type": "string"
          },
          "expires": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ],
            "description": "The date and time the JWT expires and should be refreshed before"
          },
          "expiresEpochSecs": {
            "type": "integer",
            "format": "int64"
          },
          "headerName": {
            "type": "string",
            "description": "The HTTP header name to use in order to pass the JWT as the bearer token. E.g. Authorization"
          },
          "headerValue": {
            "type": "string",
            "description": "The HTTP header value to use in order to pass the JWT as the bearer token. E.g. Bearer AAAA..."
          },
          "refreshToken": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The roles this login is associated with"
          },
          "sessionId": {
            "type": "string",
            "description": "A unique identifier for this login session. Typiclaly not needed by the caller"
          },
          "tenantId": {
            "type": "integer",
            "format": "int64",
            "description": "The tenant ID associated with these credentials. Optional as some identities are global and not associated to any specific tenant"
          }
        }
      },
      "PlainJwt": {
        "type": "object",
        "properties": {
          "jwt": {
            "type": "string"
          }
        }
      }
    }
  },
  "info": {
    "description": "A RESTful API using JSON as the data transfer model, covering all tenant-facing functionality in the Eclipse payments platform.",
    "title": "Eclipse ReST API",
    "version": "3.0.0"
  },
  "tags": [
    {
      "name": "a) Authentication",
      "description": "Authenticate tenant and customer identities using JWT tokens obtained via password or PKI challenge/response. JWTs must be reused until near expiry, then renewed. PKI authentication uses RSA X.509 key pairs: the client calls /login-challenges to receive an encrypted challenge, signs or decrypts it with its private key, and presents the result to /login to receive a JWT."
    }
  ],
  "paths": {
    "/eclipse-conductor/rest/v1/authentication/renew": {
      "post": {
        "summary": "Renew an existing JWT",
        "description": "Renews a JWT using the current token — no credentials required. The returned JWT replaces the old one and must be used for all subsequent requests.",
        "tags": [
          "a) Authentication"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlainJwt"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Jwt"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized - invalid or expired token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExceptionData"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExceptionData"
                  }
                }
              }
            }
          }
        },
        "parameters": []
      }
    }
  }
}
```