Skip to Content
StagePayDocs v2

Settlement Policy

Settlement policy fields per app × currency (fee rate, fixed fee, VAT, fee refunds on refunds, cycle, hold days, minimum payout, timezone, start date) and the versioning and snapshot rules.

Settlement is done per app × currency. For example, if an app sells in both KRW and USD, separate policies and settlement batches exist for each currency, and amounts in different currencies are never added together.

Policies are registered by StagePay operators (admins) according to the contract. Merchants can view the policies in effect and their batches in the console Settlement menu.

Policy fields

FieldTypeDefaultDescription
currencystring—Settlement currency (uppercase). One policy per app × currency
feeRateBpsint 0–10000—StagePay percentage fee. 1 bps = 0.01% (e.g. 350 = 3.5%)
fixedFeeMinorint ≥ 00Fixed fee per transaction (minor unit)
vatRateBpsint 0–100001000VAT charged on the fee (10% by default)
refundFeeRefundablebooltrueWhether fees are refunded on refunds (calculation)
cycleenum—DAILY · WEEKLY · MONTHLY
holdDaysint ≥ 00Hold days (T+N). Payout due date = end of period + N days
minPayoutMinorint ≥ 00Minimum payout. If not reached, the amount is carried forward to the next batch
timezoneIANAAsia/SeoulTimezone used to cut settlement periods
effectiveFromdatetime— (required)Settlement start time. Only transactions paid after this time are settled
payoutAccountobject—Payout account {bankName, accountNumberMasked, holder} (stored masked)
isActivebooltrueBatches cannot be created for inactive policies
versionint1Incremented by 1 every time the policy is saved

Why effectiveFrom is required

So that historical transactions accumulated in v1 are not all pulled into the first v2 settlement at once, you must specify a settlement start time when first creating a policy. Set it after the last period already settled in v1.

Settlement cycles and periods

A period is a half-open interval [periodStart, periodEnd) cut at midnight in the policy's timezone.

cyclePeriod (the period immediately before batch creation)Example: created on 2026-03-04 (Wed)
DAILYYesterday 00:00 – today 00:0003-03 00:00 – 03-04 00:00
WEEKLYLast week's Monday 00:00 – this week's Monday 00:0002-23 (Mon) – 03-02 (Mon)
MONTHLY1st of last month 00:00 – 1st of this month 00:0002-01 – 03-01
  • Periods are cut exactly at local midnight, even in timezones with daylight saving time.
  • A period that has not yet ended (its end is in the future) cannot be settled.
  • You cannot create batches with overlapping periods for the same app and currency (excluding cancelled batches).

Automatic creation

When the scheduler is enabled (SETTLEMENT_SCHEDULER=on), it creates a batch for the previous period for every active policy every day at 03:00 (Asia/Seoul) and verifies it automatically. If a batch for that period already exists, it is skipped, so for WEEKLY/MONTHLY policies a batch is created only on the first day of a new period.

Payout due date

payoutDueDate = periodEnd + holdDays × 24 hours

Example: MONTHLY, holdDays = 15, January (periodEnd = February 1 00:00 KST) → payout due date February 16 00:00 KST. The actual payout happens after the batch is approved (APPROVED).

Versions and snapshots

  • When a policy is modified, its version increases and the before and after values are recorded in the audit log.
  • When a batch is created, the entire policy at that moment is saved to the batch as a snapshot. Changing the policy later does not change the calculation of batches already created.
  • To apply a changed policy to an existing batch, cancel the batch and create it again (only possible for batches not yet paid, PAID).

On this page