public PayPalOrderResponseDTO getOrderDetails(String orderId) throws IOException, InterruptedException { var accessTokenDTO = getAuthResponse(); var request = HttpRequest.newBuilder() .uri(URI.create(createUrl(BASE_URL, ORDER_DETAILS, orderId))) .header(HttpHeaders.AUTHORIZATION, "Bearer " + acces...