Skip to content

Create EWA draw request

POST/payroll/ewa/draws

Submits an employee request to draw a portion of their earned wages before payday. The requested amount is validated against the employee's available balance and configured maximum draw limit. Approved draws are disbursed via the configured EWA payment method.

Request

Request body

Content type application/json (required).

FieldTypeRequiredDescription
employee_idintegerYes

ID of the employee requesting the draw.

requested_amountnumber (float)Yes

Amount the employee wishes to draw (must not exceed available_balance).

fee_amountnumber (float), nullableNo

Optional platform fee charged for the draw (deducted from the disbursed amount).

Example

{
  "employee_id": 42,
  "requested_amount": 500.0,
  "fee_amount": 5.0
}

Responses

201 EWA draw request created and queued for disbursement

Content type application/json, object · EwaDrawResponseV1.

FieldTypeRequiredDescription
idintegerNo
employee_idintegerNo
requested_amountnumber (float)No
fee_amountnumber (float), nullableNo
net_disbursednumber (float)No

Amount actually disbursed to the employee (requested_amount minus fee_amount).

statusstringNo

One of: "pending", "disbursed", "failed"

created_atstring (date-time)No

Example

{
  "id": 12,
  "employee_id": 42,
  "requested_amount": 500.0,
  "fee_amount": 5.0,
  "net_disbursed": 495.0,
  "status": "pending",
  "created_at": "2026-04-08T12:15:00Z"
}

422 Validation failed — check requested_amount against available balance

409 Requested amount exceeds the employee's available EWA balance or draw limit

Example request

curl -X POST "https://{tenant}.faciotech.net/api/v1/payroll/ewa/draws" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"employee_id": 42, "requested_amount": 500.0, "fee_amount": 5.0}'
Loading