public UnverifyOfflineDepositResponse Unverify(UnverifyOfflineDepositRequest request)
        {
            VerifyPermission(Permissions.Unverify, Modules.DepositVerification);

            var data = _paymentQueries.GetDepositByIdForViewRequest(request.Id);

            CheckBrand(data.BrandId);

            _offlineDepositCommands.Unverify(request.Id, request.Remarks, request.UnverifyReason);

            return(new UnverifyOfflineDepositResponse
            {
                Success = true
            });
        }
Esempio n. 2
0
 public UnverifyOfflineDepositResponse UnverifyOfflineDeposit(UnverifyOfflineDepositRequest request)
 {
     return(WebClient.SecurePostAsJson <UnverifyOfflineDepositRequest, UnverifyOfflineDepositResponse>(Token, _url + AdminApiRoutes.UnverifyOfflineDeposit, request));
 }