GET
/
disputes
/
{dispute_id}
curl --request GET \
  --url https://sandbox.hyperswitch.io/disputes/{dispute_id} \
  --header 'api-key: <api-key>'
{
  "dispute_id": "<string>",
  "payment_id": "<string>",
  "attempt_id": "<string>",
  "amount": "<string>",
  "currency": "<string>",
  "dispute_stage": "pre_dispute",
  "dispute_status": "dispute_opened",
  "connector": "<string>",
  "connector_status": "<string>",
  "connector_dispute_id": "<string>",
  "connector_reason": "<string>",
  "connector_reason_code": "<string>",
  "challenge_required_by": "2023-11-07T05:31:56Z",
  "connector_created_at": "2023-11-07T05:31:56Z",
  "connector_updated_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "profile_id": "<string>",
  "merchant_connector_id": "<string>"
}

Authorizations

api-key
string
headerrequired

Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.

Path Parameters

dispute_id
string
required

The identifier for dispute

Response

200 - application/json
dispute_id
string
required

The identifier for dispute

payment_id
string
required

The identifier for payment_intent

attempt_id
string
required

The identifier for payment_attempt

amount
string
required

The dispute amount

currency
string
required

The three-letter ISO currency code

dispute_stage
enum<string>
required

Stage of the dispute

Available options:
pre_dispute,
dispute,
pre_arbitration
dispute_status
enum<string>
required

Status of the dispute

Available options:
dispute_opened,
dispute_expired,
dispute_accepted,
dispute_cancelled,
dispute_challenged,
dispute_won,
dispute_lost
connector
string
required

connector to which dispute is associated with

connector_status
string
required

Status of the dispute sent by connector

connector_dispute_id
string
required

Dispute id sent by connector

connector_reason
string | null

Reason of dispute sent by connector

connector_reason_code
string | null

Reason code of dispute sent by connector

challenge_required_by
string | null

Evidence deadline of dispute sent by connector

connector_created_at
string | null

Dispute created time sent by connector

connector_updated_at
string | null

Dispute updated time sent by connector

created_at
string
required

Time at which dispute is received

profile_id
string | null

The profile_id associated with the dispute

merchant_connector_id
string | null

The merchant_connector_id of the connector / processor through which the dispute was processed