-- Create Table Statement for 'Charge Transaction Detail'
DROP TABLE IF EXISTS `CHARGE_TRANSACTION_DETAIL`;
CREATE TABLE `CHARGE_TRANSACTION_DETAIL` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	REQUEST_TYPE varchar,
	REQUEST_DATE datetime,
	RESPONSE_DATE datetime,
	REQUEST_AMOUNT int(11),
	RESPONSE_AMOUNT int(11),
	PROVIDER_TRANSACTION_ID bigint(20),
	PROVIDER_REFERENCE_NUMBER varchar,
	PROCESSING_PROFILE_TYPE varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	CHARGEBACK_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;