Skip to main content

Disputes & Invoices API

Open disputes, upload evidence, resolve; fetch invoice PDFs.

C
Written by Catalin Fetean
Updated over 3 weeks ago

Audience: Buyers, Sellers, Admins, Support
​Outcomes: Fast, auditable dispute handling; clean documents of record.

Disputes

# Open curl -X POST $API_BASE/api/disputes -b cookies.txt -H 'Content-Type: application/json' \ -d '{"orderId":"ord_123","reason":"non_delivery","details":"Due 2025-08-01, nothing submitted."}' # Evidence (multipart) curl -X POST $API_BASE/api/disputes/dsp_456/evidence -b cookies.txt \ -F 'files=@contract_excerpt.pdf' -F 'files=@annotated_mockup.png' # Resolve (admin) curl -X POST $API_BASE/api/disputes/dsp_456/resolve -b cookies.txt -H 'Content-Type: application/json' \ -d '{"resolution":"refund_partial","amount":30000,"notes":"Late by 2 weeks."}'

Invoices

GET /api/invoices/{orderId}.pdf # content-type: application/pdf
Did this answer your question?