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
API key authentication. Include your API key in the Authorization header.
Path Parameters
Company identifier
Body
application/json
Request body for creating a payee
Payee name (required)
Type of payee
Available options:
lawFirm, expert, vendor, other, financingCompany Primary email address
Additional email addresses
Phone number
Description of the payee
Unstructured address string
Structured address with parsed components (payee-specific format)
Show child attributes
Show child attributes
Type of law firm (only applicable when payeeType is lawFirm)
Available options:
defense, plaintiff Bank account information for payments
Show child attributes
Show child attributes
Tax identification number
Response
Payee created successfully
The ID of the created payee
Was this page helpful?
