Payout actions have a financial impact and require the
payouts.writepermission (the finance team; usuallysuper_admin). Admins without this permission can view the list only; approve, reject, and disburse controls are hidden and the server still rejects the mutations.
Weekly schedule
A beautician can request a payout at any time. Finance collects the requests and processes them once a week.
- Payout Processing Day (
payout_cutoff_weekday) in Settings → Payments sets the day the batch is processed: 1 = Monday through 7 = Sunday. The default is Monday. - The batch date is the first date after today (WIB) that falls on that weekday. A request made on the processing day itself joins the following week’s batch.
- A beautician can have only one live payout per batch.
Payout lifecycle
- Request: the beautician asks to withdraw. The system creates a
pending_approvalpayout for the batch date and claims all payable earnings. - Approve: finance approves the payout (
pending_approvalbecomesapproved). The beautician is notified. - Reject: finance rejects the payout with a reason of 3–500 characters. Claimed earnings are released so they can be requested again. The beautician is notified with the reason.
- Disburse: finance disburses an approved payout that is due, through the selected provider.
Payout statuses are pending_approval, approved, processing, paid, failed, and rejected. rejected is final; to request again, the beautician submits a new request.
The system rejects a new request while a payout is still pending_approval or while a non-rejected payout already exists for the same batch date. The beautician app shows a duplicate-request message in both cases.
Approve and reject
- Approve applies only to
pending_approvalpayouts. Approval is not proof of transfer. - Reject can be applied from
pending_approval,approved, orfailed. Enter the reason; it is stored on the payout and sent to the beautician. Released earnings can be claimed by a later request.
Disbursement and due date
Disbursement is allowed only when the payout is approved or failed and its batch date has arrived (WIB). If the batch is not yet due, the system rejects the disbursement with a not-due error; wait for the batch date and check the status again. Legacy payouts without a batch date are treated as due.
The disbursement dialog shows:
- The beautician’s bank identity as read-only data. If required bank details are incomplete, the dialog shows a warning and disables confirmation.
- A Provider control. Its initial value follows
payout_providerin Settings, but finance can choose another provider for each payout. - A Bank reference field when bank transfer is selected.
Cancelling the dialog leaves the payout unchanged. Only confirmation sends a request.
Xendit
- The system sends the disbursement to Xendit. The payout moves to
processing, and the Xendit webhook then finalizes it aspaidorfailed. - If Xendit configuration is not available, the request is rejected before any disbursement status or attempt is written. The payout remains
approved.
Bank transfer
- Choose Bank transfer only after finance has actually transferred the funds through internet banking.
- Enter the Bank reference (3–100 characters) from the transfer evidence. The system marks the payout
paid, records the reference, the payment time, and the recording administrator, and moves its earnings topaid. The beautician is notified. - A reference already used by another bank-transfer payout is rejected (
E_PAYOUT_BANK_REFERENCE_USED). Never reuse a reference or record a transfer that has not happened.
Before disbursement
- Match the beautician, amount, batch date, and latest status.
- Check the bank identity; the dialog warns and disables confirmation when required bank data is incomplete.
- Do not repeat an action before checking the latest status.
- Use the Excel (.xlsx) export for reconciliation. The Payout date, Provider, and Rejection reason columns are checked by default and included in the export; the export retains the active status filter.
Approval is not proof of transfer. Do not report funds sent until the disbursement status and reference are confirmed. Admin E2E does not send a real transfer.
Step-by-step walkthrough
Approving a payout and recording a bank-transfer disbursement
- Open Payouts. The queue lists payouts by beautician, period, amount, batch, and status.
- Select Approve on a payout pending approval.
- Select Disburse, switch the provider to Bank transfer, and check the amount and destination account.
- After transferring the money through internet banking, enter the Bank reference and select Confirm Disbursement. The payout becomes paid.



