API referenceDisputes

Submit evidence for a dispute

Add to what has already been submitted. Merged rather than replaced: a business that uploads a receipt and later a delivery note has provided two things, and a PUT-shaped endpoint would discard the first without saying so. 409 once the dispute is resolved or closed. Submitting into a decided case would record evidence nobody will read and imply it might still change the outcome.

POST
/api/b/v1/disputes/{dispute_id}/evidence

Add to what has already been submitted.

Merged rather than replaced: a business that uploads a receipt and later a delivery note has provided two things, and a PUT-shaped endpoint would discard the first without saying so.

409 once the dispute is resolved or closed. Submitting into a decided case would record evidence nobody will read and imply it might still change the outcome.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

Path Parameters

dispute_id*Dispute Id
Formatuuid
admin_access_token?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/b/v1/disputes/497f6eca-6276-4993-bfeb-53cbbbba6f08/evidence" \  -H "Content-Type: application/json" \  -d '{    "evidence": {      "customer_signature": "received 12 Aug, signed J. Mutoni",      "delivery_note": "https://files.example.com/dn-8817.pdf"    }  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3",  "reason": "unauthorized",  "description": "string",  "status": "open",  "evidence": {},  "resolution_notes": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "resolved_at": "2019-08-24T14:15:22Z",  "amount_minor": 0,  "currency": "string",  "charge_reference": "string"}