GET
/
disputes
/
{dispute_id}
Disputes - Retrieve Dispute
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": "AED",
  "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
header
required

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

Query Parameters

force_sync
boolean | null

Decider to enable or disable the connector call for dispute retrieve request

Response

200
application/json

The dispute was retrieved successfully

The response is of type object.