/*
 * AUTH_CANCEL.h - au 서비스 AUTH_CANCEL 카피북 (copybook / record header).
 * Request fields:  T_ID1(auth_id), T_AMOUNT, T_KEY1(카드번호), T_BIZDATE, T_REASON
 * Response fields: T_CANCEL_ID, T_STATUS
 */
#ifndef AUTH_CANCEL_H
#define AUTH_CANCEL_H

#include "au_svc.h"

typedef struct {
    long cancel_id;
    long auth_id;
    char cancel_type[8];
    long amount;
    char card_no[24];
    char reason[128];
    char biz_date[16];
} au_auth_cancel_rec_t;

void AUTH_CANCEL(TPSVCINFO *p);

#endif /* AUTH_CANCEL_H */
