Contest a dispute with a reason and supporting evidence.
Two preconditions apply, both checked before the challenge is forwarded:
CHALLENGEmust appear in the dispute'snext_actions, otherwise409ERR_DISPUTE_NOT_ACTIONABLE.- A pending payer evidence file must already be attached, otherwise
409ERR_CHALLENGE_EVIDENCE_REQUIRED. Upload it first through the evidence endpoint.
The fields a challenge takes depend on the card network and the dispute's stage, so fetch the live challenge schema from the next actions endpoint immediately before submitting and send the field and option codes it lists. Fields without a typed property here, such as Visa's not_listed_invalid_reason or Mastercard's pre-arbitration memo, go in additional_parameters.
Every field is validated against that schema. A missing required field, an option the schema does not offer, or an additional_parameters key it does not list returns 400 ERR_INVALID_PARAMETER with each field named in error_message. Text over the card network's length limit (10,000 characters for Visa, 100 for Mastercard notes and memos) returns 400 ERR_INVALID_PARAMETER with the network's message. A top-level property other than those below returns 400 with no field named.
Submitting a challenge also submits the pending evidence to the processor.

