Get Dispute

🔒

Requires read_finance access scope.

The Get Dispute API retrieves the details of a specific dispute object by its unique identifier.

This API is especially useful for:

  1. Tracking the current status and reason for disputes.
  2. Accessing dispute details like amounts, fees, and related order IDs.
  3. Monitoring dispute timelines, including creation and expiration times.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

FieldTypeRequiredDescriptionExample
idstringYesUnique ID of the dispute object."1234567890"

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeExampleDescription
codestring"Success"Response code indicating the status of the API call.
messagestring"Success"Response message providing additional information.
dataobjectContains the details of the dispute.
data.disputeobjectDetailed information about the dispute.
data.dispute.idstring"1234567890"Unique identifier for the dispute.
data.dispute.transaction_order_idstring"order_98765"Transaction order ID related to the dispute.
data.dispute.original_order_idstring"order_12345"Original order ID related to the dispute.
data.dispute.store_idstring"store_56789"Unique identifier for the store.
data.dispute.currencystring"USD"Currency code of the dispute amount.
data.dispute.created_atstring"2024-04-28T12:34:56Z"Creation time of the dispute in ISO 8601 format.
data.dispute.updated_atstring"2024-04-29T15:20:10Z"Last updated time of the dispute in ISO 8601 format.
data.dispute.expiration_timestring"2024-05-05T00:00:00Z"Expiration time for responding to the dispute.
data.dispute.dispute_reasonstring"Fraudulent"Reason provided for the dispute.
data.dispute.original_order_amountstring"100.00"Total amount of the original order.
data.dispute.dispute_amountstring"50.00"Amount of the dispute.
data.dispute.statusstring"won"Current status of the dispute. Possible values: won, lost, under_review, etc.
data.dispute.feestring"10.00"Fees associated with the dispute.
data.dispute.fee_currencystring"USD"Currency of the associated fee.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeDescriptionExample
codestringThe error code indicating the type of issue.InvalidParameter
messagestringA detailed message describing the error.wrong cursor
FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
500ServerErrorId is not foundrecord not found

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!