/*
 * AUTH_PARTIAL.h - au 서비스 AUTH_PARTIAL 카피북 (copybook / record header).
 * Request fields:  T_KEY1(카드번호), T_MERCHANT(가맹점), T_AMOUNT(요청금액), T_BIZDATE(영업일)
 * Response fields: T_ID1(승인번호), T_AMT1(승인금액), T_RC(0=전액승인, 2=부분승인, 1=거절),
 *                  T_STR2(승인코드)
 */
#ifndef AUTH_PARTIAL_H
#define AUTH_PARTIAL_H

#include "au_svc.h"

typedef struct {
    char card_no[24];
    char merchant_id[64];
    long req_amount;
    long approved_amount;
    char biz_date[16];
} au_auth_partial_rec_t;

void AUTH_PARTIAL(TPSVCINFO *p);

#endif /* AUTH_PARTIAL_H */
