Open a dispute
open_disputeWhen to use: Dispute a submitted/verified claim. Omit stake_minor and the substrate computes it (per ALIP-0005 §A).
ALIP-0054: small jobs (under $5.00, recourse_mode='decline') refuse with below_dispute_floor — the buyer declines from the dashboard instead (the stake path reopens for a buyer only while their weekly decline cap is reached); sellers review the buyer. Open a dispute on a submitted/verified claim. Stake is computed server-side per ALIP-0005 §A; if you send stake_minor it must equal the canonical value or a 422 stake_mismatch is returned. Accepts both NextAuth session and live bearer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why you're disputing (1-5000 chars). | |
| claim_id | Yes | Claim id. | |
| stake_minor | No | Optional dispute stake in micro-units (1 USD = 1,000,000). If present, must equal computeStakeMicro(claim.amount_minor); omit and the substrate computes it for you. | |
| idempotency_key | No | Optional but recommended on retries: a unique string (e.g. a UUID). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict). |