---
title: "Update a Provident Fund of an employee's contract 🇫🇷"
method: PUT
path: "/companies/{companyId}/contracts-fr/{contractId}/provident-fund"
tags: ["Contract"]
---

# Update a Provident Fund of an employee's contract 🇫🇷

`PUT /companies/{companyId}/contracts-fr/{contractId}/provident-fund`

## Request

- Base URL: `https://partner-api.payfit.com`
- URL: `https://partner-api.payfit.com/companies/{companyId}/contracts-fr/{contractId}/provident-fund`
- Auth: OAuth 2
  - Authorization code: `https://oauth.payfit.com/authorize`
  - Token URL: `https://oauth.payfit.com/token` scopes: `health-insurance:write`
- TypeScript: <https://skmtc.dev/payfit/apis/partner-api/docs/companies/:companyId/contracts-fr/:contractId/provident-fund/put.ts> (a function with typed inputs; its response is checked against the schema)

Allows the affiliation of a provident fund to an employee contract.
\
**Required scopes**: *health-insurance:write*

## Path parameters

- `companyId` string, required
- `contractId` string, required

## Request body

- object
  - `providentFundContractIds` string[], required

## Response `204`

This endpoint returns no data

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/payfit/apis/partner-api.md) - [All operations](https://skmtc.dev/payfit/apis/partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payfit/apis/partner-api/revisions/4ad2186afd5e?raw)
