feat: add admin approval for IRT withdrawals

This commit is contained in:
2026-10-05 22:52:52 +03:30
parent c79f1071d8
commit 7082cf287e
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -29,4 +29,6 @@ service InternalWalletSrv {
// deactivation/locking so referenced financial history remains intact. // deactivation/locking so referenced financial history remains intact.
rpc AdminUpsertAsset(AdminUpsertAssetReq) returns (AdminAssetMutationRes); rpc AdminUpsertAsset(AdminUpsertAssetReq) returns (AdminAssetMutationRes);
rpc AdminDeactivateAsset(AdminDeactivateAssetReq) returns (base.v1.StatusRes); rpc AdminDeactivateAsset(AdminDeactivateAssetReq) returns (base.v1.StatusRes);
rpc AdminApproveIRTWithdrawal(AdminApproveIRTWithdrawalReq) returns (base.v1.StatusRes);
} }
+9
View File
@@ -227,6 +227,15 @@ message LockAssetReq {
optional auth.v1.TFA tfa = 4; // if request is not internal optional auth.v1.TFA tfa = 4; // if request is not internal
} }
// Administrative approval is the only transition that may enqueue an IRT
// withdrawal for blockchain settlement. The receipt identifies the completed
// off-chain bank payment.
message AdminApproveIRTWithdrawalReq {
uint64 withdraw_log_id = 1;
string bank_receipt = 2;
int64 actor_user_id = 3;
}
/* /*
BNPL - not really but close name BNPL - not really but close name
*/ */