Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Disputes

  • List disputes

  • Retrieve dispute

  • Accept dispute

  • List dispute evidence

  • Create dispute evidence file

  • Create dispute evidence text

  • Delete dispute evidence

  • Retrieve dispute evidence

  • Submit evidence

  • Webhooks

  • dispute.created

  • dispute.evidence.created

  • dispute.evidence.deleted

  • dispute.state.updated

<- Disputes API

Disputes API

All versions ->

Create dispute evidence text

POST

 /v2/disputes/{dispute_id}/evidence-text

Uploads text to use as evidence for a dispute challenge.

Permissions:DISPUTES_WRITE

Guide

Challenge a dispute

Try in API Explorer
Link to section

Path parameters

Example code

Link to section

dispute_id

string

Required

The ID of the dispute for which you want to upload evidence.

Link to section

Request body

Link to section

idempotency_key

string

Required

A unique key identifying the request. For more information, see Idempotency.

Min Length
1
Max Length
45
Link to section

evidence_type

string

The type of evidence you are uploading.

Link to section

evidence_text

string

Required

The evidence string.

Min Length
1
Max Length
500
Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

evidence

The newly uploaded dispute evidence metadata.

Link to section

Examples

All versions ->

POST /v2/disputes/{dispute_id}/evidence-text
curl https://connect.squareup.com/v2/disputes/bVTprrwk0gygTLZ96VX1oB/evidence-text \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "evidence_type": "TRACKING_NUMBER", "evidence_text": "1Z8888888888888888", "idempotency_key": "ed3ee3933d946f1514d505d173c82648" }'

Response JSON

{ "evidence": { "dispute_id": "bVTprrwk0gygTLZ96VX1oB", "uploaded_at": "2022-05-18T16:01:10.000Z", "evidence_type": "REBUTTAL_EXPLANATION", "evidence_text": "The customer purchased the item twice, on April 11 and April 28.", "id": "TOomLInj6iWmP3N8qfCXrB" } }