$
Live Preview Code
{
"id": "qt_a1b2c3",
"version": 4,
"customerId": "cus_p1q2r3",
"customerName": "Beacon Health",
"model": "fixed",
"amount": 0.5,
"status": "draft",
"successCriteria": "Patient summary accuracy >= 95%",
"expiry": "2027-09-19T00:00:00Z",
"conditions": "Minimum 500 records processed. SLA: 99.5% uptime during execution window. Dispute window: 48h post-settlement.",
"createdAt": "2026-05-15T22:00:49.363Z"
}SDK Snippet
import { Clearinghouse } from "@clearinghouse/sdk"
const ch = new Clearinghouse({ apiKey: process.env.CH_API_KEY })
const workflow = await ch.workflows.create({
quoteId: "qt_a1b2c3",
customerId: "cus_p1q2r3",
model: "fixed",
maxAmount: 0.5,
successCriteria: "Patient summary accuracy >= 95%",
})
console.log(workflow.id) // wf_xxxxxxxx