/*
 * FRAUD_DETECT.h - au 서비스 FRAUD_DETECT 카피북 (copybook / record header).
 * Request fields:  T_ID1(auth_id), T_AMOUNT, T_KEY1(카드번호), T_BIZDATE
 * Response fields: T_ARG1(score), T_ID2(fraud_id), T_RC
 */
#ifndef FRAUD_DETECT_H
#define FRAUD_DETECT_H

#include "au_svc.h"

typedef struct {
    long auth_id;
    long fraud_id;
    char card_no[24];
    long amount;
    long score;
    char reason[128];
    char biz_date[16];
} au_fraud_detect_rec_t;

void FRAUD_DETECT(TPSVCINFO *p);

#endif /* FRAUD_DETECT_H */
