feat: add InitReferrerCommissionLogIn message and corresponding RPC in WalletService

This commit is contained in:
Ata Safapour 2025-12-16 12:19:15 +03:30
parent 07b4912193
commit a74aa136d5
2 changed files with 7 additions and 0 deletions

View File

@ -581,6 +581,12 @@ message CommissionRes {
uint64 commission_log_id = 1;
}
message InitReferrerCommissionLogIn {
uint64 referrer_id = 1;
uint64 user_id = 2;
double amount = 3;
}
message ReferrerCommissionLogOut {
double amount = 1;
string mobile = 2;

View File

@ -26,6 +26,7 @@ service WalletService {
// Commission Logs
rpc GetReferrerCommissionLogsList(auth.v1.InternalIAM) returns (ReferrerCommissionLogsList);
rpc InitReferrerCommissionLog(InitReferrerCommissionLogIn) returns (base.v1.StatusRes);
// Get Token from IPG is and internal api
rpc IPGGetToken(IPGGetTokenReq) returns (IPGGetTokenRes);