Status: Observed (in force). Established by live network capture, 2026-07-20.

Context

EWA is a substantial product surface — five admin screens, an employee withdrawal flow with PIN and fees, policy management, analytics, and employer invoicing. A reader of core-backend-service finds only ~680 lines of EWA code and might reasonably conclude the feature is thin or unfinished.

Observation

Driving every EWA admin screen while capturing traffic showed all data coming from ewa-dev.paidhr.com:

/v1/employer/withdrawals            /v1/employees
/v1/employer/withdrawals/analytics  /v1/employer/invoices
/v1/group-policies                  /v1/employers/companies
/v1/integration/{host}

Not one EWA data call was served by core-backend during the pass.

The division of responsibility

This repo The EWA service
EwaConfigSetting — enrolment + company rules Withdrawal execution
ControlEwaService — approve / decline / set up Balance & earned-to-date calculation
Two sync workers (EwaInitialization, EwaWithdrawal) Policy evaluation
EwaService — outbound client (10 methods) Analytics, invoicing
Payroll_Status — the payroll hook The employee withdrawal UX backend

EwaService is a pure client: every method is a call out (CreateEmployer, CreateBulkEmployees, PayrollLedgerSync, SettleInvoice, UpdateEwaWithdrawalApproval, …), carrying PaidHR's identifiers (padeUserId, padeCompanyId, padeParentCompanyId) to the provider.

The host also serves the ATS

ewa-*.paidhr.com additionally serves /v1/ats/* for Hiring. It is really an "extended platform" service that has accumulated newer modules; the "EWA" name understates it badly.

Consequences

Good: a regulated, money-moving product evolves on its own cadence behind a versioned /v1 API, without touching payroll-critical code in core-backend.

Bad / costs:

Guidance