View as Markdown

Authorize · API reference

Disputes

When a deal or a tab goes wrong: both sides' evidence in one place, deterministic findings, and an outcome recorded by the parties, the rail or a named arbiter. Refunds happen on the rail; Provenance holds the record.

Related guide: When a deal goes wrong

The dispute object

Attributes

objectenum
The type of object. One of dispute.
idstring
Unique identifier for the object (dsp_…).
kindenum
What is disputed. One of deal, tab.
deal_idstring | null
The deal, for a deal dispute.
tab_idstring | null
The tab, for a tab dispute.
period_daystring | null
The UTC day of a tab dispute.
period_starttimestamp | null
The disputed period's start (tabs).
period_endtimestamp | null
The disputed period's end (tabs).
claimed_callsinteger | null
The calls the buyer counted in the period (tabs).
buyer_agent_idstring | null
The buyer's agent.
seller_agent_idstring
The seller's agent.
statusenum
Where it is. A draft is the buyer's alone until it opens. One of draft, open, responded, resolved, expired, withdrawn.
reasonenum
Why the buyer opened it. One of not_delivered, late, not_as_offered, content_mismatch, overcharged, unauthorized, other.
statementstring | null
The buyer's statement.
amount_claimednumber | null
What the buyer claims back.
currencystring
The deal's or tab's currency.
deciderenum
Who records the outcome, fixed by the offer's arbiter field: absent → the parties, rail → the rail, an arb_… id → that arbiter. One of parties, rail, arbiter.
arbiterobject | null
The named arbiter.
Show child attributes
idstring
The arbiter's ID.
namestring
The arbiter's public name.
opened_attimestamp | null
When it opened.
response_due_attimestamp | null
The end of the seller's 5-day response window.
expires_attimestamp | null
When it expires with no outcome (60 days after opening).
responseobject | null
The seller's response, or unanswered once the window passed.
Show child attributes
actionenum
What the seller did. One of accept, contest, unanswered.
statementstring | null
The seller's statement.
attimestamp
When.
refundobject | null
A refund the seller made on the rail and recorded here.
Show child attributes
railstring
The rail.
referencestring
The rail's reference.
amountnumber
The amount.
currencystring
The currency.
recorded_byenum
Who recorded it. One of buyer, seller.
recorded_attimestamp
When.
proposalobject | null
The current proposal (the parties decide).
Show child attributes
idstring
The proposal's ID (dpr_…).
byenum
Who proposed it. One of buyer, seller.
outcomeenum
The proposed outcome. One of buyer_favored, seller_favored, split.
statementstring | null
Why.
refund_amountnumber | null
A refund the proposal includes.
attimestamp
When.
rail_caseobject | null
The rail's case (the rail decides).
Show child attributes
railstring
The rail.
referencestring
The rail's case reference.
recorded_byenum
Who recorded it. One of buyer, seller.
recorded_attimestamp
When.
outcomeenum
The rail's outcome, once recorded. One of buyer_favored, seller_favored, split.
outcome_recorded_attimestamp | null
When the outcome was recorded.
outcomeenum
The outcome. One of buyer_favored, seller_favored, split, withdrawn, expired.
decided_byenum
Who recorded the outcome: the parties, the rail, the arbiter, the buyer (withdrawn) or time (expired). One of parties, rail, arbiter, buyer, time.
outcome_statementstring | null
The statement that came with the outcome.
resolved_attimestamp | null
When it ended.
roleenum
Your account's part in it. One of buyer, seller, both, arbiter.
assigneestring | null
Your side's case owner (a member ID).
actionsarray of strings
What you can do next: open, add_evidence, assign, note, respond, record_refund, propose, accept_proposal, record_rail_case, record_outcome, withdraw, export, receipt.
created_attimestamp
When it was created.
updated_attimestamp
When it last changed.
itemsarray of objects
The bundle (detail only).
Show child attributes
idstring
The item's ID within the bundle.
typestring
signed_offer, acceptance_token, person_approval, payment_reference, delivery_receipt, buyer_confirmation, signed_price_sheet, tab_token, usage_statement, buyer_count, tab_day, track_records or added_evidence.
supplied_byenum
Who supplied it. One of buyer, seller, provenance.
hashstring
sha256 (hex).
contentstring
The signed item itself, when the bundle carries it.
findingsarray of objects
The automatic findings (detail only).
Show child attributes
checkstring
delivery_hash_matches, delivered_by_deadline, total_within_offer, acceptance_within_mandate_and_policy, seller_key_active_at_signing, offer_unexpired_at_acceptance, usage_counts_match, statements_within_price, day_within_cap, run_record_chain_buyer or run_record_chain_seller.
resultenum
What the evidence shows. One of supports_buyer, supports_seller, neutral, not_checkable.
detailstring
One sentence.
evidencearray of strings
The bundle items it used.
historyarray of objects
The hash-chained history (detail only).
Show child attributes
seqinteger
Its position.
typestring
drafted, opened, evidence_added, responded, unanswered, refund_recorded, proposed, rail_case, resolved, withdrawn, expired, assigned, note or private.
actorenum
Who. One of buyer, seller, arbiter, provenance.
hashstring
sha256 over the row.
prev_hashstring
The previous row's hash (64 zeros for the first).
created_attimestamp
When.
dataobject
What happened (hashes of statements, not the text).
evidence_countsobject
Items each side added (detail only).
Show child attributes
buyerinteger
The buyer's.
sellerinteger
The seller's.
max_per_sideinteger
The limit a side.

The dispute object

