Mark a contract condition as fulfilled
cURL
curl --request POST \ --url https://api.example.com/contracts/{id}/fulfill \ --header 'Content-Type: application/json' \ --data ' { "conditionId": "<string>" } '
curl -X POST https://api.midasprotocol.org/contracts/contract-uuid/fulfill \ -H "Authorization: Bearer pp_your_key" \ -H "Content-Type: application/json" \ -d '{ "conditionId": "delivery" }'
FULFILLED
{ "id": "uuid", "status": "ACTIVE", "conditions": [ { "id": "delivery", "fulfilled": true, "fulfilledAt": "..." }, { "id": "quality", "fulfilled": false } ] }