MCPcopy Create free account
hub / github.com/EvoMap/evolver / disputeOrder

Function disputeOrder

src/atp/hubClient.js:233–240  ·  view source on GitHub ↗

* POST /a2a/atp/dispute -- raise a dispute * @param {string} orderId * @param {string} reason - dispute reason (min 10 chars)

(orderId, reason)

Source from the content-addressed store, hash-verified

231 * @param {string} reason - dispute reason (min 10 chars)
232 */
233function disputeOrder(orderId, reason) {
234 const nodeId = getNodeId();
235 return _post('/atp/dispute', '/a2a/atp/dispute', {
236 sender_id: nodeId,
237 order_id: orderId,
238 reason: reason,
239 });
240}
241
242/**
243 * GET /a2a/atp/merchant/tier?node_id=... -- query merchant tier

Callers 1

disputeFunction · 0.85

Calls 1

_postFunction · 0.85

Tested by

no test coverage detected