v1
latestOpenAPI 3.0.02026-08-0696238481.7 KBDisputes
Add evidence to a dispute
Adds or updates the evidence currently attached to the dispute. Note that for file evidence, you must first upload the file via our files API. Once you have attached all relevant evidence, call the /challenge endpoint to submit the evidence for review. Note: the Dispute must be in status Open for this operation.
patch/disputes/{disputeId}/evidence
Path parameters
disputeIdstring required
Example:dsp_01FCTS1XMKH9FF43CAFA4CXT3P
Dispute to attach evidence to
Request body
Example request
{
"files": {
"proofOfDelivery": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"customerSignature": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"receipt": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"shippingConfirmation": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"customerCommunication": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"refundPolicy": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"recurringPaymentAgreement": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"uncategorised": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
}
}
}Response
Successfully added the provided evidence given Dispute
Example response
{
"id": "dsp_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"amount": 500,
"currency": "GBP",
"status": "Open",
"category": "Fraudulent",
"reason": {
"code": "13.6",
"description": "Merchandise/Services Not Received"
},
"respondBy": 1685059200,
"paymentSession": {
"id": "ps_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"paymentType": "Standard",
"paymentMethod": {
"card": {
"scheme": "Mastercard",
"last4": "4444"
}
}
},
"evidence": {
"files": {
"proofOfDelivery": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"customerSignature": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"receipt": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"shippingConfirmation": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"customerCommunication": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"refundPolicy": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"recurringPaymentAgreement": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
},
"uncategorised": {
"id": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
}
}
},
"customer": {
"email": "john.doe@ryftpay.com",
"id": "cus_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"createdTimestamp": 1470989538
},
"subAccount": {
"id": "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327"
},
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}