Disputes

Retrieve disputes, submit evidence, and manage chargebacks.

View as Markdown

A dispute is raised by a card network when a customer challenges a charge. VINR notifies you via webhook and gives you a window to submit evidence before the network rules on the case.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The dispute objectAsk

FieldTypeDescription
idstringUnique identifier for the dispute, e.g. dis_4Wr9nT.
paymentstringID of the disputed payment.
amountintegerDisputed amount, in the smallest currency unit (e.g. cents).
currencystringThree-letter ISO currency code matching the original payment.
statusenumOne of warning_needs_response, needs_response, under_review, won, or lost.
reasonstringReason code from the card network, e.g. fraudulent or product_not_received.
evidence_due_byintegerUnix timestamp of the evidence submission deadline.
createdintegerUnix timestamp when the dispute was opened.

Retrieve a disputeAsk

Fetch a dispute by its ID to inspect its current status and evidence deadline.

Update a disputeAsk

Submit or update evidence for a dispute. Pass an evidence object containing the fields relevant to your case. Submitting evidence moves the status to under_review.

FieldTypeDescription
evidence.customer_emailstringEmail address of the customer at the time of purchase.
evidence.receiptstringID of an uploaded file containing a purchase receipt.
evidence.shipping_documentationstringID of an uploaded file containing proof of shipment.
evidence.customer_signaturestringID of an uploaded file containing a signed authorization.
evidence.uncategorized_textstringFree-form explanation to include with your submission.

Close a disputeAsk

Withdraw your response and accept the dispute outcome. This is irreversible — use it when you decide not to contest a chargeback.

List disputesAsk

Returns a paginated list of disputes, newest first. Filter by payment or status to narrow results.

ParameterTypeDescription
paymentstringFilter disputes by payment ID.
statusenumFilter by status: warning_needs_response, needs_response, under_review, won, or lost.
limitintegerNumber of results to return. Default 10, max 100.

dispute.created, dispute.updated, dispute.closed, dispute.won, dispute.lost. See Events.

Was this page helpful?