Workday Payroll · Schema
PaymentElectionCollection
PaymentElectionCollection schema from Workday Payroll Results API
CompensationEnterpriseHuman ResourcesPayrollSaaSTax
Properties
| Name | Type | Description |
|---|---|---|
| data | array | |
| total | integer | Total number of payment elections |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-results-payment-election-collection-schema.json",
"title": "PaymentElectionCollection",
"description": "PaymentElectionCollection schema from Workday Payroll Results API",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/$defs/PaymentElection"
}
},
"total": {
"type": "integer",
"description": "Total number of payment elections",
"example": 52
}
},
"$defs": {
"PaymentElection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the payment election",
"example": "pe_w100542_primary"
},
"order": {
"type": "integer",
"description": "Priority order of the election",
"example": 1
},
"distributionType": {
"type": "string",
"enum": [
"Amount",
"Percentage",
"Remainder"
],
"description": "How payment is distributed",
"example": "Amount"
},
"amount": {
"type": "number",
"format": "double",
"description": "Fixed amount (when distributionType is Amount)",
"example": 2500.0
},
"percentage": {
"type": "number",
"format": "double",
"description": "Percentage of net pay (when distributionType is Percentage)",
"example": 100.0
},
"accountType": {
"type": "string",
"enum": [
"Checking",
"Savings"
],
"description": "Bank account type",
"example": "Checking"
},
"bankName": {
"type": "string",
"description": "Financial institution name",
"example": "Wells Fargo"
},
"lastFourDigits": {
"type": "string",
"description": "Last four digits of account number",
"example": "4521"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code",
"example": "USD"
},
"active": {
"type": "boolean",
"description": "Whether this election is currently active",
"example": true
}
}
}
}
}