Payflow supports two different methods for calculating the amount available for withdrawal through the EWA benefit: Salary-based calculation and Fixed available amount.Understanding how these methods work is important when integrating employee salary data through the Public API.Salary-based calculation#
By default, Payflow calculates the employee available amount based on the employee netSalary and the company calculation settings.The netSalary field is considered the source of truth for available amount calculations.If netSalary is not provided, Payflow automatically calculates it from the employee grossSalary and uses the calculated value instead.Because of this behavior, we strongly recommend sending only one salary field (netSalary or grossSalary) when creating or updating employees through the Public API.Sending both fields may lead to unexpected calculation results if the provided values do not match Payflow internal calculations.Fixed available amount#
The Public API also allows companies to define a fixed availableAmount for an employee.When this field is configured:Payflow skips the standard salary-based calculation.
The employee available amount becomes the fixed configured value.
The amount is available from the first day of the payment cycle.
The available amount does not increase progressively during the cycle.
All employee withdrawals are deducted directly from this fixed amount.Since salary-based calculations are no longer used in this mode, grossSalary and netSalary are internally cleared and set to 0, as they are no longer required for available amount calculations.Restricted amount#
The Public API also supports a fixed restrictedAmount.This value represents a portion of the employee salary that can never be withdrawn through EWA.In this case, the employee will never be able to withdraw more than 500. Modified at 2026-06-05 10:53:52