acceptDispute
Use the this API to accept a specific dispute.
Structure
A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:
Note: Set the data type of each field (except array) as String. This means that you must use double quotation marks (" ") to enclose the field value. Examples:
- If the data type of a field is Integer and its value is 20, set it as "20".
- If the data type of a field is Boolean and its value is
true
, set it as "true".
Request parameters
disputeId String REQUIRED
The unique ID assigned by Antom to identify a dispute.
More information:
- Maximum length: 64 characters
Response parameters
result Result object REQUIRED
The result of the API call.
disputeId string
The unique ID assigned by Antom to identify a dispute.
Note: This prameter is returned when the value of resultCode is
SUCCESS
.
More information:
- Maximum length: 64 characters
disputeResolutionTime string
The time when you accept the dispute.
Note: This prameter is returned when the value of resultCode is
SUCCESS
.
More information:
- Maximum length: 64 characters
Request
Response
Result/Error codes
Code | Value | Message | Further action |
---|---|---|---|
SUCCESS | S | Success. | |
PARAM_ILLEGAL | F | Illegal parameters. For example, non-numeric input, invalid date. | Check and verify whether the required request fields (including the header fields and body fields) of the current API are correctly passed and valid. |
REPEAT_REQUEST | F | Repeated request. |
Contact Antom Technical Support to check the dispute status. |
TIME_EXCEEDS_LIMIT | F | Your defense is overdue and you cannot accept or defend the dispute. | |
UNKNOWN_EXCEPTION | U | API failed due to an unknown reason. |
Call the interface again to resolve the issue. If not resolved, contact Antom Technical Support. |