deals

Cancel a deal (initiator only, before counterparties commit)

post/v1/deals/{id}/cancel

Request

  • Base URL: https://api.redeal.dev
  • URL: https://api.redeal.dev/v1/deals/{id}/cancel
  • 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

object required

Response

Deal cancelled

deal_idstring
statestring

Example response

{
  "state": "CANCELLED"
}

Changes

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