Antom, leading provider of tailored payment solutions

acceptDispute

POST /v1/payments/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 parameter (except array) as String. This means that you must use double quotation marks (" ") to enclose the parameter value. Examples:

  • If the data type of a parameter is Integer and its value is 20, set it as "20". 
  • If the data type of a parameter 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
API Explorer

Request

URL
Method
POST
json
{
  "disputeId": "202401012501310115730104****"
}

Response

json
{
  "result": {
    "resultCode": "SUCCESS",
    "resultStatus": "S",
    "resultMessage": "success"
  },
  "disputeId": "2024010121013101637705928564",
  "disputeResolutionTime": "2024-01-01T18:25:00+00:00"
}

Result/Error codes

CodeValueMessageFurther action
SUCCESSSSuccess.
No further action is needed.
PARAM_ILLEGALFIllegal 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_REQUESTFRepeated request.
Contact Antom Technical Support to check the dispute status.
TIME_EXCEEDS_LIMITFYour defense is overdue and you cannot accept or defend the dispute.
Contact Antom Technical Support.
UNKNOWN_EXCEPTIONUAPI failed due to an unknown reason.
Call the interface again to resolve the issue. If not resolved, contact Antom Technical Support.