/*
 * AUTH_3DS.h - au 서비스 AUTH_3DS 카피북 (copybook / record header).
 * 업무: 3DS/SCA 비대면 인증결과 기록·판정 (ECI → auth_status/liability, 책임전환).
 * Request fields:  T_PURCHASE_ID(매입 ID), T_STR1(eci: 05/06/07)
 * Response fields: T_STATUS(auth_status: Y/A/N/U), T_STR2(liability: ISSUER/MERCHANT),
 *                  T_ID1(tds_id), T_RC, T_MSG
 */
#ifndef AUTH_3DS_H
#define AUTH_3DS_H

#include "au_svc.h"

typedef struct {
    long tds_id;
    long purchase_id;
    char version[16];
    char eci[8];
    char auth_status[8];  /* Y=인증 A=시도 N=실패 U=불가 */
    char liability[16];   /* ISSUER(전환됨) / MERCHANT */
} au_3ds_rec_t;

void AUTH_3DS(TPSVCINFO *p);

#endif /* AUTH_3DS_H */
