syntax = "proto3";
package mw;

service TransactionService {
  rpc ProcessTransaction (TransactionRequest) returns (TransactionResponse);
}

message TransactionRequest {
  string request_id   = 1;
  string type         = 2;
  string tenant_id    = 3;
  bytes  payload_json = 4;
}

message TransactionResponse {
  string request_id  = 1;
  string status      = 2;
  bytes  result_json = 3;
  string trace_id    = 4;
}
