deals

Reveal an input against a prior commitment

post/v1/deals/{id}/reveal

Request

  • Base URL: https://api.redeal.dev
  • URL: https://api.redeal.dev/v1/deals/{id}/reveal
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring

Stripe-style idempotency: replays the stored response for a repeated key + identical body; 409 on key reuse with a different body

Request body

inputobject required

the party_input for the deal's algorithm, within the bounds served at GET /v1/algorithms (out-of-bounds input is rejected, never clamped)

saltstring

the salt used in the commitment (default empty)

Response

Reveal accepted. When all parties reveal, the algorithm runs and the certificate is issued automatically.

deal_idstring
statestring
partyinteger
revealedboolean
resultobject nullable

populated once the deal COMPUTED

Changes

No recorded changes to this operation across all 1 revision of this API.