Back to Blog
Chargeback-Ready Evidence for Agent Purchases: What to Keep and How to Prove It
Technical Guide·8 min read·

Chargeback-Ready Evidence for Agent Purchases: What to Keep and How to Prove It

C

Claw GRC Team

Claw GRC Team

When an AI agent's purchase is disputed, you need the signed receipt, the approval, the mandate and the log, tied together and tamper-evident. What to keep, what a Claw GRC dispute pack holds, and what it cannot prove.

Chargeback-Ready Evidence for Agent Purchases: What to Keep and How to Prove It

A customer says they did not authorise a purchase. When a person clicked "buy", you have a session and a device. When an agent bought, you have an agent, an owner who may have said yes weeks ago, and a merchant who says the order was fulfilled. The dispute is decided on whether you can show the chain: who the agent was, what it was allowed to do, whether a person approved this cart, and what both sides signed.

This article is about keeping that chain from the first purchase, so the dispute response is a query and not a reconstruction.

What to keep for every agent purchase

Evidence Why it matters Where it comes from
Signed purchase receipt (receipt/1) The merchant and the agent each signed the same terms: cart digest, total, currency, rail, settlement reference Merchant and agent signatures
Mandate hash or approval request id Shows the owner authorised this spend: a standing mandate that covers it, or an approval of this cart Named inside the receipt
Agent Commerce Check decision allow, step_up or deny, with reasons, for this cart Checker output
Refunds and chargebacks Each must refer to a known purchase and stay inside its amount Receipts
Kill-switch test The owner could stop the agent, and a purchase was refused afterwards Your test, reported
Activity around the purchase What else the agent did within an hour Gateway events
For organisations: cost centre and quorum Which budget, and which approvers released it Receipt tags, verified approvals

Keep digests and ids, not bodies. A mandate and a cart live with their owners. If you also write card numbers into these logs, you have a second problem: ClawGRC rejects any commerce event holding a Luhn-valid card number.

What a Claw GRC dispute pack holds

POST /api/v1/reports/dispute-pack with a receipt_id builds one pack from stored rows only and saves it as a report. It holds:

  • the purchase receipt and its refunds and chargebacks, with who signed each, and a check that refunds stay inside the purchase;
  • the Agent Commerce Check decisions on that cart, and the mandate hash and approval request id the receipt names;
  • the agent's kill-switch tests and its gateway activity within an hour of the purchase;
  • for an organisation purchase, the organisation, cost centre and the verified approvals that released it;
  • the six Agent Payments control statuses at that moment;
  • for every row, whether it still hashes into your organisation's chain, and a pack_sha256 over the whole pack.

An edited row shows chain_verified: false. That is the point of the chain: if someone rewrites the log after the dispute starts, the pack says so.

The compliance engine cannot create a dispute_pack report itself; it is built by the service that holds the evidence, so nobody can hand the API a pack.

What the pack does not prove

Be exact with the processor and with your own team.

  • ClawGRC hashes and digests, not the signed mandate or cart. You re-verify receipts with openentity.verify_receipt on receipts[].receipt, and produce the mandate from its owner.
  • Check decisions and kill-switch tests are what your keys reported. ClawGRC never saw the purchase refused.
  • ClawGRC does not see the payment, so the pack is not proof of settlement.
  • Organisation tags (cost centre, team) are your report. A signed receipt cannot carry them.

A pack with these limits stated is more credible than one that claims everything.

Habits that make the pack strong

  1. Send the check decision before the purchase and the receipt after it, every time, not only for large buys.
  2. Put the mandate hash or approval request id in the receipt so the link is signed.
  3. Run the kill-switch test on a schedule shorter than 90 days; PAY-05 only passes on a recent one.
  4. Send refunds and chargebacks as receipts that refer to the purchase, so they count against it.

For agents

An agent holding a ClawGRC agent key (and a registered DID) can record a purchase check and then ask for the pack of a stored receipt. Replace the placeholders; $RECEIPT_JSON is a signed receipt/1 from the merchant and the agent.

# Send the signed receipt. A receipt the merchant did not sign is rejected.
curl -sS https://api.clawgrc.com/v1/gateway/events \
  -H "X-API-Key: $CLAWGRC_AGENT_KEY" -H "content-type: application/json" \
  -d '{"events":[{"version":"entity-gateway-hook/1","event":"commerce_receipt",
        "metadata":{"request_id":"rc_'"$(date +%s)"'"},
        "commerce":{"receipt":'"$RECEIPT_JSON"'}}]}'

# Build the dispute pack for that receipt
curl -sS https://api.clawgrc.com/api/v1/reports/dispute-pack \
  -H "X-API-Key: $CLAWGRC_AGENT_KEY" -H "content-type: application/json" \
  -d '{"receipt_id":"'"$RECEIPT_ID"'","name":"Dispute pack"}'

The MCP server exposes the same as grc_generate_report with type: "dispute_pack" and receipt_id. Details: Agent Payments reference.

FAQ

What is a dispute pack? A JSON report built for one receipt from stored rows, with the receipt, refunds, check decisions, mandate and approval references, kill-switch tests, nearby activity, control statuses and a SHA-256 over the whole.

Can the pack hold a forged receipt? No. Receipts are verified with the Open Entity SDK before they are stored.

Does ClawGRC store the signed mandate or the cart? No, only hashes and digests. The owner and the merchant hold the signed objects.

Does the pack prove the payment settled? No. ClawGRC does not see the payment.

Start with the Agent Payments pack ->

CG

Get started with Claw GRC

AI-native compliance automation. 1,026+ controls. MCP-native. Free workspace, no credit card.

Start Free →