court_order.deduction_applied
A deduction was taken for a court order in a pay run, in full or reduced by protected earnings.
{
"id": "evt_01M616YRD0KNN5K363E8GWMNR5",
"type": "court_order.deduction_applied",
"timestamp": "2026-10-28T12:15:00.000Z",
"apiVersion": "2026-10-01",
"organisationId": "org-test-1",
"customerId": "customer-test-1",
"livemode": true,
"data": {
"eventType": "court_order.deduction_applied",
"organisationId": "org-test-1",
"employeeId": "employee-001",
"courtOrderId": "court-order-001",
"orderType": "CmsDeo",
"reference": "CMS-000000001",
"issuingAuthority": "Child Maintenance Service",
"status": "Active",
"previousStatus": null,
"startDate": "2026-10-01",
"endDate": null,
"totalAmountOwed": 1200,
"amountRepaidToDate": 150,
"remainingBalance": 1050,
"reason": null,
"deduction": {
"payPeriodEndDate": "2026-10-31",
"lineItemSequence": 1,
"amount": 150,
"expectedAmount": 150,
"wasReducedByProtectedEarnings": false,
"lineItemStatus": "Paid",
"skipReason": null
},
"occurredAt": "2026-10-28T12:15:00Z",
"resourceUrl": "https://api.flowpayroll.ai/v1/court-orders/orders/court-order-001"
},
"metadata": {
"resourceUrl": "https://api.flowpayroll.ai/v1/court-orders/orders/court-order-001",
"correlationId": "01K6B3N8Z4Q2W7X5Y9T1V3M6RA",
"documentUrl": null,
"payloadStyle": "Full",
"payloadDowngraded": false,
"dateFormat": "yyyy-MM-dd",
"dateTimeFormat": "yyyy-MM-ddTHH:mm:ss.fffZ"
}
}Headers
Space-delimited signatures over {id}.{timestamp}.{body}: every v1,{base64} HMAC-SHA256 entry, then every v1a,{base64} ed25519 entry. Verify v1a with the endpoint's public key, which we recommend because a receiver holding only a public key cannot sign events, or v1 with the signing secret, comparing in constant time. More than one of each appears during a secret rotation; accepting any match rotates with no downtime.
Body
The signed event envelope. The body is byte-identical across every delivery attempt; verify the signature against these raw bytes.
Response
Any 2xx acknowledges receipt. Respond quickly and do the work asynchronously: an attempt that has not finished within 15 seconds counts as failed.
Was this page helpful?
{
"id": "evt_01M616YRD0KNN5K363E8GWMNR5",
"type": "court_order.deduction_applied",
"timestamp": "2026-10-28T12:15:00.000Z",
"apiVersion": "2026-10-01",
"organisationId": "org-test-1",
"customerId": "customer-test-1",
"livemode": true,
"data": {
"eventType": "court_order.deduction_applied",
"organisationId": "org-test-1",
"employeeId": "employee-001",
"courtOrderId": "court-order-001",
"orderType": "CmsDeo",
"reference": "CMS-000000001",
"issuingAuthority": "Child Maintenance Service",
"status": "Active",
"previousStatus": null,
"startDate": "2026-10-01",
"endDate": null,
"totalAmountOwed": 1200,
"amountRepaidToDate": 150,
"remainingBalance": 1050,
"reason": null,
"deduction": {
"payPeriodEndDate": "2026-10-31",
"lineItemSequence": 1,
"amount": 150,
"expectedAmount": 150,
"wasReducedByProtectedEarnings": false,
"lineItemStatus": "Paid",
"skipReason": null
},
"occurredAt": "2026-10-28T12:15:00Z",
"resourceUrl": "https://api.flowpayroll.ai/v1/court-orders/orders/court-order-001"
},
"metadata": {
"resourceUrl": "https://api.flowpayroll.ai/v1/court-orders/orders/court-order-001",
"correlationId": "01K6B3N8Z4Q2W7X5Y9T1V3M6RA",
"documentUrl": null,
"payloadStyle": "Full",
"payloadDowngraded": false,
"dateFormat": "yyyy-MM-dd",
"dateTimeFormat": "yyyy-MM-ddTHH:mm:ss.fffZ"
}
}