-
- abort-payment-on-terminal
- capture-payment
- filter-payments
- find-payment
- initiate-payment-flow
- list-activity-logs
- list-payment-activities
- list-payments
- list-payments-by-contact
- list-payments-by-terminal
- refund-payment
- request-payment
- resume-payment-on-terminal
- retrieve-refund-performance
- retrieve-sales-performance
- reverse-payment
- start-payment-on-terminal
- void-payment
Find dispute
Returns the details of a specific dispute.
dispute_id
string
Required. The unique identifier of the dispute (dsp_...)
| Attribute | Description |
|---|---|
dispute_idstring
|
Always present. The unique identifier of the dispute. |
payment_idstring
|
Always present. The ID of the payment being disputed. |
contact_idstring
|
Nullable. The ID of the contact who made the payment. |
messagestring
|
Nullable. The human-readable reason for the dispute. |
statusstring
|
Always present. The overall status of the dispute. Possible values:
|
challenge_received_atnumber
|
Nullable. The (unix) timestamp when the merchant submitted the challenge. |
escalation_received_atnumber
|
Nullable. The (unix) timestamp when the merchant submitted the escalation. |
won_atnumber
|
Nullable. The (unix) timestamp when the dispute was won. |
lost_atnumber
|
Nullable. The (unix) timestamp when the dispute was lost. |
amountnumber
|
Always present. The disputed amount in subunits. |
currencystring
|
Always present. The 3-letter ISO currency code. |
reasonstring
|
Always present. The reason code for the dispute. |
suggested_evidencearray<string>
|
Always present. A list of suggested evidence types for this dispute based on its reason. Possible values:
|
deadline_atnumber
|
Nullable. The timestamp (Unix) by which a challenge or escalation is required. Failure to escalate or challenge will cause the dispute to be automatically closed in favor of the customer. |
created_atnumber
|
Always present. The timestamp when the dispute was created. |
feesarray<object.fee>
|
Always present. The fees associated with the dispute. |
evidencesarray<object.dispute_evidence>
|
Always present. The evidence submitted for this dispute. |
| Attribute | Description |
|---|---|
fee_idstring
|
Always present. The ID of the fee. |
kindstring
|
Always present. The type of fee. Possible values:
|
parent_idstring
|
Always present. The ID of the billable item that this fee is attached to. For example, if the fee is a dispute fee, this would be the ID of the dispute. |
billing_codestring
|
Always present. The billing code of the fee. |
unit_amountnumber
|
Always present. The unit amount of the fee, in subunits. I.e. how much is billed for each unit of the fee. |
percentage_amountnumber
|
Always present. The percentage amount of the fee, in subunits. E.g. With a percentage_fee of 4%, a payment of 1000 THB would have a percentage_amount of 40_00. |
discount_appliedboolean
|
Always present. Whether the fee has been discounted. Possible values:
|
statement_idstring
|
Always present. The ID of the statement that this fee is attached to. |
| Attribute | Description |
|---|---|
evidence_idstring
|
Always present. The unique identifier of the evidence. |
stagestring
|
Always present. The stage of evidence. Possible values:
|
commentstring
|
Nullable. A merchant comment for this evidence. |
filenamestring
|
Nullable. The name of the file attached to this evidence. |
content_typestring
|
Nullable. The MIME type of the file attached to this evidence. |
byte_sizenumber
|
Nullable. The size of the file attached to this evidence in bytes. |
submittedboolean
|
Always present. Whether the evidence has been confirmed (uploaded). Possible values:
|
upload_urlstring
|
Nullable. The URL where the file can be uploaded (only present if not submitted). |
download_urlstring
|
Nullable. The URL where the file can be downloaded (only present if submitted). |
created_atnumber
|
Always present. The (unix) timestamp when the evidence was created. |
NOT_FOUND
The specified dispute was not found.
UNHANDLED_ERROR
This error occurs when the server encounters an unexpected internal error that it cannot handle gracefully. This typically happens due to bugs, infrastructure issues, or edge cases that weren't anticipated during development.
INVALID_ARGUMENTS
This error occurs when the request contains invalid or missing parameters. Common cases include missing required fields, or values that don't match the expected format or type.
BAD_VERSION
This error occurs when making requests to an API version that does not exist. This commonly happens when using an outdated SDK or when the API version specified in the request URL is incorrect.
curl "https://api.reservepay.com/merchants/find-dispute" \
-X POST
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer $(RESERVEPAY_API_KEY)" \
-d '{
"dispute_id": "dsp_01kwbby4c702mbq2htbbwnywhd"
}'
