-- Create Table Statement for 'Ezidebit Chargeback Transaction'
DROP TABLE IF EXISTS `EZIDEBIT_CHARGEBACK_TRANSACTION`;
CREATE TABLE `EZIDEBIT_CHARGEBACK_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	BANK_FAILED_REASON varchar,
	BANK_RECEIPT_ID varchar,
	BANK_RETURN_CODE varchar,
	DEBIT_DATE varchar,
	INVOICE_ID varchar,
	PAYMENT_AMOUNT varchar,
	PAYMENT_ID varchar,
	PAYMENT_STATUS varchar,
	SETTLEMENT_DATE varchar,
	TRANSACTION_FEE_CLIENT varchar,
	TRANSACTION_FEE_CUSTOMER varchar,
	TRANSACTION_TIME varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	EZIDEBIT_CHARGEBACK_BATCH_FK bigint(20),
	EZIDEBIT_CUSTOMER_ID varchar,
	CUSTOMER_NAME varchar,
	PAYMENT_METHOD varchar,
	PAYMENT_REFERENCE varchar,
	PAYMENT_SOURCE varchar,
	SCHEDULED_AMOUNT varchar,
	YOUR_GENERAL_REFERENCE varchar,
	YOUR_SYSTEM_REFERENCE varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;