POST

Add Evidence


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds evidence to a dispute.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Disputes
Managed Payments- All Permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/transaction-service/v3/transactions/{transactionId}/disputes/{disputeId}/add-evidence

Path Params
transactionIdstringRequired

Transaction ID.


disputeIdstringRequired

Dispute ID.

Body Params
accountIdstringRequiredformat GUID

Wix Payments account ID.


evidenceEvidenceRequired

Evidence to include in the request.


idempotencyKeystringminLength 1maxLength 36

Use the same unique key when request retry is caused by technical issues like network availability.

Response Object
transactionTransaction

Transaction information.

Add evidence

Add evidence to the dispute

Request
cURL
curl --request POST \ --url https://www.wixapis.com/payments/v3/transactions/bb4188b7-1779-44d6-961d-e3db25a6bea0/disputes/0a6f4f4a-407f-4892-836c-ad968708c679/add-evidence \ --header 'Authorization: <AUTH>' \ --header 'Content-Type: application/json; charset=utf-8' \ --data '{ "account_id": "c94b4b44-4523-4826-a6ce-5fed1cc19d59", "evidence": { "type" : "ACCESS_ACTIVITY_LOG", "file_id" : "7017b89bdd9b443c8e39fe7ba12cd197" } }'
Response
JSON
{ "transaction": { "id": "5678e6b6-a329-46fc-a99c-63dce6caab9d", "currency": "USD", "capturableAmount": "0", "refundableAmount": "0", "externalOrderId": "78e1fa91-f327-4058-8e5e-d358f0a8708f", "externalTransactionId": "5678e6b6-a329-46fc-a99c-63dce6caab9d", "providerTransactionId": "pi_1IsPEeJmzcr6KMrH7WSbjL1o", "metadata": {}, "authorization": { "amount": "24000", "status": "SUCCEEDED", "networkReference": { "networkTransactionId": "6510786985185831" } }, "captures": [ { "id": "5678e6b6-a329-46fc-a99c-63dce6caab9d", "amount": "24000", "status": "SUCCEEDED", "metadata": {} } ], "refunds": [], "disputes": [ { "id": "95c3e26e-d133-4ecf-992e-27bb4f23e6eb", "amount": "24000", "reason": "OTHER", "status": "CHARGEBACK_OPEN", "providerDisputeId": "dp_1IsPEgJmzcr6KMrH6kRxHOH8", "chargeback": { "openingDate": "2021-05-18T09:29:10Z", "evidenceSubmissionDeadlineDate": "2021-05-27T23:59:59Z", "daysToResolution": 65 } } ], "voids": [], "accountId": "c94b4b44-4523-4826-a6ce-5fed1cc19d59", "accountProfileId": "3a647918-9ecf-45a2-ad7f-e8d480471dba", "paymentMethod": { "typeId": "creditCard" } } }
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?