Updates multiple payroll payments. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Body
Required
-
Entity ID. If negative value, a new entity will be created
-
Payroll entity ID this payment belongs to
-
Requested payment date (format dd/MM/yyyy)
-
Planned payment date (format dd/MM/yyyy)
-
Date the payment was sent (format dd/MM/yyyy)
-
Value date of the payment (format dd/MM/yyyy)
-
Requested amount as string
-
Paid amount as string
-
Bank charges as string
-
Chart of accounts ID used as the payable-by account
-
Bank ID to pay to
POST
/api-v1/payroll/batch/payments
curl \
--request POST 'https://wyzio.app/api-v1/payroll/batch/payments' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"payrollEntityId":12345678,"requestedDate":"01/06/2026","plannedDate":"05/06/2026","sentDate":"05/06/2026","valueDate":"05/06/2026","requestedAmount":3500.0,"paidAmount":3500.0,"bankCharges":5.0,"payableByAccountId":12345678,"payableToBankId":12345678}]'
Request examples
# Headers
# Payload
[
{
"id": 12345678,
"payrollEntityId": 12345678,
"requestedDate": "01/06/2026",
"plannedDate": "05/06/2026",
"sentDate": "05/06/2026",
"valueDate": "05/06/2026",
"requestedAmount": 3500.0,
"paidAmount": 3500.0,
"bankCharges": 5.0,
"payableByAccountId": 12345678,
"payableToBankId": 12345678
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}