Skip to main content
A chargeback evidence file (evf_*) is one file you upload for your response to a chargeback. To attach it, send its ID as fileId in the evidence’s attachments. To learn more, see Respond to a chargeback.

Example

POST /chargebacks/{chargebackId}/files
The object is everything inside data. The field names below are relative to it: attributes.filename is data.attributes.filename in the response.

Fields

string
required
Evidence file ID (evf_*). Send it as fileId to attach the file.
string
required
Resource type. Always chargebackEvidenceFile.
object
required
The file’s details.
object
required
Related resources, each by type and ID.

Events

This resource sends no webhook events.

Errors

See the error codes these endpoints return.

Sandbox simulations

None.