Skip to main content
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

Authorization
string
header
required

API key sent as Authorization: Bearer <api-key>.

Path Parameters

disputeId
string
required

Delivery dispute id (prefixed dispute:).

Response

The dispute.

ok
boolean
required
data
object
required

Route-specific payload. Operation responses refine this.

contractVersion
string
required
Allowed value: "v1.0"