Skip to main content
POST
/
v1
/
disputes
/
{dispute_id}
Update Dispute
curl --request POST \
  --url https://api.withflex.com/v1/disputes/{dispute_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dispute": {}
}'
{
  "dispute": {
    "dispute_id": "<string>",
    "stripe_dispute_id": "<string>",
    "payment_intent_id": "<string>",
    "amount": 123,
    "created_at": "<string>",
    "status": "<unknown>",
    "reason": "bank_cannot_process",
    "is_charge_refundable": true,
    "evidence_details": {
      "has_evidence": true,
      "past_due": true,
      "submission_count": 123,
      "due_by": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Body

application/json
dispute
object
required

Response

dispute
object
required

A dispute represents a customer's challenge to a payment. Maps to Stripe's Dispute object with additional Flex-specific fields.