cURL
curl --request PATCH \ --url https://sandbox.withclasp.com/payroll_benefits/{public_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "payroll_provider_external_id": "<string>" }'
{ "id": "<string>", "member": "<string>", "line_of_coverage": "accident", "description": "<string>", "member_contribution": "<string>", "employer_contribution": "<string>", "period": "weekly", "effective_start": "2023-11-07T05:31:56Z", "effective_end": "2023-11-07T05:31:56Z", "payroll_provider_external_id": "<string>", "taxability": "pre_tax", "coverage_type": "member" }
Updates a single payroll benefit deduction. Commonly used to link benefits between Clasp and the payroll provider.
API Key authentication with required prefix "Bearer"
The response is of type object.
object