This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Accepts a dispute.
You can only call this method when authenticated as a Wix app or Wix user identity.
Transaction ID.
Dispute ID.
Wix Payments account ID.
Transaction information.
Accept open dispute
curl --request POST \
--url https://www.wixapis.com/payments/v3/transactions/bdba15b3-e931-4877-ae98-ce4f3f37b233/disputes/786f68e5-fa4a-45ef-a2c8-1edfb27dd5a6/accept \
--header 'Authorization: <AUTH>' \
--header 'Content-Type: application/json; charset=utf-8' \
--data '{
"account_id" : "c94b4b44-4523-4826-a6ce-5fed1cc19d59"
}'
{
"transaction": {
"id": "bdba15b3-e931-4877-ae98-ce4f3f37b233",
"currency": "USD",
"capturableAmount": "0",
"refundableAmount": "0",
"externalOrderId": "e46b1600-54fd-4054-b06d-68e818345f7f",
"externalTransactionId": "bdba15b3-e931-4877-ae98-ce4f3f37b233",
"providerTransactionId": "pi_1Ir0jvJmzcr6KMrHuXthz9pA",
"metadata": {},
"authorization": {
"amount": "12000",
"status": "SUCCEEDED",
"networkReference": {
"networkTransactionId": "6510786985185831"
}
},
"captures": [
{
"id": "bdba15b3-e931-4877-ae98-ce4f3f37b233",
"amount": "12000",
"status": "SUCCEEDED",
"metadata": {}
}
],
"refunds": [],
"disputes": [
{
"id": "786f68e5-fa4a-45ef-a2c8-1edfb27dd5a6",
"amount": "12000",
"reason": "OTHER",
"status": "LOST",
"statusReason": {
"code": "Accepted",
"message": "Accepted"
},
"providerDisputeId": "dp_1Ir0jxJmzcr6KMrH5thXe0S6",
"chargeback": {
"openingDate": "2021-05-14T13:07:41Z",
"evidenceSubmissionDeadlineDate": "2021-05-23T23:59:59Z",
"daysToResolution": 65,
"resolutionDate": "2021-05-14T13:18:12.911Z"
}
}
],
"voids": [],
"accountId": "c94b4b44-4523-4826-a6ce-5fed1cc19d59",
"accountProfileId": "3a647918-9ecf-45a2-ad7f-e8d480471dba",
"paymentMethod": {
"typeId": "creditCard"
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.