Collaborator
Create a Collaborator π
Create a collaborator and return its ID. The created collaborator won't have a contract, and therefore won't appear in the collaborators list in the PayFit app. In order to create a contract, use the create contract endpoint.
Required scopes: collaborators:write
post/companies/{companyId}/collaborators
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/tokenScopescollaborators:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
Request body
Example request
{
"personalAddress": {
"streetNumber": 123,
"addressFirstLine": "Avenue des Champs ElysΓ©es",
"addressSecondLine": "Appartement 123",
"city": "Paris",
"state": "Γle-de-France",
"postCode": "75008",
"country": "FR"
},
"birthInformation": {
"birthCountry": "FR"
}
}Response
The collaborator ID.
Changes
No recorded changes to this operation across all 2 revisions of this API.