code: private AuthorizationFailResponse callAuthorizationFail(String ticket, AuthorizationFailRequest.Reason reason)
      {
          // Create a request for /api/auth/authorization/fail API.
          AuthorizationFailRequest request = new AuthorizationFailRequest()
              .setTicket(ticket)
              .setReason(reason);
  
          try
          {
              // Call Authlete's /api/auth/authorization/fail API.
              return mApi.authorizationFail(request);
          }
          catch (AuthleteApiException e)
          {
              // The API call failed.
              throw apiFailure("/api/auth/authorization/fail", e);
          }
      }
docs: Call Authlete's {@code /api/auth/authorization/fail} API.