/*
 * FRAUD_RULE_AMT.h - au 서비스 FRAUD_RULE_AMT 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호), T_AMOUNT(거래금액), T_BIZDATE(영업일)
 * Response fields: T_RC(0=정상, 1=고액 이상거래 탐지), T_ID1(적발 로그 ID),
 *                  T_AMT1(30일 평균금액), T_ARG1(탐지점수)
 */
#ifndef FRAUD_RULE_AMT_H
#define FRAUD_RULE_AMT_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    long amount;
    long avg30;
    long score;
    long fraud_id;
} au_fraud_rule_amt_rec_t;

void FRAUD_RULE_AMT(TPSVCINFO *p);

#endif /* FRAUD_RULE_AMT_H */
