Challenge Dispute

Contest a dispute with a reason and supporting evidence.

Two preconditions apply, both checked before the challenge is forwarded:

  • CHALLENGE must appear in the dispute's next_actions, otherwise 409 ERR_DISPUTE_NOT_ACTIONABLE.
  • A pending payer evidence file must already be attached, otherwise 409 ERR_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.

Path Params
string
required

Your public payer ID.

string
required

Transaction ID the dispute was raised against.

string
required

Public dispute ID.

Body Params

Challenge fields, as described by the dispute's live challenge schema.

Challenge submission. Every field is validated server-side against the dispute's live challenge schema — fetch that schema from the next actions endpoint first, since the accepted reason codes and length limits vary by dispute, network and workflow stage.

string

Challenge reason code. Must be one of the option codes offered by the dispute's live challenge schema — fetch it from the next actions endpoint before submitting.

string

Sub-reason code, where the selected reason offers one. Must match an option code from the live challenge schema.

string

Free-text explanation supporting the challenge. Length limits come from the live challenge schema.

string

Additional free-text notes supporting the challenge.

additional_parameters
object

Escape hatch for challenge fields not covered by the typed properties above. Keys must be field codes from the dispute's live challenge schema; unrecognized keys are rejected with ERR_INVALID_PARAMETER.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json