-- https://www.phpmyadmin.net/
--

START TRANSACTION;



-- --------------------------------------------------------

--
-- Table structure for table `callback`
--

CREATE TABLE `callback` (
  `id` int NOT NULL,
  `code` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `callback`
--

INSERT INTO `callback` (`id`, `code`) VALUES
(15, '{\"transaction_code\":\"5G-40070937783\",\"data\":\"e24e13155537da9796aeecc5fd531a9ce436867abcbc9369c456fe0ab1b422a169b68ec209f8d3fb892a74721fdcde04b694da0fe874667a20eee6facd0ba73d673383a10f444e702d20d7997f89d629612073b25265698a5ad4dc1c0097a05048a450f4d79a6f38557a14d139bfe228\"}'),
(16, '{\"transaction_code\":\"5G-44414888643\",\"data\":\"e24e13155537da9796aeecc5fd531a9c7df7c2e893ef4ea7bb88ab76b53139397b366a443fed8d3105825c11354277e2de5adaa2f30842b7600133fc8502862eff29d6deff06a5dadcfc205ebc4f856c607fa1f388740b32c5681af3890a7219606d50be64e4918c39a5471c0dfda083\"}'),
(17, '{\"transaction_code\":\"5G-57445859358\",\"data\":\"[BLOB]\"}'),
(18, '{\"transaction_code\":\"5G-05203707418\",\"data\":\"e24e13155537da9796aeecc5fd531a9ccb5c9ad734cb8b9599115eede2410ec3bf85536a726b308f8511b1989bb9f7c09ff88e556f471edaa2fc06cc113e4db1af7bea348aa07f884e7781e8794e40ca164fa8a0cf3420a82a4723606aff02950dfcc5bde5cfe5e9363c2334ece6dca4\"}');

-- --------------------------------------------------------

--
-- Table structure for table `callback_table`
--

CREATE TABLE `callback_table` (
  `id` int NOT NULL,
  `transaction_code` varchar(255) NOT NULL,
  `transaction_status` int NOT NULL,
  `transaction_amount` decimal(10,2) NOT NULL,
  `transaction_fee` decimal(10,2) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `callback_table`
--

INSERT INTO `callback_table` (`id`, `transaction_code`, `transaction_status`, `transaction_amount`, `transaction_fee`, `remark`, `created_at`) VALUES
(7, '5G-40070937783', 1, 1000.00, 100.00, '', '2023-09-18 12:23:52'),
(8, '5G-44414888643', 1, 1000.00, 100.00, '', '2023-09-18 14:28:21'),
(9, '5G-57445859358', 2, 1700.00, 0.00, 'Insufficient Balance', '2023-09-18 17:06:44'),
(10, '5G-05203707418', 1, 1500.00, 90.00, '', '2023-09-19 08:33:09');

-- --------------------------------------------------------

--
-- Table structure for table `payin`
--

CREATE TABLE `payin` (
  `id` int NOT NULL,
  `userid` varchar(300) NOT NULL,
  `amount` varchar(300) NOT NULL,
  `pay_url` varchar(300) NOT NULL,
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `payin`
--

INSERT INTO `payin` (`id`, `userid`, `amount`, `pay_url`, `date`) VALUES
(8, '1', '50', '', '2023-09-18 17:23:35'),
(9, '1', '500', '', '2023-09-18 17:23:40'),
(10, '1', '500', '', '2023-09-18 17:23:49'),
(11, '1', '500', '', '2023-09-18 17:24:32'),
(12, '1', '500', '', '2023-09-18 17:24:40'),
(13, '1', '500', '', '2023-09-18 17:24:52'),
(14, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D631360930', '2023-09-18 17:25:56'),
(15, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D874226381', '2023-09-18 17:49:46'),
(16, '1', '50', '', '2023-09-18 17:50:32'),
(17, '1', '100', '', '2023-09-18 17:50:35'),
(18, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D118758519', '2023-09-18 17:50:35'),
(19, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D682512999', '2023-09-18 17:51:13'),
(20, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D390241065', '2023-09-18 18:14:04'),
(21, '1', '1000', 'https://payment.cricpayz.io/#/?orderId=D498602000', '2023-09-18 19:55:01'),
(22, '1', '50', '', '2023-09-23 09:00:55'),
(23, '1', '50', '', '2023-09-23 09:02:47'),
(24, '1', '50', '', '2023-09-28 16:36:02');

-- --------------------------------------------------------

--
-- Table structure for table `withraw`
--

CREATE TABLE `withraw` (
  `id` int NOT NULL,
  `userid` varchar(300) NOT NULL,
  `account_holder` varchar(300) NOT NULL,
  `account_number` varchar(300) NOT NULL,
  `ifsc_code` varchar(300) NOT NULL,
  `amount` varchar(300) NOT NULL,
  `transcation_id` varchar(300) NOT NULL,
  `status` varchar(300) NOT NULL,
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `withraw`
--

INSERT INTO `withraw` (`id`, `userid`, `account_holder`, `account_number`, `ifsc_code`, `amount`, `transcation_id`, `status`, `date`) VALUES
(5, 'skamaljeet546@gmail.com', 'Rajkumar', '919010071092867', 'UTIB0000735', '1700', '5G-57445859358', 'SUCCESS', '2023-09-18 20:21:29'),
(6, 'skamaljeet546@gmail.com', 'Rajkumar', '919010071092867', 'UTIB0000735', '1500', '5G-05203707418', 'SUCCESS', '2023-09-19 12:27:17');

--
-- Indexes for table `callback`
--
ALTER TABLE `callback`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `callback_table`
--
ALTER TABLE `callback_table`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payin`
--
ALTER TABLE `payin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `withraw`
--
ALTER TABLE `withraw`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for table `callback`
--
ALTER TABLE `callback`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `callback_table`
--
ALTER TABLE `callback_table`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `payin`
--
ALTER TABLE `payin`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `withraw`
--
ALTER TABLE `withraw`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
COMMIT;

