-
- 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. Additional context about the dispute, if any, provided by Reservepay. |
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
|
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
|
Always present. The fees associated with the dispute. |
evidencesarray
|
Always present. The evidence submitted for this dispute. |
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"
}'
