> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PayFit OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for PayFit in StackOne to allow users to link their accounts.

> [!WARNING]
>
> PayFit only issues OAuth credentials to approved partners, and only grants the scopes it has whitelisted for your partnership.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Get your PayFit partner credentials

PayFit issues a **Client ID** and **Client Secret** once your partnership request is approved.

**1. Apply as a PayFit partner**

Submit a partnership request to PayFit from the [PayFit developer portal](https://developers.payfit.io/docs/quickstart-guid). Once approved, PayFit sends you your OAuth credentials.

**2. Register the redirect URI**

Give PayFit the **Callback URL** from your Connector Profile so it is registered as the redirect URI for your client.

**3. Confirm your scopes**

Enables actions: Create Collaborator, Create Contract, Get Collaborator, Get Collaborator Payslip, Get Contract, List Absences, List Collaborator Payslips, List Collaborators, List Collaborators Meal Vouchers, List Contracts, List Health Insurance Contracts, List Provident Fund Contracts, List Worked Time, Update Health Insurance Affiliation, Update Provident Fund Affiliation

Ask PayFit to whitelist the scopes the integration needs. The authorization fails if StackOne requests a scope that is not whitelisted for your client.

<ul>
  <li>
    contracts:read
  </li>

  <li>
    contracts:payslips:read
  </li>

  <li>
    collaborators:read
  </li>

  <li>
    collaborators:write
  </li>

  <li>
    collaborators:contracts:write
  </li>

  <li>
    collaborators:meal-vouchers:read
  </li>

  <li>
    time:read
  </li>

  <li>
    health-insurance:read
  </li>

  <li>
    health-insurance:write
  </li>
</ul>

**4. Copy credentials**

Copy the **Client ID** and **Client Secret** into your Connector Profile.

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/payfit/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.