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

#include "py_svc.h"

typedef struct {
    char merchant_id[64];
    char account_no[32];
    long amount;
    long fee;
    long net;
    long payout_id;
    char biz_date[16];
} py_advance_rec_t;

void PAY_ADVANCE(TPSVCINFO *p);

#endif /* PAY_ADVANCE_H */
