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

Function settleOrder

src/atp/hubClient.js:220–226  ·  view source on GitHub ↗

* POST /a2a/atp/settle -- force settlement * @param {string} orderId

(orderId)

Source from the content-addressed store, hash-verified

218 * @param {string} orderId
219 */
220function settleOrder(orderId) {
221 const nodeId = getNodeId();
222 return _post('/atp/settle', '/a2a/atp/settle', {
223 sender_id: nodeId,
224 order_id: orderId,
225 });
226}
227
228/**
229 * POST /a2a/atp/dispute -- raise a dispute

Callers 1

settleFunction · 0.85

Calls 1

_postFunction · 0.85

Tested by

no test coverage detected