/*
 * PAY_FAILSTAT.h - py 서비스 PAY_FAILSTAT 카피북 (copybook / record header).
 * Request fields:  T_BIZDATE
 * Response fields: T_COUNT(총 반려), T_GROSS(총액), T_ARG2(사유 그룹수),
 *                  occurrence: T_STR1[i](사유), T_ARG1[i](건수), T_AMT1[i](금액)
 */
#ifndef PAY_FAILSTAT_H
#define PAY_FAILSTAT_H

#include "py_svc.h"

typedef struct {
    char biz_date[16];
    char fail_reason[128];
    long fail_count;
    long fail_amount;
} py_failstat_rec_t;

void PAY_FAILSTAT(TPSVCINFO *p);

#endif /* PAY_FAILSTAT_H */
