declare type TDirectPayment = {
  _id?: string; // Used for Reference only temporary
  mid?: string;
  api_mode?: string;
  payment_type?: string;
  order_id?: string; // unitBi
  ccy?: string;
  amount?: number;
  card_no?: string;
  exp_date?: string | Date;
  cvv2?: string | number;
  payer_name?: string;
  payer_email?: string;
  merchant_reference?: string;
  back_url?: string; // for redirect payment
  redirect_url?: string; // for redirect payment
  notify_url?: string; // for redirect payment
  bill_to_address_city?: string;
  bill_to_address_line1?: string;
  bill_to_address_country?: string;
  bill_to_address_postal_code?: string;
  merchant_key?: string;
  signature?: string;
  payment_url?: string;
  transaction_id?: string; // for enquiry transaction
  request_mid?: string; // for enquiry transaction
  backURL?: string; // for cancel payment redirect
  successURL?: string; // for success payment redirect
  method?: string;
};

declare type TPaymentEnquiry = {
  mid: string;
  transaction_id?: string;
  order_id?: string;
  acquirer_transaction_id?: string;
  request_amount?: string;
  request_ccy?: string;
  authorized_amount?: string;
  authorized_ccy?: string;
  acquirer_authorized_amount?: string;
  acquirer_authorized_ccy?: string;
  response_code?: string;
  response_msg?: string;
  acquirer_response_code?: string;
  acquirer_response_msg?: string;
  acquirer_authorization_code?: string;
  acquirer_mpi_eci?: string;
  created_timestamp?: string;
  acquirer_created_timestamp?: string;
  first_6?: string;
  last_4?: string;
  payer_name?: string;
  exp_date?: string;
  request_timestamp?: string;
  request_mid?: string;
  transaction_type?: string;
  payment_mode?: string;
  signature?: string;
};
