1. Flexflow
Payflow API
Spain
  • Spain
  • Colombia
  • Peru
  • Guides
    • API Integration guide
  • Definitions
    • Employees
      • Employee Statuses
      • Salary Concepts
    • Payments
      • Payment Lifecycle
  • Explore our Public API
    • Auth & Health
      • Health
      • Test an API Key
    • Company
      • Retrieve your Company Details
    • Employee
      • Retrieve an Employee
      • Retrieve all Employees
      • Retrieve all Employees (V1.1)
      • Create an Employee
      • Upsert Employees in Bulk
      • Update an Employee by Personal ID
      • Update an Employee by Payflow ID
      • Update an Employee by Payroll ID
    • Leaves
      • Retrieve all Employees on Leave
      • Create an Employee Leave
      • Remove an Employee Leave
    • Payments
      • Retrieve a Payment
      • Retrieve all Payments
      • Retrieve Employee Payments
      • Calculate Employee Available Amount
      • Request a Payment
      • Subscribe to Payment Updates
      • Mark Payments as Informed
    • Flexflow
      • Retrieve all Flexflow Transactions
        GET
      • Retrieve Employee Flexflow Transactions
        GET
  • Notifications Structure
    • Payment Updates
  • Schemas
    • Company
      • Company Response
    • Employee
      • ES | Create Employee Request
      • ES | Update Employee Request
      • ES | Employee Response
      • Create Employee Leave Request
    • Payment
      • Payment Response
      • Payment Response Convoluted
      • Payment Update
    • Flexflow
      • Employee Flexflow Transactions
    • Error
      • Generic Error Response
  1. Flexflow

Retrieve all Flexflow Transactions

Production
https://api-public.payflow.es
Production
https://api-public.payflow.es
GET
https://api-public.payflow.es
/flexflow/amounts
Retrieves the total Flexible Compensation transaction amounts per category for employees who used the benefit during the cycle specified in the cycle query parameter.
The response groups transaction totals by employee and category for the requested cycle.

Filtering behavior#

If no taxId is provided, the endpoint returns data for all employees in the company.
If a taxId is provided, the endpoint returns data only for employees assigned to that subsidiary.
If the taxId of the main subsidiary is provided, the response also includes employees without a subsidiary assignment.
Recommendation
Subsidiary assignment is now mandatory for all employees. If your company still has older employees without a subsidiary assignment, we strongly recommend updating those employees to simplify filtering behavior.

Request

Authorization
API Key
Add parameter in header
authorization
Example:
authorization: ********************
or
Query Params

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-public.payflow.es/flexflow/amounts' \
--header 'authorization: <api-key>'
Response Response Example
{
    "data": [
        {
            "personalId": "12345678A",
            "amount_food": 100,
            "amount_transport": 50,
            "amount_education": 0,
            "amount_nursery": 0,
            "amount_health_insurance": 0
        }
    ],
    "meta": {
        "total": 1,
        "perPage": 50,
        "currentPage": 1,
        "lastPage": 1,
        "cycle": "2026-01"
    }
}
Modified at 2026-05-14 13:12:47
Previous
Mark Payments as Informed
Next
Retrieve Employee Flexflow Transactions
Built with