/*
 * RISK_SCORE_INQ.h - au 서비스 RISK_SCORE_INQ 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호)
 * Response fields: T_ARG1(종합 리스크점수 0~1000), T_STR1(등급 LOW/MID/HIGH/SEVERE),
 *                  T_ARG2(부정적발 건수), T_ARG3(30일 거절 건수)
 */
#ifndef RISK_SCORE_INQ_H
#define RISK_SCORE_INQ_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    long risk_score;
    char grade[8];
    long fraud_cases;
    long declines30;
} au_risk_score_rec_t;

void RISK_SCORE_INQ(TPSVCINFO *p);

#endif /* RISK_SCORE_INQ_H */
