Get verified benefit to date, compared with a year of Control
GET
/billing/verified-value
const url = 'https://api.invogi.com/v1/billing/verified-value';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/billing/verified-value \ --header 'Authorization: Bearer <token>'Payments prevented plus money recovered, as verified by a person (docs/31_FINANCIAL_IMPACT.md), in the base currency. plan_coverage compares it with Control’s annual price only when the base currency is one Control is priced in and the total is complete. Null until something has been verified.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Responses
Section titled “Responses”Verified value
Media typeapplication/json
object
verified_value
required
object
base_currency
required
string
amount
required
Decimal string
string
count
required
integer
complete
required
False when some benefit could not be converted to the base currency
boolean
plan_coverage
required
object
plan_code
required
string
currency
required
string
annual_price_minor
required
Before tax
integer
times_covered
required
Verified value ÷ annual price to one decimal; null under 0.1
string | null
Examples
Exampleverified
{ "verified_value": { "base_currency": "GBP", "amount": "4200.000000", "count": 3, "complete": true, "plan_coverage": { "plan_code": "CONTROL", "currency": "GBP", "annual_price_minor": 399000, "times_covered": "1.0" } }}Missing or invalid API key
Media typeapplication/json