Added ownership reference + wallet creation methods
This commit is contained in:
@@ -128,7 +128,7 @@ message Account {
|
||||
string asset = 3; // canonical asset string (USD, ETH, USDT-TRC20)
|
||||
AccountState state = 4;
|
||||
string label = 5;
|
||||
string owner_ref = 6;
|
||||
string owner_ref = 6; // optional account_ref; empty means organization-owned
|
||||
google.protobuf.Struct provider_details = 7;
|
||||
google.protobuf.Timestamp created_at = 8;
|
||||
google.protobuf.Timestamp updated_at = 9;
|
||||
@@ -188,7 +188,7 @@ message OpenAccountRequest {
|
||||
AccountKind kind = 2;
|
||||
string asset = 3; // canonical asset string (USD, ETH, USDT-TRC20)
|
||||
string label = 4;
|
||||
string owner_ref = 5;
|
||||
string owner_ref = 5; // optional account_ref; empty means organization-owned
|
||||
google.protobuf.Struct params = 6;
|
||||
string correlation_id = 7;
|
||||
string parent_intent_id = 8;
|
||||
@@ -212,6 +212,7 @@ message ListAccountsRequest {
|
||||
AccountKind kind = 2;
|
||||
string asset = 3; // canonical asset string (USD, ETH, USDT-TRC20)
|
||||
common.pagination.v1.CursorPageRequest page = 4;
|
||||
string organization_ref = 5; // optional org scope (preferred over owner_ref)
|
||||
}
|
||||
|
||||
message ListAccountsResponse {
|
||||
|
||||
Reference in New Issue
Block a user