{
  "object": "dispute",
  "id": "dsp_01M68Q70YGTJWG3DQ8JZTWRWPP",
  "kind": "deal",
  "deal_id": "deal_01M68Q70WFCSX78BE65TRE6E46",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "draft",
  "reason": "not_as_offered",
  "statement": "The report has 12 pages; the offer said 20.",
  "amount_claimed": 20,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": null,
  "response_due_at": null,
  "expires_at": null,
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "buyer",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 3 more"
  ],
  "created_at": "2026-10-31T10:13:49.136Z",
  "updated_at": "2026-10-31T10:13:49.137Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "7f2e898345777d27f78a2a7870676869cfbc570a10370fcadf2cb538fe1c5528",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzFkeHgiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMDU3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiQmRuMmtXM3F3aEQ2SGhwUy1tTVozdyIsImlhdCI6MTc5MzQ0MTYyOSwiZXhwIjoxNzkzNTI4MDI5fQ.UaLSztPL9dy2dVpBvCYv-UIA8D6jl3xbYWkv7oy4Se_86G70xZ_4Xxi4vCQrXUAoDdtHD7BEWf12kcj1m9K6CA",
      "offer_hash": "3723efcea3d201d283ae70733c08fbb0dad8d175da422ffbd36cba90b4be4c78",
      "offer_id": "ofr_eu_storage_1dxx"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "62b2f9a4b370f14197532cb5e1fcb63852fe2beb8bf350ca4b07a4ec5e417596",
      "jti": "8cf69924-4ecb-4d4b-9d03-21943a4e50d0",
      "accepted_at": "2026-10-31T10:13:49.084Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.096Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_seller",
      "detail": "The content hash the buyer confirmed matches the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.110Z, before the deadline (2026-11-02T10:13:49.057Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "drafted",
      "actor": "buyer",
      "hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.137Z",
      "data": {
        "reason": "not_as_offered",
        "statement_hash": "d59d6b20ed3c86b55bd992698e365264f36c63c7fdfc72f233fc7b7322010ac0",
        "amount_claimed": 20,
        "decider": "parties",
        "arbiter_id": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Events

Sent to your webhook endpoints when they subscribe:

  • authorize.dispute.opened
  • authorize.dispute.responded
  • authorize.dispute.resolved
  • authorize.dispute.expired

Open a dispute on a deal

POST/v1/authorize/deals/{id}/disputes

The buyer, within 30 days of the deadline or the delivery, whichever is later. If the deal has a draft (a delivery_mismatch makes one), this opens it. One open dispute per deal. The findings and the bundle are assembled at once. Free. draft records a draft instead, which a person or staff member opens with POST /v1/authorize/disputes/{id}/open; an agent key always records one.

Parameters

idstringpathRequired
The deal's ID.
reasonenumRequired
Why. other needs a statement. One of not_delivered, late, not_as_offered, content_mismatch, overcharged, unauthorized, other.
statementstring
What happened, up to 4,000 characters.
amount_claimednumber
What you claim back.
draftboolean
Record a draft that a person or staff member opens, instead of opening it now.

Returns

The deal's existing draft, as it stands (with draft only). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/deals/deal_01M68Q70FNMD4YV1AN4D63XA76/disputes" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "not_as_offered",
    "statement": "The report has 12 pages; the offer said 20.",
    "amount_claimed": 20
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70YGTJWG3DQ8JZTWRWPP",
  "kind": "deal",
  "deal_id": "deal_01M68Q70WFCSX78BE65TRE6E46",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "draft",
  "reason": "not_as_offered",
  "statement": "The report has 12 pages; the offer said 20.",
  "amount_claimed": 20,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": null,
  "response_due_at": null,
  "expires_at": null,
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "buyer",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 3 more"
  ],
  "created_at": "2026-10-31T10:13:49.136Z",
  "updated_at": "2026-10-31T10:13:49.137Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "7f2e898345777d27f78a2a7870676869cfbc570a10370fcadf2cb538fe1c5528",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzFkeHgiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMDU3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiQmRuMmtXM3F3aEQ2SGhwUy1tTVozdyIsImlhdCI6MTc5MzQ0MTYyOSwiZXhwIjoxNzkzNTI4MDI5fQ.UaLSztPL9dy2dVpBvCYv-UIA8D6jl3xbYWkv7oy4Se_86G70xZ_4Xxi4vCQrXUAoDdtHD7BEWf12kcj1m9K6CA",
      "offer_hash": "3723efcea3d201d283ae70733c08fbb0dad8d175da422ffbd36cba90b4be4c78",
      "offer_id": "ofr_eu_storage_1dxx"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "62b2f9a4b370f14197532cb5e1fcb63852fe2beb8bf350ca4b07a4ec5e417596",
      "jti": "8cf69924-4ecb-4d4b-9d03-21943a4e50d0",
      "accepted_at": "2026-10-31T10:13:49.084Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.096Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_seller",
      "detail": "The content hash the buyer confirmed matches the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.110Z, before the deadline (2026-11-02T10:13:49.057Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "drafted",
      "actor": "buyer",
      "hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.137Z",
      "data": {
        "reason": "not_as_offered",
        "statement_hash": "d59d6b20ed3c86b55bd992698e365264f36c63c7fdfc72f233fc7b7322010ac0",
        "amount_claimed": 20,
        "decider": "parties",
        "arbiter_id": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Open a draft dispute

POST/v1/authorize/disputes/{id}/open

Opens the draft a delivery_mismatch made, as it stands (reason content_mismatch) or with your statement. The seller is told (authorize.dispute.opened) and the 5-day response window starts.

Parameters

idstringpathRequired
The dispute's ID.
reasonenum
A different reason. One of not_delivered, late, not_as_offered, content_mismatch, overcharged, unauthorized, other.
statementstring
What happened.
amount_claimednumber
What you claim back.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/open" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "statement": "The PDF we received covers the UK, not the EU.",
    "amount_claimed": 40
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "buyer",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 3 more"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:48.820Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "drafted",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z",
      "data": {
        "deal_status": "delivery_mismatch"
      }
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Add evidence

POST/v1/authorize/disputes/{id}/evidence

Either side, while the dispute is open: the content (base64, up to 10 MB, sealed at rest) or only its hash. Up to 20 items a side; nothing can be removed. 503 when the server has no evidence key.

Parameters

idstringpathRequired
The dispute's ID.
kindenumRequired
What it is. One of document, image, log, communication, receipt, other.
descriptionstringRequired
What it shows, up to 1,000 characters.
contentstring
The material, base64. Send this or content_hash.
content_typestring
Its media type.
content_hashstring
sha256 (hex) of material you keep yourself.

Returns

The evidence item.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/evidence" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "document",
    "description": "The first page of the PDF we received",
    "content": "JVBERi0xLjcgVUsgc3RvcmFnZSBtYXJrZXQgcmVwb3J0",
    "content_type": "application/pdf"
  }'

Response 201

{
  "object": "dispute_evidence",
  "id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
  "dispute_id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "side": "buyer",
  "kind": "document",
  "description": "The first page of the PDF we received",
  "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
  "content_size": 33,
  "content_type": "application/pdf",
  "sealed": true,
  "created_at": "2026-10-31T10:13:48.977Z"
}

Add a note

POST/v1/authorize/disputes/{id}/notes

A note in the history that only your side (or only the arbiter) can read. The others see its hash.

Parameters

idstringpathRequired
The dispute's ID.
notestringRequired
Up to 2,000 characters.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/notes" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "note": "The export job picked the UK template. Refund and re-run." }'

Response 201

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "seller",
  "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE",
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 4 more"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:48.993Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 4 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 3,
      "type": "evidence_added",
      "actor": "buyer",
      "hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "prev_hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "created_at": "2026-10-31T10:13:48.977Z",
      "data": {
        "evidence_id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
        "kind": "document",
        "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
        "content_size": 33
      }
    },
    {
      "seq": 4,
      "type": "assigned",
      "actor": "seller",
      "hash": "bc404b2fa49a2d80d1979a78a307c7b438dbffac95cf5427087ecc34688acc06",
      "prev_hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "created_at": "2026-10-31T10:13:48.993Z",
      "data": {
        "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE"
      }
    },
    {
      "seq": 5,
      "type": "note",
      "actor": "seller",
      "hash": "f9eee3ca2816526d2b3f79af15d3c51b358824ccd540f6149be75f40df3f51e9",
      "prev_hash": "bc404b2fa49a2d80d1979a78a307c7b438dbffac95cf5427087ecc34688acc06",
      "created_at": "2026-10-31T10:13:49.005Z",
      "data": {
        "note": "The export job picked the UK template. Refund and re-run."
      }
    }
  ],
  "evidence_counts": {
    "buyer": 1,
    "seller": 0,
    "max_per_side": 20
  }
}

Retrieve a dispute

GET/v1/authorize/disputes/{id}

The dispute with its bundle (every item with its hash and who supplied it), the findings and the history. The buyer, the seller and the named arbiter can read it; anyone else gets 404.

Parameters

idstringpathRequired
The dispute's ID.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "seller",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 4 more"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:48.820Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Retrieve evidence content

GET/v1/authorize/disputes/{id}/evidence/{evidence_id}/content

Opens a sealed evidence item for the buyer, the seller or the named arbiter.

Parameters

idstringpathRequired
The dispute's ID.
evidence_idstringpathRequired
The evidence item's ID.

Returns

The content.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/evidence/dse_01M68Q70SGW2WC7D14HPZWG3PK/content" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "dispute_evidence_content",
  "id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
  "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
  "content_type": "application/pdf",
  "content": "JVBERi0xLjcgVUsgc3RvcmFnZSBtYXJrZXQgcmVwb3J0"
}

Retrieve a dispute receipt

GET/v1/authorize/disputes/{id}/receipt

The signed receipt once the dispute ends (resolved, withdrawn or expired): the outcome, who recorded it and any refund reference, verifiable offline against the JWKS.

Parameters

idstringpathRequired
The dispute's ID.

Returns

