Skip to main content

Finance API

This page covers the methods and endpoints associated with finance operations. With the Finance API you can access and manage PLD, SLS, and AQ Insights report fees.

TypeVertical
Voter Level Data (VLD) Insights reportPolitical vertical
Provider Level Data (PLD) Insights reportHealthcare vertical
Script Lift Study (SLS) Insights reportHealthcare vertical
AQ Insights reportHealthcare vertical
Integrated Care Team (ICT) Insights reportHealthcare vertical
Nurse Level Data (NLD) Insights reportBoth Political and Healthcare verticals

More resources​

Authentication​

Use the following header parameters for all requests:

Headers
Authentication
string required
Authentication bearer token
See Sign up and authenticate
X-IAA-OW-ID
integer required
Organization Workspace ID header

Finance details​

Get Customer Insights fees details​

GET

Get Insights fees details for a Customer. If type is provided, fetches for that specific report type; otherwise, fetches for all types.

Path parameters
customerOwId
integer
Customer Organization Workspace ID.
Query parameters
type
string optional
Insights report type, supported values: vld, pld, sls, aqs, ict, nld.
If not provided, returns all applicable types for the Customer's vertical.
Response properties
owId
integer
Customer Organization Workspace ID.
categories
object
Map of Insights category names to their fee details.
categories object properties
rate
number
Rate for the Insights report.
enabled
boolean
Whether the category is enabled.
markupType
string
Markup type: Absolute or Percentage.
markupTypeId
integer
Markup type ID.
markupValue
number
Markup value.
Response 200
{
"success": true,
"data": {
"owId": 201427,
"categories": {
"nld": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
},
"ict": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
},
"pld": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
},
"vld": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
},
"sls": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
},
"aqs": {
"rate": 5.5,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
}
}
}
}

Update Customer Insights fees details​

PATCH

Update Insights fees for a specific category for a Customer.

Path parameters
customerOwId
integer
Customer Organization Workspace ID.
Request schema
category
string required
Insights report type category. Valid values: pld, vld, ict, sls, aqs, nld.
rate
number
Rate for the Insights report.
enabled
boolean
Enable or disable the report.
markupType
string
Markup type: Absolute or Percentage.
markupTypeId
integer
Markup type ID.
markupValue
number
Markup value.
Response properties
id
integer
Updated record ID.
message
string
Success message.
Request sample
{
"category": "pld",
"rate": 11,
"enabled": true,
"markupType": "Percentage",
"markupTypeId": 2,
"markupValue": 55.5
}
Response 200
{
"success": true,
"data": {
"id": 1,
"message": "Rate updated successfully. The new rate applies only to newly created reports"
}
}
Response 200
{
"success": true,
"data": {
"id": 6,
"message": "Insights enabled successfully."
}
}
Have a question?
Was this page helpful?