diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index b63fb4e..5774b84 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -6,7 +6,7 @@ import "auth/v1/msg.proto"; import "base/v1/msg.proto"; /* - INTERNAL DATA + INTERNAL DATA; */ message InternalTransactionData { @@ -442,7 +442,7 @@ message TransferAssetRes { } /* - Redeem Token + Redeem Token; */ message RedeemTokenReq { auth.v1.InternalIAM iam = 1; @@ -497,7 +497,7 @@ message PubKeyRes { } /* - Network Details + Network Details; */ enum NetworkType { UNKNOWN_NETWORK_TYPE = 0; @@ -581,6 +581,19 @@ message CommissionRes { uint64 commission_log_id = 1; } +message ReferrerCommissionLogOut { + double amount = 1; + string mobile = 2; + string status = 3; + double commission_percentage = 4; +} +message ReferrerCommissionLogsList { + repeated ReferrerCommissionLogOut list = 1; + uint32 page_no = 2; + uint32 page_size = 3; + uint32 total_count = 4; +} + /* * IPG - Internet Payment Gateway * 1. Get Token diff --git a/wallet/v1/srv.proto b/wallet/v1/srv.proto index 81325a9..32e1d2f 100644 --- a/wallet/v1/srv.proto +++ b/wallet/v1/srv.proto @@ -24,6 +24,9 @@ service WalletService { rpc UserGetTransactionList(TransactionListFilter) returns (TransactionList); + // Commission Logs + rpc GetReferrerCommissionLogsList(auth.v1.InternalIAM) returns (ReferrerCommissionLogsList); + // Get Token from IPG is and internal api rpc IPGGetToken(IPGGetTokenReq) returns (IPGGetTokenRes); // IPG Confirm is a public api