curl --location 'https://api-public.payflow.es/payments/available?id=&payrollId=&personalId=' \
--header 'authorization: <api-key>'{
"available": 500,
"amountReason": null,
"reducedAmountReason": null,
"withdrawn": 0,
"remainingSalary": 2000,
"salaryEarnedInfo": {
"dayNumberInCycle": 13,
"numberOfDaysInCycle": 30,
"netSalary": 2000,
"totalEarned": 866
}
}