POST

Generate Evidence Upload Url


Developer Preview

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

Generates URL to upload evidence for 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}/generate-evidence-upload-url

Path Params
transactionIdstringRequired

Transaction ID.


disputeIdstringRequired

Dispute ID.

Body Params
accountIdstringRequiredformat GUID

Wix Payments account ID.

Response Object
uploadUrlstringformat WEB_URL

Evidence upload URL.


uploadTokenstringminLength 1maxLength 1000

Evidence upload token.

Generate evidence upload url

Generate evidence upload url

Request
cURL
curl --request POST \ --url https://www.wixapis.com/payments/v3/transactions/bb4188b7-1779-44d6-961d-e3db25a6bea0/disputes/0a6f4f4a-407f-4892-836c-ad968708c679/generate-evidence-upload-url \ --header 'Authorization: <AUTH>' \ --header 'Content-Type: application/json; charset=utf-8' \ --data '{ "account_id" : "c94b4b44-4523-4826-a6ce-5fed1cc19d59" }'
Response
JSON
{ "uploadUrl": "https://wixmp-90ef227251107558e3a6a71f.appspot.com/_ah/upload/<upload_segment>", "uploadToken": "<upload_token>" }
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?