API ReferenceMerchant agent

Steps of the running or last negotiation

GET
/console/api/negotiation

The steps of the negotiation started by negotiate, read from the merchant's signed receipt log as it grows. Each step is a receipt that was really written.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/console/api/negotiation"
{  "running": false,  "error": null,  "case": "PP-D-REH-49D4D35C16",  "steps": [    {      "n": 1,      "step": "PP-D-REH-49D4D35C16:decision",      "action": "clearwake.dispute.decision",      "ok": true,      "at": "05:05:48"    },    {      "n": 2,      "step": "PP-D-REH-49D4D35C16:offer",      "action": "clearwake.dispute.offer_sent",      "ok": true,      "at": "05:05:48"    },    {      "n": 3,      "step": "PP-D-REH-49D4D35C16:settlement",      "action": "clearwake.dispute.settlement",      "ok": false,      "at": "05:05:48"    },    {      "n": 4,      "step": "PP-D-REH-49D4D35C16:settlement",      "action": "clearwake.dispute.settlement",      "ok": true,      "at": "05:05:48"    }  ]}