/*
 * PAY_INQUIRY.h - py 서비스 PAY_INQUIRY 카피북 (copybook / record header).
 * Request fields:  T_ID1(payout_id)
 * Response fields: T_MERCHANT, T_KEY1(account_no), T_STATUS, T_AMOUNT, T_FEE, T_NET
 */
#ifndef PAY_INQUIRY_H
#define PAY_INQUIRY_H

#include "py_svc.h"

typedef struct {
    long payout_id;
    char merchant_id[64];
    char account_no[32];
    long amount;
    long fee;
    long net;
    char status[8];
} py_inquiry_rec_t;

void PAY_INQUIRY(TPSVCINFO *p);

#endif /* PAY_INQUIRY_H */