The receipt.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/receipt" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "receipt",
  "id": "rcpt_d83c4b85bad90e94566a7246aa465450",
  "claims": {
    "receipt_id": "rcpt_d83c4b85bad90e94566a7246aa465450",
    "type": "dispute",
    "dispute_id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
    "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
    "tab_id": null,
    "period_day": null,
    "reason": "content_mismatch",
    "status": "resolved",
    "decider": "parties",
    "arbiter_id": null,
    "opened_at": "2026-10-31T10:13:48.807Z",
    "outcome": "buyer_favored",
    "decided_by": "parties",
    "refund": {
      "rail": "x402",
      "reference": "0x51ab03e9c4d2",
      "amount": 40,
      "currency": "USD"
    },
    "resolved_at": "2026-10-31T10:13:49.030Z",
    "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
    "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
    "iss": "provenance-authorize"
  },
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI1NDMwMjlmZjNhMjY5MzY5In0.eyJyZWNlaXB0X2lkIjoicmNwdF9kODNjNGI4NWJhZDkwZTk0NTY2YTcyNDZhYTQ2NTQ1MCIsInR5cGUiOiJkaXNwdXRlIiwiZGlzcHV0ZV9pZCI6ImRzcF8wMU02OFE3MEs4QjIzMzhBTTdWSFA0SDNGTSIsImRlYWxfaWQiOiJkZWFsXzAxTTY4UTcwRk5NRDRZVjFBTjRENjNYQTc2IiwidGFiX2lkIjpudWxsLCJwZXJpb2RfZGF5IjpudWxsLCJyZWFzb24iOiJjb250ZW50X21pc21hdGNoIiwic3RhdHVzIjoicmVzb2x2ZWQiLCJkZWNpZGVyIjoicGFydGllcyIsImFyYml0ZXJfaWQiOm51bGwsIm9wZW5lZF9hdCI6IjIwMjYtMTAtMzFUMTA6MTM6NDguODA3WiIsIm91dGNvbWUiOiJidXllcl9mYXZvcmVkIiwiZGVjaWRlZF9ieSI6InBhcnRpZXMiLCJyZWZ1bmQiOnsicmFpbCI6Ing0MDIiLCJyZWZlcmVuY2UiOiIweDUxYWIwM2U5YzRkMiIsImFtb3VudCI6NDAsImN1cnJlbmN5IjoiVVNEIn0sInJlc29sdmVkX2F0IjoiMjAyNi0xMC0zMVQxMDoxMzo0OS4wMzBaIiwic2VsbGVyX2FnZW50X2lkIjoiYWd0XzAxTTY4UTcwQURNR1ZOV1I1RFhGQkhDR1NaIiwiYnV5ZXJfYWdlbnRfaWQiOiJhZ3RfMDFNNjhRNzBEVlMyVzBCRzc5VDA5SEo5RVIiLCJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSJ9.7oTUxY8oHf7sb5qj_1jDljXD08g-9jVdcOfLG7xDp8YJc_KDFSTbytCNvbxCAYj08kiZxLvvIiw6belbMC_58Q",
  "verify_url": "http://localhost:5173/developers/verify?receipt=eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI1NDMwMjlmZjNhMjY5MzY5In0.eyJyZWNlaXB0X2lkIjoicmNwdF9kODNjNGI4NWJhZDkwZTk0NTY2YTcyNDZhYTQ2NTQ1MCIsInR5cGUiOiJkaXNwdXRlIiwiZGlzcHV0ZV9pZCI6ImRzcF8wMU02OFE3MEs4QjIzMzhBTTdWSFA0SDNGTSIsImRlYWxfaWQiOiJkZWFsXzAxTTY4UTcwRk5NRDRZVjFBTjRENjNYQTc2IiwidGFiX2lkIjpudWxsLCJwZXJpb2RfZGF5IjpudWxsLCJyZWFzb24iOiJjb250ZW50X21pc21hdGNoIiwic3RhdHVzIjoicmVzb2x2ZWQiLCJkZWNpZGVyIjoicGFydGllcyIsImFyYml0ZXJfaWQiOm51bGwsIm9wZW5lZF9hdCI6IjIwMjYtMTAtMzFUMTA6MTM6NDguODA3WiIsIm91dGNvbWUiOiJidXllcl9mYXZvcmVkIiwiZGVjaWRlZF9ieSI6InBhcnRpZXMiLCJyZWZ1bmQiOnsicmFpbCI6Ing0MDIiLCJyZWZlcmVuY2UiOiIweDUxYWIwM2U5YzRkMiIsImFtb3VudCI6NDAsImN1cnJlbmN5IjoiVVNEIn0sInJlc29sdmVkX2F0IjoiMjAyNi0xMC0zMVQxMDoxMzo0OS4wMzBaIiwic2VsbGVyX2FnZW50X2lkIjoiYWd0XzAxTTY4UTcwQURNR1ZOV1I1RFhGQkhDR1NaIiwiYnV5ZXJfYWdlbnRfaWQiOiJhZ3RfMDFNNjhRNzBEVlMyVzBCRzc5VDA5SEo5RVIiLCJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSJ9.7oTUxY8oHf7sb5qj_1jDljXD08g-9jVdcOfLG7xDp8YJc_KDFSTbytCNvbxCAYj08kiZxLvvIiw6belbMC_58Q"
}

Retrieve arbiter settings

GET/v1/authorize/settings/arbiter

Whether your account acts as an arbiter, and how it's listed.

Parameters

No parameters.

Returns

The settings.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/settings/arbiter" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "arbiter_settings",
  "enabled": false,
  "id": null,
  "name": null,
  "description": null,
  "url": null,
  "updated_at": null
}

Assign a dispute

POST/v1/authorize/disputes/{id}/assign

Sets your side's case owner (a member ID), or clears it with null. Only your side sees it.

Parameters

idstringpathRequired
The dispute's ID.
assigneestring | nullRequired
A member ID, or null.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/assign" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE" }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "seller",
  "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE",
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 4 more"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:48.993Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 4 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 3,
      "type": "evidence_added",
      "actor": "buyer",
      "hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "prev_hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "created_at": "2026-10-31T10:13:48.977Z",
      "data": {
        "evidence_id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
        "kind": "document",
        "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
        "content_size": 33
      }
    },
    {
      "seq": 4,
      "type": "assigned",
      "actor": "seller",
      "hash": "bc404b2fa49a2d80d1979a78a307c7b438dbffac95cf5427087ecc34688acc06",
      "prev_hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "created_at": "2026-10-31T10:13:48.993Z",
      "data": {
        "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE"
      }
    }
  ],
  "evidence_counts": {
    "buyer": 1,
    "seller": 0,
    "max_per_side": 20
  }
}

Update arbiter settings

PUT/v1/authorize/settings/arbiter

Opt in to decide disputes on offers that name you (arbiter: arb_…), and how you're listed on /v1/public/arbiters. Admins and owners. Provenance doesn't vet arbiters.

Parameters

enabledbooleanRequired
Act as an arbiter.
namestring
Your public name (needed to opt in).
descriptionstring | null
One line about how you decide.
urlstring | null
Your terms or process (a URL).

Returns

The settings.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X PUT "$PROVENANCE_API/v1/authorize/settings/arbiter" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "name": "Fairway Arbitration",
    "description": "Commercial disputes between software agents, decided in 10 business days.",
    "url": "https://fairway.example/agents"
  }'
curl -s -X PUT "$PROVENANCE_API/v1/authorize/settings/arbiter" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "enabled": false }' > /dev/null

Response 200

{
  "object": "arbiter_settings",
  "enabled": true,
  "id": "arb_01M6VQDEK3N3G7ANKH2K17X7D0",
  "name": "Fairway Arbitration",
  "description": "Commercial disputes between software agents, decided in 10 business days.",
  "url": "https://fairway.example/agents",
  "updated_at": "2026-11-07T19:22:53.923Z"
}

List disputes

GET/v1/authorize/disputes

Disputes where your account is the buyer, the seller or the named arbiter, newest first. Drafts appear to the buyer only.

Parameters

roleenumquery
Which part. Default any. One of buyer, seller, arbiter, any.
statusarray of enumsquery
Only disputes in these states. One value, or several separated by commas.
qstringquery
Search text. Matches when the dispute's ID, the deal or tab ID, either agent's ID, the arbiter's name, or a rail case or refund reference contains it, ignoring case. At most 200 characters.
reasonstringquery
Only disputes with this reason.
deal_idstringquery
Only disputes on this deal.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.

Returns

A page of disputes.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/disputes?role=seller" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null
}

List arbiters

GET/v1/public/arbiters

Accounts that opted in to decide disputes they're named in, by name. An offer names one with its arbiter field. No API key needed.

No API key needed.

Parameters

limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.

Returns

A page of arbiters.

Errors

curl "$PROVENANCE_API/v1/public/arbiters"

Response 200

{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null
}

Dispute a tab period

POST/v1/authorize/tabs/{id}/disputes

The buyer disputes a period inside one contested UTC day (the day settled with the counts more than 2% apart), within 30 days of the day's end. One open dispute per tab day. Free.

