/*
 * PREAUTH.h - au 서비스 PREAUTH 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호), T_MERCHANT, T_AMOUNT, T_BIZDATE
 * Response fields: T_ID2(preauth_id)
 */
#ifndef PREAUTH_H
#define PREAUTH_H

#include "au_svc.h"

typedef struct {
    long preauth_id;
    char card_no[24];
    char merchant_id[64];
    long amount;
    char status[8];
    char biz_date[16];
} au_preauth_rec_t;

void PREAUTH(TPSVCINFO *p);

#endif /* PREAUTH_H */
