Fetch a dispute
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.enfinitos.com/v1/disputes/{disputeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true,
"data": {
"dispute": {
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"openedBy": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"disputedPeriod": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"affectedSurface": {
"campaignId": "<string>",
"screenIds": [
"<string>"
],
"substrateId": "<string>"
},
"claimedShortfall": {
"unit": "<string>",
"amount": "<string>"
},
"evidenceBundle": {
"proofPackIds": [
"<string>"
],
"meteringSnapshotIds": [
"<string>"
],
"settlementApplicationIds": [
"<string>"
],
"attachmentRefs": [
"<string>"
],
"auditorReportRef": "<string>"
},
"operatorResponse": {
"at": "2023-11-07T05:31:56Z",
"by": "<string>",
"notes": "<string>",
"proposedRemedy": {
"amount": "<string>",
"makegoodWindow": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
}
}
},
"advertiserResponse": {
"at": "2023-11-07T05:31:56Z",
"by": "<string>",
"notes": "<string>"
},
"resolution": {
"creditNoteId": "<string>",
"makegoodCampaignId": "<string>",
"settlementAdjustmentId": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"resolvedBy": "<string>",
"notes": "<string>"
},
"timeline": [
{
"at": "2023-11-07T05:31:56Z",
"actor": "<string>",
"notes": "<string>"
}
]
}
},
"contractVersion": "<string>"
}Disputes
Fetch a dispute
Fetch a single delivery dispute — full record including the frozen evidence bundle, operator/advertiser responses, resolution, and the append-only transition timeline. Requires scope audit:read.
GET
/
v1
/
disputes
/
{disputeId}
Fetch a dispute
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.enfinitos.com/v1/disputes/{disputeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true,
"data": {
"dispute": {
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"openedBy": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"disputedPeriod": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"affectedSurface": {
"campaignId": "<string>",
"screenIds": [
"<string>"
],
"substrateId": "<string>"
},
"claimedShortfall": {
"unit": "<string>",
"amount": "<string>"
},
"evidenceBundle": {
"proofPackIds": [
"<string>"
],
"meteringSnapshotIds": [
"<string>"
],
"settlementApplicationIds": [
"<string>"
],
"attachmentRefs": [
"<string>"
],
"auditorReportRef": "<string>"
},
"operatorResponse": {
"at": "2023-11-07T05:31:56Z",
"by": "<string>",
"notes": "<string>",
"proposedRemedy": {
"amount": "<string>",
"makegoodWindow": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
}
}
},
"advertiserResponse": {
"at": "2023-11-07T05:31:56Z",
"by": "<string>",
"notes": "<string>"
},
"resolution": {
"creditNoteId": "<string>",
"makegoodCampaignId": "<string>",
"settlementAdjustmentId": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"resolvedBy": "<string>",
"notes": "<string>"
},
"timeline": [
{
"at": "2023-11-07T05:31:56Z",
"actor": "<string>",
"notes": "<string>"
}
]
}
},
"contractVersion": "<string>"
}Authorizations
API key sent as Authorization: Bearer <api-key>.
Path Parameters
Delivery dispute id (prefixed dispute:).
⌘I