
CREATE TABLE TBL_WALLET_WITHDRAW
(
	ROW_ID BIGINT NOT NULL IDENTITY(1, 1) PRIMARY KEY
	,USERID VARCHAR(150) NOT NULL
	,CUSTOMER_ID BIGINT NOT NULL
	,CUSTOMER_BANK_ID INT NOT NULL
	,CUSTOMER_ACCOUNT_NO VARCHAR(50) NOT NULL
	,CUSTOMER_BANK_NAME NVARCHAR(150) NOT NULL
	,WITHDRAW_AMOUNT MONEY NOT NULL
	,CHARGE_AMOUNT MONEY NOT NULL
	,REQUESTED_DATE DATETIME NOT NULL
	,CONFIRMED_DATE DATETIME NULL
	,RESPONSE_CODE VARCHAR(10) NULL
	,RESPONSE_MSG NVARCHAR(250) NULL
)


SELECT * FROM TBL_WALLET_WITHDRAW
SELECT AVAILABLEBALANCE,walletaccountno,* FROM CUSTOMERMASTER WHERE EMAIL='demoremit'

select * from FastMoneyPro_Account.dbo.tran_master where acc_num = '6000005'


EXEC proc_mobile_withdrawFromWallet @flag = 'CONFIRM'
, @USER= 'demoremit'
, @TXN_ID= '5'
, @AMOUNT = '1000'