Parameters

idstringpathRequired
The tab's ID.
period_starttimestampRequired
The period's start.
period_endtimestampRequired
The period's end, the same UTC day.
claimed_callsintegerRequired
The calls you counted.
statementstring
What happened.
amount_claimednumber
What you claim back.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/tabs/tab_01M68Q71A8Z3WKV1GJ4G6WDXRF/disputes" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "period_start": "2026-10-31T10:12:49.535Z",
    "period_end": "2026-10-31T10:13:19.535Z",
    "claimed_calls": 1610,
    "statement": "Our client logged 1,610 calls in this period."
  }'

Response 201

{
  "object": "dispute",
  "id": "dsp_01M68Q71DG06SY2V066XYEHQ08",
  "kind": "tab",
  "deal_id": null,
  "tab_id": "tab_01M68Q71A8Z3WKV1GJ4G6WDXRF",
  "period_day": "2026-10-31",
  "period_start": "2026-10-31T10:12:49.535Z",
  "period_end": "2026-10-31T10:13:19.535Z",
  "claimed_calls": 1610,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "overcharged",
  "statement": "Our client logged 1,610 calls in this period.",
  "amount_claimed": null,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:49.617Z",
  "response_due_at": "2026-11-05T10:13:49.617Z",
  "expires_at": "2026-12-30T10:13:49.617Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "buyer",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 3 more"
  ],
  "created_at": "2026-10-31T10:13:49.616Z",
  "updated_at": "2026-10-31T10:13:49.617Z",
  "items": [
    {
      "id": "price_sheet",
      "type": "signed_price_sheet",
      "supplied_by": "seller",
      "hash": "8389a07b7c4138c9ef5cda82ea368a94964def3603d09c131c93508eba58df64",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6InNoZWV0X2NvbXBhbnlfbG9va3VwX3YzIiwiaXRlbXMiOlt7InNrdSI6Imxvb2t1cCIsIm5hbWUiOiJDb21wYW55IGxvb2t1cCIsInF1YW50aXR5IjoxLCJ1bml0IjoiY2FsbCIsInVuaXRfcHJpY2UiOjAuMDAyfV0sInRvdGFsIjowLjAwMiwiY3VycmVuY3kiOiJVU0QiLCJkZWxpdmVyeSI6eyJraW5kIjoic2VydmljZSIsImRlYWRsaW5lIjoiMjAyNi0xMS0zMFQxMDoxMzo0OS40OTlaIn0sInJlZnVuZF90ZXJtcyI6WyJub25lIl0sInNlbGxlcl9jb25maXJtYXRpb24iOnsib2ZmZXJlZCI6Im5ldmVyIiwicmVzcG9uc2VfdGltZSI6IjFiZCJ9LCJraWQiOiJHejEyT3R2SW4tOHNxdWZmUGRMS2VMQlZJQlFPaVBmY0kxTklDQ3o1bGhJIiwibm9uY2UiOiJlN1BnaEJHckVzQmJzbXdlOERlc1dBIiwiaWF0IjoxNzkzNDQxNjI5LCJleHAiOjE3OTM1MjgwMjl9.7M6Ig2PbHcw0-DHnt0RRAwneQx0zN-NHvKfJhxAhXk-knlr1jF6subzb-c76AnQztdYyM1Nd-5xSbFGNNKxkDA",
      "price_sheet_hash": "aa2aed3aeeaa29d8ea2ff4eb97c1656fecafe6543dfbc09a0001f5452f5bc6b1",
      "max_per_call": 0.01,
      "daily_cap": 40
    },
    {
      "id": "tab_token",
      "type": "tab_token",
      "supplied_by": "provenance",
      "hash": "dafafac36093326509eb8e2c53f2b4bd736535d8437de0873d5faacb31a6015f",
      "tab_id": "tab_01M68Q71A8Z3WKV1GJ4G6WDXRF",
      "opened_at": "2026-10-31T10:13:49.513Z",
      "grant_id": "grt_01M68ZTABREFERENCE0000001"
    },
    {
      "id": "tus_01M68Q71CY3PX0HYKN1H4Q28K4",
      "type": "buyer_count",
      "supplied_by": "buyer",
      "hash": "5bd746314dc80c18f31cc569e09423956c57165709d3d251ad2b2c14172f1a2d",
      "period_start": "2026-10-31T10:12:49.535Z",
      "period_end": "2026-10-31T10:13:19.535Z",
      "calls": 1610
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "usage_counts_match",
      "result": "supports_buyer",
      "detail": "The seller's statements (1840 calls) are more than the buyer's count (1610).",
      "evidence": [
        "tus_01M68Q71CV0FCGD7J5EXVXQ4JW",
        "tus_01M68Q71CY3PX0HYKN1H4Q28K4"
      ]
    },
    {
      "check": "statements_within_price",
      "result": "supports_seller",
      "detail": "Every statement charges at most $0.01 a call.",
      "evidence": [
        "price_sheet",
        "tus_01M68Q71CV0FCGD7J5EXVXQ4JW"
      ]
    },
    {
      "check": "day_within_cap",
      "result": "supports_seller",
      "detail": "The day's usage, $3.68, is within the daily cap of $40.00.",
      "evidence": [
        "price_sheet"
      ]
    },
    "… 3 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "opened",
      "actor": "buyer",
      "hash": "23dfb93ae8a6362cda4a8a85142f52a9bed695fff409b3ee023d589fca530d0b",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.617Z",
      "data": {
        "reason": "overcharged",
        "statement_hash": "926256b1a2b947caa7f39797538e4cfdaa1c2db1562f7aa9718a89cc3555f3c9",
        "amount_claimed": null,
        "decider": "parties",
        "arbiter_id": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Respond to a dispute

POST/v1/authorize/disputes/{id}/respond

The seller, within 5 days: accept (optionally with the refund you made on the rail, which resolves it for the buyer) or contest with a statement. After the window the response is unanswered.

Parameters

idstringpathRequired
The dispute's ID.
actionenumRequired
Accept the buyer's claim, or contest it. One of accept, contest.
statementstring
Your statement. Required to contest.
refundobject
The refund you made on the rail (with accept).
Show child attributes
railstring
The rail.
referencestring
The rail's reference.
amountnumber
The amount refunded.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/respond" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "accept",
    "statement": "We sent the UK edition by mistake."
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "responded",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": {
    "action": "accept",
    "statement": "We sent the UK edition by mistake.",
    "at": "2026-10-31T10:13:49.017Z"
  },
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "seller",
  "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE",
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 3 more"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:49.018Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 4 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 3,
      "type": "evidence_added",
      "actor": "buyer",
      "hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "prev_hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "created_at": "2026-10-31T10:13:48.977Z",
      "data": {
        "evidence_id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
        "kind": "document",
        "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
        "content_size": 33
      }
    },
    "… 3 more"
  ],
  "evidence_counts": {
    "buyer": 1,
    "seller": 0,
    "max_per_side": 20
  }
}

Record a refund

POST/v1/authorize/disputes/{id}/refund

