Skip to main content
POST
Close a case

Authorizations

X-API-Key
string
header
required

Public API key: cxp_<hex> (firm-scoped) or cxpp_<hex> (provider-scoped). Required on every request.

Path Parameters

id
string<uuid>
required

Resource UUID

Body

application/json
closingStatus
enum<string>
required

Case-insensitive.

Available options:
won_settled,
lost,
no_longer_pursuing
closingNotes
string
settlementAmount
number

Final settlement amount in dollars; must be greater than 0.

Required range: 0 < x <= 1000000000
clientFeeAgreementPercentage
number

Client fee agreement as a FRACTION of the settlement, 0–1 (0.3333 = 33.33%). Not a whole percent — contrast with sendingFirmPercentage.

Required range: 0 <= x <= 1
attorneyFees
number

Attorney fees in dollars. Must not exceed settlementAmount when both are sent.

Required range: 0 <= x <= 1000000000
closureReason
string
payoutType
enum<string>

How settlement funds are distributed. Case-insensitive.

Available options:
lump_sum,
structured,
hybrid,
other

Response

Closed case

data
object
required

A referral as seen by either party (the public API calls a referral a "case" on this path). Base-case fields are flattened onto the referral. Client fields are masked for the receiving firm while the case is SENT, and after it was withdrawn or expired directly from SENT without being acknowledged.

meta
object
required