/*
 * PAY_FAILRATE.h - py 서비스 PAY_FAILRATE 카피북 (copybook / record header).
 * Request fields:  T_MERCHANT, T_BIZDATE
 * Response fields: T_RC(0 산출 / 1 대상없음), T_COUNT(전체), T_ARG1(반려), T_ARG2(실패율 bps)
 */
#ifndef PAY_FAILRATE_H
#define PAY_FAILRATE_H

#include "py_svc.h"

typedef struct {
    char merchant_id[64];
    long total_count;
    long fail_count;
    long fail_rate_bps;
} py_failrate_rec_t;

void PAY_FAILRATE(TPSVCINFO *p);

#endif /* PAY_FAILRATE_H */