The seller records a refund it made on the rail (up to the deal's total). After an accept, this resolves the dispute for the buyer. The refund itself happens on the rail.

Parameters

idstringpathRequired
The dispute's ID.
railstringRequired
The rail (x402, stripe, ach, …).
referencestringRequired
The rail's reference.
amountnumberRequired
The amount refunded.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/refund" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "rail": "x402", "reference": "0x51ab03e9c4d2", "amount": 40 }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "kind": "deal",
  "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "resolved",
  "reason": "content_mismatch",
  "statement": "The PDF we received covers the UK, not the EU.",
  "amount_claimed": 40,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:48.807Z",
  "response_due_at": "2026-11-05T10:13:48.807Z",
  "expires_at": "2026-12-30T10:13:48.807Z",
  "response": {
    "action": "accept",
    "statement": "We sent the UK edition by mistake.",
    "at": "2026-10-31T10:13:49.017Z"
  },
  "refund": {
    "rail": "x402",
    "reference": "0x51ab03e9c4d2",
    "amount": 40,
    "currency": "USD",
    "recorded_by": "seller",
    "recorded_at": "2026-10-31T10:13:49.030Z"
  },
  "proposal": null,
  "rail_case": null,
  "outcome": "buyer_favored",
  "decided_by": "parties",
  "outcome_statement": null,
  "resolved_at": "2026-10-31T10:13:49.030Z",
  "role": "seller",
  "assignee": "usr_01M6A2Q8ZJ4D7K0B5X3N9TFRWE",
  "actions": [
    "export",
    "receipt"
  ],
  "created_at": "2026-10-31T10:13:48.776Z",
  "updated_at": "2026-10-31T10:13:49.030Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
      "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
      "offer_id": "ofr_eu_storage_blrr"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
      "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
      "accepted_at": "2026-10-31T10:13:48.728Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:48.741Z"
    },
    "… 4 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:48.777Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
      "created_at": "2026-10-31T10:13:48.820Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": "402680d7341790b3db642334717e6272cd437afed8b18f26cf66c4e396626df3",
        "amount_claimed": 40,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 3,
      "type": "evidence_added",
      "actor": "buyer",
      "hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
      "prev_hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
      "created_at": "2026-10-31T10:13:48.977Z",
      "data": {
        "evidence_id": "dse_01M68Q70SGW2WC7D14HPZWG3PK",
        "kind": "document",
        "content_hash": "b4793936ee58171fee66e4ddac86017d8ea4a1e162f5d3e3373305d222992e97",
        "content_size": 33
      }
    },
    "… 5 more"
  ],
  "evidence_counts": {
    "buyer": 1,
    "seller": 0,
    "max_per_side": 20
  }
}

Propose an outcome

POST/v1/authorize/disputes/{id}/propose

Either side, when the parties decide (the offer named no arbiter). A new proposal replaces the last one; the other side accepts it with accept-proposal.

Parameters

