curl --location 'https://api-public.payflow.es/employees' \
--header 'api-version: 1.1' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"firstName": "Test",
"lastName": "User Peru",
"payrollId": "P38",
"cedula": "45678938",
"documentType": "DNI",
"paymentFrequency": "monthly",
"email": "test_user_peru38@payflow.com",
"phone": "+51987655538",
"bankAccountNumber": "00212345678901234538",
"bankAccountType": "checking",
"address": "Av. Arequipa 1234, Miraflores, Lima",
"netSalary": 2500,
"startDate": "2022-01-01",
"contractEnd": "2030-01-01",
"subsidiary": "20512345678",
"status": "active"
},
{
"firstName": "Test",
"lastName": "User Peru",
"payrollId": "P09",
"personalId": "45678919",
"documentType": "C_EXTRANJERIA",
"paymentFrequency": "monthly",
"email": "test_user_peru9@payflow.com",
"phone": "+51987655519",
"bankAccountNumber": "00212345678901234519",
"bankAccountType": "savings",
"address": "Calle Los Pinos 456, San Borja, Lima",
"grossSalary": 2500,
"startDate": "2022-01-01",
"contractEnd": "2030-01-01",
"subsidiary": "20512345678",
"status": "active"
},
{
"firstName": "Test",
"lastName": "User Peru",
"payrollId": "P28",
"personalId": "45678928",
"documentType": "PASSPORT",
"paymentFrequency": "monthly",
"email": "test_user_peru28@payflow.com",
"phone": "+51987655528",
"bankAccountNumber": "00212345678901234528",
"bankAccountType": "checking",
"address": "Av. Javier Prado Este 789, San Isidro, Lima",
"netSalary": 2500,
"startDate": "2022-01-01",
"contractEnd": "2030-01-01",
"subsidiary": "20512345678",
"status": "active"
},
{
"firstName": "Test",
"lastName": "User Peru",
"payrollId": "P49",
"personalId": "45678949",
"documentType": "C_EXTRANJERIA",
"paymentFrequency": "monthly",
"email": "test_user_peru49@payflow.com",
"phone": "+51987655549",
"bankAccountNumber": "00212345678901234549",
"bankAccountType": "savings",
"address": "Av. La Marina 321, San Miguel, Lima",
"netSalary": 2500,
"startDate": "2022-01-01",
"contractEnd": "2030-01-01",
"subsidiary": "20512345678",
"status": "active"
}
]'