curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/payees \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Expert Forensics Inc",
"payeeType": "expert"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440003"
}Payees
Create Payee
Creates a new payee.
Required fields:
name- Payee namepayeeType- Type of payee (lawFirm, expert, vendor, other, financingCompany)
Optional fields:
email- Primary email addressalternateEmails- Additional email addressesphoneNumber- Phone numberdescription- Description of the payeeaddress- Unstructured address stringaddressStructured- Structured address objectlawFirmType- Type of law firm (defense, plaintiff) - only for lawFirm payeeTypebankInfo- Bank account informationtaxIdNumber- Tax identification number
Required permission: company.payee:create
POST
/
api
/
external
/
companies
/
{companyId}
/
payees
curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/payees \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Expert Forensics Inc",
"payeeType": "expert"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440003"
}Authorizations
Body
application/json
Request body for creating a payee
Was this page helpful?