idstringpathRequired
The dispute's ID.
outcomeenumRequired
The outcome you propose. One of buyer_favored, seller_favored, split.
statementstring
Why.
refund_amountnumber
A refund it includes.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70YGTJWG3DQ8JZTWRWPP/propose" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "outcome": "split",
    "statement": "Half back; the missing pages ship Friday.",
    "refund_amount": 20
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70YGTJWG3DQ8JZTWRWPP",
  "kind": "deal",
  "deal_id": "deal_01M68Q70WFCSX78BE65TRE6E46",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "open",
  "reason": "not_as_offered",
  "statement": "The report has 12 pages; the offer said 20.",
  "amount_claimed": 20,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:49.137Z",
  "response_due_at": "2026-11-05T10:13:49.137Z",
  "expires_at": "2026-12-30T10:13:49.137Z",
  "response": null,
  "refund": null,
  "proposal": {
    "id": "dpr_01M68Q70Z901RAPCA4P5JV9ETX",
    "by": "seller",
    "outcome": "split",
    "statement": "Half back; the missing pages ship Friday.",
    "refund_amount": 20,
    "at": "2026-10-31T10:13:49.161Z"
  },
  "rail_case": null,
  "outcome": null,
  "decided_by": null,
  "outcome_statement": null,
  "resolved_at": null,
  "role": "seller",
  "assignee": null,
  "actions": [
    "add_evidence",
    "assign",
    "note",
    "… 4 more"
  ],
  "created_at": "2026-10-31T10:13:49.136Z",
  "updated_at": "2026-10-31T10:13:49.161Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "7f2e898345777d27f78a2a7870676869cfbc570a10370fcadf2cb538fe1c5528",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzFkeHgiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMDU3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiQmRuMmtXM3F3aEQ2SGhwUy1tTVozdyIsImlhdCI6MTc5MzQ0MTYyOSwiZXhwIjoxNzkzNTI4MDI5fQ.UaLSztPL9dy2dVpBvCYv-UIA8D6jl3xbYWkv7oy4Se_86G70xZ_4Xxi4vCQrXUAoDdtHD7BEWf12kcj1m9K6CA",
      "offer_hash": "3723efcea3d201d283ae70733c08fbb0dad8d175da422ffbd36cba90b4be4c78",
      "offer_id": "ofr_eu_storage_1dxx"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "62b2f9a4b370f14197532cb5e1fcb63852fe2beb8bf350ca4b07a4ec5e417596",
      "jti": "8cf69924-4ecb-4d4b-9d03-21943a4e50d0",
      "accepted_at": "2026-10-31T10:13:49.084Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.096Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_seller",
      "detail": "The content hash the buyer confirmed matches the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.110Z, before the deadline (2026-11-02T10:13:49.057Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "opened",
      "actor": "buyer",
      "hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.137Z",
      "data": {
        "reason": "not_as_offered",
        "statement_hash": "d59d6b20ed3c86b55bd992698e365264f36c63c7fdfc72f233fc7b7322010ac0",
        "amount_claimed": 20,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 2,
      "type": "proposed",
      "actor": "seller",
      "hash": "6dbe5d144004611c1376da52374b41b0116f0ba5c33b7df3639e9673bc368294",
      "prev_hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "created_at": "2026-10-31T10:13:49.161Z",
      "data": {
        "proposal_id": "dpr_01M68Q70Z901RAPCA4P5JV9ETX",
        "outcome": "split",
        "refund_amount": 20,
        "statement_hash": "4462208062b79882df481e46c07b84a291660b65a5298cd76c085a72826f76f6"
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Accept a proposal

POST/v1/authorize/disputes/{id}/accept_proposal

The other side accepts the current proposal; the dispute resolves with its outcome, decided by the parties.

Parameters

idstringpathRequired
The dispute's ID.
proposal_idstringRequired
The current proposal's ID.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70YGTJWG3DQ8JZTWRWPP/accept_proposal" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "proposal_id": "dpr_01M68Q70Z901RAPCA4P5JV9ETX" }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q70YGTJWG3DQ8JZTWRWPP",
  "kind": "deal",
  "deal_id": "deal_01M68Q70WFCSX78BE65TRE6E46",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "resolved",
  "reason": "not_as_offered",
  "statement": "The report has 12 pages; the offer said 20.",
  "amount_claimed": 20,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:49.137Z",
  "response_due_at": "2026-11-05T10:13:49.137Z",
  "expires_at": "2026-12-30T10:13:49.137Z",
  "response": null,
  "refund": null,
  "proposal": {
    "id": "dpr_01M68Q70Z901RAPCA4P5JV9ETX",
    "by": "seller",
    "outcome": "split",
    "statement": "Half back; the missing pages ship Friday.",
    "refund_amount": 20,
    "at": "2026-10-31T10:13:49.161Z"
  },
  "rail_case": null,
  "outcome": "split",
  "decided_by": "parties",
  "outcome_statement": "Half back; the missing pages ship Friday.",
  "resolved_at": "2026-10-31T10:13:49.181Z",
  "role": "buyer",
  "assignee": null,
  "actions": [
    "export",
    "receipt"
  ],
  "created_at": "2026-10-31T10:13:49.136Z",
  "updated_at": "2026-10-31T10:13:49.181Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "7f2e898345777d27f78a2a7870676869cfbc570a10370fcadf2cb538fe1c5528",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzFkeHgiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMDU3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiQmRuMmtXM3F3aEQ2SGhwUy1tTVozdyIsImlhdCI6MTc5MzQ0MTYyOSwiZXhwIjoxNzkzNTI4MDI5fQ.UaLSztPL9dy2dVpBvCYv-UIA8D6jl3xbYWkv7oy4Se_86G70xZ_4Xxi4vCQrXUAoDdtHD7BEWf12kcj1m9K6CA",
      "offer_hash": "3723efcea3d201d283ae70733c08fbb0dad8d175da422ffbd36cba90b4be4c78",
      "offer_id": "ofr_eu_storage_1dxx"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "62b2f9a4b370f14197532cb5e1fcb63852fe2beb8bf350ca4b07a4ec5e417596",
      "jti": "8cf69924-4ecb-4d4b-9d03-21943a4e50d0",
      "accepted_at": "2026-10-31T10:13:49.084Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.096Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_seller",
      "detail": "The content hash the buyer confirmed matches the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.110Z, before the deadline (2026-11-02T10:13:49.057Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "opened",
      "actor": "buyer",
      "hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.137Z",
      "data": {
        "reason": "not_as_offered",
        "statement_hash": "d59d6b20ed3c86b55bd992698e365264f36c63c7fdfc72f233fc7b7322010ac0",
        "amount_claimed": 20,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 2,
      "type": "proposed",
      "actor": "seller",
      "hash": "6dbe5d144004611c1376da52374b41b0116f0ba5c33b7df3639e9673bc368294",
      "prev_hash": "cf0ec208dca4b548878df69e3cd04c7cf7f4fe1ef854880f36f40a787c7ad255",
      "created_at": "2026-10-31T10:13:49.161Z",
      "data": {
        "proposal_id": "dpr_01M68Q70Z901RAPCA4P5JV9ETX",
        "outcome": "split",
        "refund_amount": 20,
        "statement_hash": "4462208062b79882df481e46c07b84a291660b65a5298cd76c085a72826f76f6"
      }
    },
    {
      "seq": 3,
      "type": "resolved",
      "actor": "buyer",
      "hash": "45f53be6c086c5ce8fe3d40f2e82353f4fafc803b6cb8482d1d189529b58e18e",
      "prev_hash": "6dbe5d144004611c1376da52374b41b0116f0ba5c33b7df3639e9673bc368294",
      "created_at": "2026-10-31T10:13:49.182Z",
      "data": {
        "outcome": "split",
        "decided_by": "parties",
        "statement_hash": "4462208062b79882df481e46c07b84a291660b65a5298cd76c085a72826f76f6"
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Record the rail's case

POST/v1/authorize/disputes/{id}/rail_case

Either side, when the offer named the rail: its case reference, and later the rail's outcome (which resolves the dispute, decided by the rail).

Parameters

idstringpathRequired
The dispute's ID.
railstringRequired
The rail.
referencestringRequired
The rail's case reference.
outcomeenum
The rail's outcome, once it has one. One of buyer_favored, seller_favored, split.
statementstring
The rail's reasons, if it gave any.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q712XR6DZ4STQ185EWD4T/rail_case" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "rail": "stripe",
    "reference": "dp_1QK8r2LkdIwHu7ix",
    "outcome": "buyer_favored"
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q712XR6DZ4STQ185EWD4T",
  "kind": "deal",
  "deal_id": "deal_01M68Q7119SCNKMNKH6NEX888V",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "resolved",
  "reason": "content_mismatch",
  "statement": null,
  "amount_claimed": null,
  "currency": "USD",
  "decider": "rail",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:49.287Z",
  "response_due_at": "2026-11-05T10:13:49.287Z",
  "expires_at": "2026-12-30T10:13:49.287Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": {
    "rail": "stripe",
    "reference": "dp_1QK8r2LkdIwHu7ix",
    "recorded_by": "seller",
    "recorded_at": "2026-10-31T10:13:49.305Z",
    "outcome": "buyer_favored",
    "outcome_recorded_at": "2026-10-31T10:13:49.313Z"
  },
  "outcome": "buyer_favored",
  "decided_by": "rail",
  "outcome_statement": null,
  "resolved_at": "2026-10-31T10:13:49.313Z",
  "role": "seller",
  "assignee": null,
  "actions": [
    "export",
    "receipt"
  ],
  "created_at": "2026-10-31T10:13:49.277Z",
  "updated_at": "2026-10-31T10:13:49.313Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "90d3e5c5c3d00069bb74167804245dd50d52cf3c2429951a39d135669ce2fca1",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzRveXYiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMjAwWiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwiYXJiaXRlciI6InJhaWwiLCJraWQiOiJHejEyT3R2SW4tOHNxdWZmUGRMS2VMQlZJQlFPaVBmY0kxTklDQ3o1bGhJIiwibm9uY2UiOiJ1UXJIaDNGNi1hVG1YMXFXV08tbWZRIiwiaWF0IjoxNzkzNDQxNjI5LCJleHAiOjE3OTM1MjgwMjl9.pN2__LZ1cnMEQdIaMYvjy3k033ehpJU4Ys5p3PIwTUan9jrCLHOp5GJhscYuZor7aSfIZF3cwIXXCdal-z2SCg",
      "offer_hash": "f8e1918f7a313bc5b7da7ef843632815b70d89833d285d2a6424d45aa57c6c36",
      "offer_id": "ofr_eu_storage_4oyv"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "acab8585946ab8264189f848cb1a38f41a4fed861680c32a2edd1504b578b701",
      "jti": "ddb9bcf6-f318-4a3b-9d21-ec42e56d11ee",
      "accepted_at": "2026-10-31T10:13:49.236Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.255Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.267Z, before the deadline (2026-11-02T10:13:49.200Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "8f3b5592983b3ea99c2aed20e5ac6057fe0d6566bf56dcee6b25571ac374dd73",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.277Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "45b047f305b41284c9cff3bcc31722d6007504d50171375bad10798e3782f616",
      "prev_hash": "8f3b5592983b3ea99c2aed20e5ac6057fe0d6566bf56dcee6b25571ac374dd73",
      "created_at": "2026-10-31T10:13:49.288Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": null,
        "amount_claimed": null,
        "decider": "rail",
        "arbiter_id": null
      }
    },
    {
      "seq": 3,
      "type": "rail_case",
      "actor": "buyer",
      "hash": "750447eebae0df316574068e3d79c310179978887a765858c5cf2dbc467204bf",
      "prev_hash": "45b047f305b41284c9cff3bcc31722d6007504d50171375bad10798e3782f616",
      "created_at": "2026-10-31T10:13:49.305Z",
      "data": {
        "rail": "stripe",
        "reference_hash": "fd0320d2729718710a5642c07c598b9758d4b1d8a09bca574d0e7c24f80a2048",
        "outcome": null
      }
    },
    {
      "seq": 4,
      "type": "rail_case",
      "actor": "seller",
      "hash": "9f44e6f53f50a60ff20e9d7a974ad351ac0a59a9d350510d208cd3d48d421da5",
      "prev_hash": "750447eebae0df316574068e3d79c310179978887a765858c5cf2dbc467204bf",
      "created_at": "2026-10-31T10:13:49.313Z",
      "data": {
        "rail": "stripe",
        "reference_hash": "fd0320d2729718710a5642c07c598b9758d4b1d8a09bca574d0e7c24f80a2048",
        "outcome": "buyer_favored"
      }
    },
    {
      "seq": 5,
      "type": "resolved",
      "actor": "seller",
      "hash": "06ccc7f73df35c1e7e816d4a59eaf3241be4d44c7b9567228a7e2c1fa849d549",
      "prev_hash": "9f44e6f53f50a60ff20e9d7a974ad351ac0a59a9d350510d208cd3d48d421da5",
      "created_at": "2026-10-31T10:13:49.313Z",
      "data": {
        "outcome": "buyer_favored",
        "decided_by": "rail",
        "statement_hash": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Record an arbiter's outcome

POST/v1/authorize/disputes/{id}/outcome

The arbiter the offer named records the outcome with its statement. Anyone else gets 403 arbiter_not_named (a party) or 404.

Parameters

idstringpathRequired
The dispute's ID.
outcomeenumRequired
The outcome. One of buyer_favored, seller_favored, split.
statementstringRequired
Your reasons.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q7166SHFMGG99T5WXHTMZ/outcome" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "outcome": "seller_favored",
    "statement": "The delivered file matches the offer'\''s format and scope; the buyer hashed a converted copy."
  }'

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q7166SHFMGG99T5WXHTMZ",
  "kind": "deal",
  "deal_id": "deal_01M68Q7154DMK0VNJHY30QN7AP",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "resolved",
  "reason": "content_mismatch",
  "statement": null,
  "amount_claimed": null,
  "currency": "USD",
  "decider": "arbiter",
  "arbiter": {
    "id": "arb_01M68Q70EA95MHMFTJ1YAVR6TK",
    "name": "Fairway Arbitration"
  },
  "opened_at": "2026-10-31T10:13:49.391Z",
  "response_due_at": "2026-11-05T10:13:49.391Z",
  "expires_at": "2026-12-30T10:13:49.391Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": "seller_favored",
  "decided_by": "arbiter",
  "outcome_statement": "The delivered file matches the offer's format and scope; the buyer hashed a converted copy.",
  "resolved_at": "2026-10-31T10:13:49.404Z",
  "role": "arbiter",
  "assignee": null,
  "actions": [
    "export",
    "receipt"
  ],
  "created_at": "2026-10-31T10:13:49.382Z",
  "updated_at": "2026-10-31T10:13:49.404Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "25402851e348d4ac45b1451388427acfb3e1f9f6c6c2a425ba7fd35f75bca4a7",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2hkcjgiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuMzI3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwiYXJiaXRlciI6ImFyYl8wMU02OFE3MEVBOTVNSE1GVEoxWUFWUjZUSyIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkiLCJub25jZSI6IkdrenFCd3dRLTJGcjBSNjAzVkZIYUEiLCJpYXQiOjE3OTM0NDE2MjksImV4cCI6MTc5MzUyODAyOX0.MM1zQJ23nuZqbdVhbvt2p__si3mWu3MG5YV7t_w5sXo5B7AOjLV0mnrH2t3ChUPcOBb_ZGGNWmDncfYu6i8zBw",
      "offer_hash": "3e36be154020221a86d08fbc8bf8eb9937aece257e17c651d45b10e5a8a4c8f2",
      "offer_id": "ofr_eu_storage_hdr8"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "4806b5eedde93885e9fe87e542ac2b7e74bce6097407d9781b4dea39aa4f7a0f",
      "jti": "86f37b9c-e132-42a2-b52e-2a894885355a",
      "accepted_at": "2026-10-31T10:13:49.357Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.368Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_buyer",
      "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.379Z, before the deadline (2026-11-02T10:13:49.327Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "private",
      "actor": "provenance",
      "hash": "9037bef20731abaa32c75a3e189b763b56dae4ce0a64633b39df317a3a3c9396",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.382Z"
    },
    {
      "seq": 2,
      "type": "opened",
      "actor": "buyer",
      "hash": "0ff24f0beda14b256f9241b6e358213971ad0bfb178a8ba51213f1f478de7cf3",
      "prev_hash": "9037bef20731abaa32c75a3e189b763b56dae4ce0a64633b39df317a3a3c9396",
      "created_at": "2026-10-31T10:13:49.391Z",
      "data": {
        "reason": "content_mismatch",
        "statement_hash": null,
        "amount_claimed": null,
        "decider": "arbiter",
        "arbiter_id": "arb_01M68Q70EA95MHMFTJ1YAVR6TK"
      }
    },
    {
      "seq": 3,
      "type": "resolved",
      "actor": "arbiter",
      "hash": "ad0517a4fd55773b69cfdaf0cbc5e1035b9abee908debc754b34143976c516cc",
      "prev_hash": "0ff24f0beda14b256f9241b6e358213971ad0bfb178a8ba51213f1f478de7cf3",
      "created_at": "2026-10-31T10:13:49.404Z",
      "data": {
        "outcome": "seller_favored",
        "decided_by": "arbiter",
        "statement_hash": "9dec3e34382fdf0e9879c6eee08a7298c6f990575e52f165364f7d27299135ff"
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Withdraw a dispute

POST/v1/authorize/disputes/{id}/withdraw

The buyer withdraws a draft or an open dispute. Withdrawn disputes never count against the seller's record.

Parameters

idstringpathRequired
The dispute's ID.

Returns

The dispute (detail). See the dispute object.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q719C7TVBCVPNWEEM7CCN/withdraw" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "dispute",
  "id": "dsp_01M68Q719C7TVBCVPNWEEM7CCN",
  "kind": "deal",
  "deal_id": "deal_01M68Q717DHVTQKMJRZDKYB71E",
  "tab_id": null,
  "period_day": null,
  "period_start": null,
  "period_end": null,
  "claimed_calls": null,
  "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
  "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
  "status": "withdrawn",
  "reason": "late",
  "statement": null,
  "amount_claimed": null,
  "currency": "USD",
  "decider": "parties",
  "arbiter": null,
  "opened_at": "2026-10-31T10:13:49.484Z",
  "response_due_at": "2026-11-05T10:13:49.484Z",
  "expires_at": "2026-12-30T10:13:49.484Z",
  "response": null,
  "refund": null,
  "proposal": null,
  "rail_case": null,
  "outcome": "withdrawn",
  "decided_by": "buyer",
  "outcome_statement": null,
  "resolved_at": "2026-10-31T10:13:49.493Z",
  "role": "buyer",
  "assignee": null,
  "actions": [
    "export",
    "receipt"
  ],
  "created_at": "2026-10-31T10:13:49.484Z",
  "updated_at": "2026-10-31T10:13:49.493Z",
  "items": [
    {
      "id": "offer",
      "type": "signed_offer",
      "supplied_by": "seller",
      "hash": "f6752ed634f5eeedfa7370adfc2d241233455aa8d4fce8b76b81ca0156bb5f78",
      "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlXzBubnUiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDkuNDE3WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiVUhvczZyMEx1Mk9HZThiYnVFYTk1USIsImlhdCI6MTc5MzQ0MTYyOSwiZXhwIjoxNzkzNTI4MDI5fQ.W9oKBPYxO_0UUZGq3j9q736Cn_cXZSgNkOsaOw-3iYVGkzDerXD_pjKCqtSSwnGmgEEHpiHjuiZNHnX7_djLDA",
      "offer_hash": "9ec0264b2741864dc8ef71151c6e5bb19a8fd6e0f3b3be4371c9b52d6b65d7d7",
      "offer_id": "ofr_eu_storage_0nnu"
    },
    {
      "id": "acceptance",
      "type": "acceptance_token",
      "supplied_by": "provenance",
      "hash": "6416546fce5239dfb13ca8dc9ac5f6bd2a5d024cae50c71cfe19de66c8470d29",
      "jti": "1542c237-2565-4bcc-9ed3-fd7167f439ca",
      "accepted_at": "2026-10-31T10:13:49.441Z",
      "grant_id": null
    },
    {
      "id": "payment",
      "type": "payment_reference",
      "supplied_by": "buyer",
      "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
      "rail": "x402",
      "reference": "0x9f2c41d0b7e3",
      "recorded_at": "2026-10-31T10:13:49.448Z"
    },
    "… 3 more"
  ],
  "findings": [
    {
      "check": "delivery_hash_matches",
      "result": "supports_seller",
      "detail": "The content hash the buyer confirmed matches the seller's signed delivery receipt.",
      "evidence": [
        "delivery_receipt",
        "confirmation"
      ]
    },
    {
      "check": "delivered_by_deadline",
      "result": "supports_seller",
      "detail": "Delivered at 2026-10-31T10:13:49.475Z, before the deadline (2026-11-02T10:13:49.417Z).",
      "evidence": [
        "offer",
        "delivery_receipt"
      ]
    },
    {
      "check": "total_within_offer",
      "result": "supports_seller",
      "detail": "The deal's total, $40.00, is within the offer's total.",
      "evidence": [
        "offer",
        "acceptance"
      ]
    },
    "… 5 more"
  ],
  "history": [
    {
      "seq": 1,
      "type": "opened",
      "actor": "buyer",
      "hash": "e7bf2ab16e31a12fbbaa9fce0bae7d96e178837fe556492aaa1a6442b3ad3024",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "created_at": "2026-10-31T10:13:49.485Z",
      "data": {
        "reason": "late",
        "statement_hash": null,
        "amount_claimed": null,
        "decider": "parties",
        "arbiter_id": null
      }
    },
    {
      "seq": 2,
      "type": "withdrawn",
      "actor": "buyer",
      "hash": "6d3b038cbf3e795413bd90492680aa76a9a3a354f33fa44d17e51d5027e2b4a4",
      "prev_hash": "e7bf2ab16e31a12fbbaa9fce0bae7d96e178837fe556492aaa1a6442b3ad3024",
      "created_at": "2026-10-31T10:13:49.493Z",
      "data": {
        "outcome": "withdrawn",
        "decided_by": "buyer",
        "statement_hash": null
      }
    }
  ],
  "evidence_counts": {
    "buyer": 0,
    "seller": 0,
    "max_per_side": 20
  }
}

Export the bundle

GET/v1/authorize/disputes/{id}/bundle

The neutral export to attach to a rail's dispute: the bundle with every hash, the findings, the public history and an evidence+jwt over its digest, checkable offline with verifyDisputeBundle. Notes never leave. Free.

Parameters

idstringpathRequired
The dispute's ID.

Returns

The export.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/disputes/dsp_01M68Q70K8B2338AM7VHP4H3FM/bundle" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "dispute_export",
  "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
  "bundle": {
    "object": "dispute_bundle",
    "version": 1,
    "issuer": "provenance-authorize",
    "dispute": {
      "id": "dsp_01M68Q70K8B2338AM7VHP4H3FM",
      "kind": "deal",
      "deal_id": "deal_01M68Q70FNMD4YV1AN4D63XA76",
      "tab_id": null,
      "period_day": null,
      "period_start": null,
      "period_end": null,
      "claimed_calls": null,
      "buyer_agent_id": "agt_01M68Q70DVS2W0BG79T09HJ9ER",
      "seller_agent_id": "agt_01M68Q70ADMGVNWR5DXFBHCGSZ",
      "status": "resolved",
      "reason": "content_mismatch",
      "statement": "The PDF we received covers the UK, not the EU.",
      "amount_claimed": 40,
      "currency": "USD",
      "decider": "parties",
      "arbiter": null,
      "opened_at": "2026-10-31T10:13:48.807Z",
      "response_due_at": "2026-11-05T10:13:48.807Z",
      "expires_at": "2026-12-30T10:13:48.807Z",
      "response": {
        "action": "accept",
        "statement": "We sent the UK edition by mistake.",
        "at": "2026-10-31T10:13:49.017Z"
      },
      "refund": {
        "rail": "x402",
        "reference": "0x51ab03e9c4d2",
        "amount": 40,
        "currency": "USD",
        "recorded_by": "seller",
        "recorded_at": "2026-10-31T10:13:49.030Z"
      },
      "proposal": null,
      "rail_case": null,
      "outcome": "buyer_favored",
      "decided_by": "parties",
      "outcome_statement": null,
      "resolved_at": "2026-10-31T10:13:49.030Z"
    },
    "items": [
      {
        "id": "offer",
        "type": "signed_offer",
        "supplied_by": "seller",
        "hash": "5c02ea90fc19138cf78882c3faca7517c5703041337cb8e48ec907f8968ff8ea",
        "content": "eyJhbGciOiJFZERTQSIsInR5cCI6Im9mZmVyK2p3dCIsImtpZCI6Ikd6MTJPdHZJbi04c3F1ZmZQZExLZUxCVklCUU9pUGZjSTFOSUNDejVsaEkifQ.eyJpc3MiOiJhZ3RfMDFNNjhRNzBBRE1HVk5XUjVEWEZCSENHU1oiLCJvZmZlcl9pZCI6Im9mcl9ldV9zdG9yYWdlX2JscnIiLCJpdGVtcyI6W3sic2t1IjoicnB0LWV1LXN0b3JhZ2UiLCJuYW1lIjoiRVUgc3RvcmFnZSBtYXJrZXQgcmVwb3J0IiwicXVhbnRpdHkiOjEsInVuaXQiOiJyZXBvcnQiLCJ1bml0X3ByaWNlIjo0MH1dLCJ0b3RhbCI6NDAsImN1cnJlbmN5IjoiVVNEIiwiZGVsaXZlcnkiOnsia2luZCI6ImZpbGUiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi9wZGYiLCJkZWFkbGluZSI6IjIwMjYtMTEtMDJUMTA6MTM6NDguNjE5WiJ9LCJyZWZ1bmRfdGVybXMiOlsiZnVsbF9pZl9taXNtYXRjaCJdLCJzZWxsZXJfY29uZmlybWF0aW9uIjp7Im9mZmVyZWQiOiJuZXZlciIsInJlc3BvbnNlX3RpbWUiOiIxYmQifSwia2lkIjoiR3oxMk90dkluLThzcXVmZlBkTEtlTEJWSUJRT2lQZmNJMU5JQ0N6NWxoSSIsIm5vbmNlIjoiV3p0ZHhlZVdPaE9YM25lN1NmNUFQZyIsImlhdCI6MTc5MzQ0MTYyOCwiZXhwIjoxNzkzNTI4MDI4fQ.B85g9El-VOoyd5IbmGxZNpwXNJ7A0kl2Y9ZrHkFqqeWKdqB09N2tT6bNuGEpIpmUQFIO_4rYIy7P8y5v0mjkAw",
        "offer_hash": "b76fe94ed014af5f494a85220eb5b5131eb86efb5c2099f123c602dfdeab9573",
        "offer_id": "ofr_eu_storage_blrr"
      },
      {
        "id": "acceptance",
        "type": "acceptance_token",
        "supplied_by": "provenance",
        "hash": "2805935cc39d18f02de84ffb6787ff56d35aa8b8b5166035824bcbb6ce32f0ed",
        "jti": "8c6b29b3-a387-47c0-b580-b4c2b2846ab8",
        "accepted_at": "2026-10-31T10:13:48.728Z",
        "grant_id": null
      },
      {
        "id": "payment",
        "type": "payment_reference",
        "supplied_by": "buyer",
        "hash": "4d3be184a274bd07060c7eef151e48916f82a5eaaf65535d93ac2e53600b99bb",
        "rail": "x402",
        "reference": "0x9f2c41d0b7e3",
        "recorded_at": "2026-10-31T10:13:48.741Z"
      },
      "… 4 more"
    ],
    "findings": [
      {
        "check": "delivery_hash_matches",
        "result": "supports_buyer",
        "detail": "The content hash the buyer confirmed differs from the seller's signed delivery receipt.",
        "evidence": [
          "delivery_receipt",
          "confirmation"
        ]
      },
      {
        "check": "delivered_by_deadline",
        "result": "supports_seller",
        "detail": "Delivered at 2026-10-31T10:13:48.763Z, before the deadline (2026-11-02T10:13:48.619Z).",
        "evidence": [
          "offer",
          "delivery_receipt"
        ]
      },
      {
        "check": "total_within_offer",
        "result": "supports_seller",
        "detail": "The deal's total, $40.00, is within the offer's total.",
        "evidence": [
          "offer",
          "acceptance"
        ]
      },
      "… 5 more"
    ],
    "history": [
      {
        "seq": 1,
        "type": "private",
        "actor": "provenance",
        "hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
        "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
        "created_at": "2026-10-31T10:13:48.777Z"
      },
      {
        "seq": 2,
        "type": "opened",
        "actor": "buyer",
        "hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
        "prev_hash": "7a3efc11c7a8ab14428e156137f518014a7427d77d0bc10a6ff723ecfa8b2124",
        "created_at": "2026-10-31T10:13:48.820Z"
      },
      {
        "seq": 3,
        "type": "evidence_added",
        "actor": "buyer",
        "hash": "1d4b63d7c58ecbf10c1b7732a38bba6c1abb2ff6ddf4b434c541419bcd2bc198",
        "prev_hash": "dd719bf546a7d67a9fc7f46d09ab70ebdd6a0a3df60b7f6cfa77e515d101e580",
        "created_at": "2026-10-31T10:13:48.977Z"
      },
      "… 5 more"
    ],
    "generated_at": "2026-10-31T10:13:49.056Z"
  },
  "bundle_sha256": "1e84aebc9f5c08c12428b458b6c4d5df871dbcf54ecb1a5075793385058d6b3b",
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6ImV2aWRlbmNlK2p3dCIsImtpZCI6IjU0MzAyOWZmM2EyNjkzNjkifQ.eyJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSIsImlhdCI6MTc5MzQ0MTYyOSwiZGlzcHV0ZV9pZCI6ImRzcF8wMU02OFE3MEs4QjIzMzhBTTdWSFA0SDNGTSIsImJ1bmRsZV9zaGEyNTYiOiIxZTg0YWViYzlmNWMwOGMxMjQyOGI0NThiNmM0ZDVkZjg3MWRiY2Y1NGVjYjFhNTA3NTc5MzM4NTA1OGQ2YjNiIiwiaXRlbXMiOjd9.KDMnE1rpIVl-75_2AFT1LihaksaQUyP59hISyFMQ51gKyF0_Yz5dYrpS8GSZOaP-OZBui0xnAqL6TUL0tglzCg",
  "jwks_url": "http://localhost:80/.well-known/jwks.json"
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.