/*
 * PAY_SPLITRATIO.h - py 서비스 PAY_SPLITRATIO 카피북 (copybook / record header).
 * Request fields:  T_ID1(payout_id), T_ARG1(첫 건 비율 bps, 기본 5000)
 * Response fields: T_RC(0 분할 / 1 상태불가), T_ID2/T_ARG2(신규 id 2건), T_AMT1/T_AMT2(각 net)
 */
#ifndef PAY_SPLITRATIO_H
#define PAY_SPLITRATIO_H

#include "py_svc.h"

typedef struct {
    long payout_id;
    long ratio_bps;
    long split_id1;
    long split_id2;
} py_splitratio_rec_t;

void PAY_SPLITRATIO(TPSVCINFO *p);

#endif /* PAY_SPLITRATIO_H */
