Uprails

Disputes

Handle customer disputes and chargebacks effectively.

Overview

A dispute (also known as a chargeback) occurs when a cardholder questions a payment with their card issuer. When this happens, the card issuer creates a formal dispute which immediately reverses the payment.

The Disputes API allows you to:

  • View dispute details and status
  • Accept disputes when appropriate
  • Track dispute outcomes
  • List and filter all disputes

Dispute Object

Dispute Objectjson
{
  "dispute_id": "dis_1234567890abcdef",
  "payment_id": "pay_abcdef1234567890",
  "merchant_id": "mer_xyz789",
  "status": "needs_response",
  "amount": 1000,
  "currency": "USD",
  "reason": "fraudulent",
  "evidence_due_by": "2024-01-25T23:59:59Z",
  "metadata": {},
  "created": "2024-01-15T10:00:00Z",
  "updated": "2024-01-15T10:00:00Z"
}

API Endpoints

Dispute Status

A dispute progresses through several statuses:

StatusDescription
needs_responseDispute opened, evidence submission required
under_reviewEvidence submitted, awaiting card issuer decision
wonDispute resolved in your favor, funds returned
lostDispute resolved in customer's favor
acceptedYou accepted the dispute without contesting
expiredEvidence deadline passed without response

Dispute Reasons

Common reasons for disputes include:

ReasonDescription
fraudulentCustomer claims they didn't authorize the payment
unrecognizedCustomer doesn't recognize the transaction
product_not_receivedCustomer didn't receive the product or service
product_unacceptableProduct or service was defective or not as described
duplicateCustomer was charged multiple times
subscription_canceledCustomer was charged after canceling

Dispute Lifecycle

1

Dispute Opened

A customer disputes a payment. Funds are immediately debited from your account.

2

Evidence Required

You have a limited time (typically 7-21 days) to submit evidence or accept the dispute.

3

Review Period

The card issuer reviews the evidence and makes a decision (can take 60-90 days).

4

Resolution

The dispute is resolved as won (funds returned) or lost (funds remain with customer).

Important Deadlines
Evidence must be submitted before the evidence_due_by deadline. Missing this deadline automatically results in losing the dispute.

Next Steps