/*
 * PAY_CANCELHIST.h - py 서비스 PAY_CANCELHIST 카피북 (copybook / record header).
 * Request fields:  T_MERCHANT, T_BIZDATE
 * Response fields: T_ARG1/T_AMT1(취소 C 건수/금액), T_ARG2/T_AMT2(환입 V 건수/금액), T_COUNT
 */
#ifndef PAY_CANCELHIST_H
#define PAY_CANCELHIST_H

#include "py_svc.h"

typedef struct {
    char merchant_id[64];
    long cancel_count;
    long cancel_amount;
    long refund_count;
    long refund_amount;
} py_cancelhist_rec_t;

void PAY_CANCELHIST(TPSVCINFO *p);

#endif /* PAY_CANCELHIST_H */
