Preview the settlement allocation waterfall
curl --request POST \
--url https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amountCents": 50000000000,
"excludeExpenseIds": [
"<string>"
],
"excludeLienIds": [
"<string>"
],
"subtractExisting": true
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amountCents: 50000000000,
excludeExpenseIds: ['<string>'],
excludeLienIds: ['<string>'],
subtractExisting: true
})
};
fetch('https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews"
payload = {
"amountCents": 50000000000,
"excludeExpenseIds": ["<string>"],
"excludeLienIds": ["<string>"],
"subtractExisting": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Settlement Funds
Preview the settlement allocation waterfall
Pure computation, no writes: fee → litigation costs → liens → client recovery with referral-fee sub-split.
Requires the funds:read scope. Rate tier: read.
POST
/
api
/
v1
/
resolutions
/
{resolutionId}
/
allocation-previews
Preview the settlement allocation waterfall
curl --request POST \
--url https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"amountCents": 50000000000,
"excludeExpenseIds": [
"<string>"
],
"excludeLienIds": [
"<string>"
],
"subtractExisting": true
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amountCents: 50000000000,
excludeExpenseIds: ['<string>'],
excludeLienIds: ['<string>'],
subtractExisting: true
})
};
fetch('https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/resolutions/{resolutionId}/allocation-previews"
payload = {
"amountCents": 50000000000,
"excludeExpenseIds": ["<string>"],
"excludeLienIds": ["<string>"],
"subtractExisting": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Authorizations
Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.
Path Parameters
Resolution id
Body
application/json