/*
 * AUTH.h - au 서비스 AUTH 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호), T_MERCHANT, T_AMOUNT, T_BIZDATE
 * Response fields: T_ID1(auth_id), T_RC, T_STR2(승인번호), T_STATUS
 */
#ifndef AUTH_H
#define AUTH_H

#include "au_svc.h"

typedef struct {
    long auth_id;
    char card_no[24];
    char merchant_id[64];
    long amount;
    char approval_code[12];
    char auth_type[12];
    char status[8];
    char biz_date[16];
} au_auth_rec_t;

void AUTH(TPSVCINFO *p);

#endif /* AUTH_H */
