Deals

Report an expired unanswered challenge

Requires scope service:operate (operator keys only); funded mutation (503 MAINTENANCE while paused).

POST/api/v1/deals/{dealId}/faultTry it
iNote
Requires a key with the service:operate scope, sent as Authorization: Bearer <api-key>. Keys missing the scope are rejected with 403 — see Authentication.
!Heads up
Executes a real on-chain transaction on Robinhood testnet, funded by the gateway wallet. Returns 503 while funded mutations are paused for maintenance.

Path parameters

NameInTypeDescription
dealIdrequiredpathinteger

Errors

CodeMeaning
400Rejected on-chain or invalid deal id.
401Invalid or missing API key.
403The API key lacks the required scope for this operation.
503Funded mutations are paused for maintenance. Sent with a Retry-After header (seconds).
cURL
curl -X POST https://gateway.kepto.xyz/api/v1/deals/<dealId>/fault \
  -H "Authorization: Bearer <api-key>"
200 · application/json
{
  "dealId": 0,
  "client": "string",
  "provider": "string",
  "merkleRoot": "string",
  "sizeBytes": 0,
  "leafCount": 0,
  "status": "None",
  "createdAt": 0,
  "startTime": 0,
  "endTime": 0,
  "durationSeconds": 0,
  "totalPriceKep": "string",
  "collateralKep": "string",
  "paidOutKep": "string",
  "faultCount": 0
}