API Docs
Disputes
API ReferenceDisputesSubmit Evidence

Submit Evidence

Submits evidence to contest a dispute. Evidence is grouped into categories (customer information, cancellation policy, refund policy, shipping, etc.). You can call this endpoint multiple times before the dispute deadline to add or update evidence; submitting an empty value clears that field.

POST /disputes/evidence

File-typed fields (receipt, customer_signature, service_documentation, etc.) take a file id that you obtain by uploading the file separately first. Plain text fields take the value directly.

Body Parameters

ParameterTypeRequiredDescription
dispute_idstringYesThe ID of the dispute to attach evidence to.

Customer information

ParameterTypeDescription
customer_namestringCustomer's name on the order.
customer_email_addressstringCustomer's email address.
customer_purchase_ipstringIP address used by the customer when the purchase was made.
customer_signaturestringFile id of the customer's signature, if collected.
customer_communicationstringFile id of any communication with the customer related to the disputed transaction.
billing_addressstringCustomer's billing address at the time of purchase.
access_activity_logstringLogs that show the customer used the service (login history, session ids).

Product details

ParameterTypeDescription
product_descriptionstringPlain-text description of the product or service the customer was charged for.
service_datestringDate the service was rendered.
service_documentationstringFile id of any document proving the service was delivered.
receiptstringFile id of the receipt issued to the customer.

Cancellation and refund policies

ParameterTypeDescription
cancellation_policystringFile id of the cancellation policy you display to customers.
cancellation_policy_disclosurestringPlain-text description of when and where the cancellation policy was shown to the customer.
cancellation_rebuttalstringExplanation of why the customer's cancellation request was not honoured.
refund_policystringFile id of the refund policy you display to customers.
refund_policy_disclosurestringPlain-text description of when and where the refund policy was shown.
refund_refusal_explanationstringExplanation of why the customer is not entitled to a refund.

Shipping (physical goods)

ParameterTypeDescription
shipping_addressstringShipping address used for the order.
shipping_carrierstringName of the shipping carrier (e.g. UPS, FedEx).
shipping_datestringDate the order was shipped.
shipping_tracking_numberstringTracking number from the shipping carrier.
shipping_documentationstringFile id of the shipping label, packing slip, or proof of delivery.

Disputes specific to recurring or duplicate charges

ParameterTypeDescription
invoice_showing_distinct_transactionsstringFile id of an invoice that shows the disputed transaction is distinct from another charge the customer claims is a duplicate.
recurring_transaction_agreementstringFile id of the agreement the customer signed authorising recurring charges.

Catch-all

ParameterTypeDescription
uncategorized_filestringFile id of any other supporting document.
uncategorized_textstringFree-text statement adding context not covered by the other fields.

Request Example

curl -X POST 'https://api.v2.paychtec.com/disputes/evidence' \  -H "Content-Type: application/json" \  -H "api-key: snd_YOUR_API_KEY" \  -d '{  "dispute_id": "dp_1234567890abcdef",  "customer_name": "John Doe",  "customer_email_address": "john@example.com",  "customer_purchase_ip": "203.0.113.42",  "product_description": "Annual SaaS subscription",  "service_date": "2024-01-15",  "receipt": "file_abc123",  "shipping_carrier": "UPS",  "shipping_date": "2024-01-16",  "shipping_tracking_number": "1Z999AA10123456784"}'

Response

{
  "dispute_id": "dp_1234567890abcdef",
  "status": "submitted",
  "evidence_submitted_at": "2024-01-22T14:00:00Z"
}

Errors

StatusWhen
400Dispute is past its evidence submission deadline, or a referenced file id does not exist.
404Dispute id does not exist.