Accept a Chargeback
PUT/api/chargebacks/:id/accept
For an open dispute, you can choose not to fight back but rather to accept the chargeback. After this call is performed, you will not be able to add/remove evidence or comments.
Request
Path Parameters
id stringrequired
- application/json
Body
required
Accept booleanrequired
Responses
- 200
- 401
- 403
- 404
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
Chargeback
object
required
Id stringrequired
DisputeCreatedDate date-timerequired
DueDate date-timerequired
InstallmentPlanNumber stringrequired
InstallmentNumber int64required
PlanStatus stringrequired
TransactionId stringrequired
MerchantName stringrequired
TotalPlanAmount
object
required
Amount numberrequired
CurrencyCode stringrequired
DisputeAmount
object
required
Amount numberrequired
CurrencyCode stringrequired
Status DisputeStatus (string)required
Possible values: [Open
, Won
, Lost
, Closed
, Other
, Pending
]
PlanActivatedDate date-time
ReasonCode stringrequired
Evidences
object[]
required
EvidenceId stringrequired
UploadedAt date-timerequired
FileName stringrequired
FileType stringrequired
Comments
object[]
required
CommentId stringrequired
Text stringrequired
CommentAt date-timerequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true,
"Chargeback": {
"Id": "string",
"DisputeCreatedDate": "2024-06-06T16:41:09.389Z",
"DueDate": "2024-06-06T16:41:09.389Z",
"InstallmentPlanNumber": "string",
"InstallmentNumber": 0,
"PlanStatus": "string",
"TransactionId": "string",
"MerchantName": "string",
"TotalPlanAmount": {
"Amount": 0,
"CurrencyCode": "string"
},
"DisputeAmount": {
"Amount": 0,
"CurrencyCode": "string"
},
"Status": "Open",
"PlanActivatedDate": "2024-06-06T16:41:09.389Z",
"ReasonCode": "string",
"Evidences": [
{
"EvidenceId": "string",
"UploadedAt": "2024-06-06T16:41:09.389Z",
"FileName": "string",
"FileType": "string"
}
],
"Comments": [
{
"CommentId": "string",
"Text": "string",
"CommentAt": "2024-06-06T16:41:09.389Z"
}
]
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
TraceId string
Error
object
Code string
Message string
AdditionalInfo string
ExtraData
object
property name* string
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Loading...