# Preview Dispute Evidence

POST /api/v2/projects/{projectId}/disputes/{disputeId}/preview

Drafts the evidence that would be submitted for a dispute, without sending it to Stripe or uploading files.

## Request

- projectId: string, path, required — ID of the project.
- disputeId: string, path, required — ID of the dispute.

## Response

- 200: Successful response
  - customEndpointStatus: not-configured | success | timeout | http-error | invalid-response, required — Whether the project's custom evidence endpoint was called, and how that call ended.
  - evidence: object, required — Evidence that would be sent to Stripe.
    - access_activity_log: string
    - billing_address: string
    - cancellation_policy: string
    - cancellation_policy_disclosure: string
    - cancellation_rebuttal: string
    - customer_communication: string
    - customer_email_address: string
    - customer_name: string
    - customer_purchase_ip: string
    - customer_signature: string
    - duplicate_charge_documentation: string
    - duplicate_charge_explanation: string
    - duplicate_charge_id: string
    - product_description: string
    - receipt: string
    - refund_policy: string
    - refund_policy_disclosure: string
    - refund_refusal_explanation: string
    - service_date: string
    - service_documentation: string
    - shipping_address: string
    - shipping_carrier: string
    - shipping_date: string
    - shipping_documentation: string
    - …
  - modelUsed: string, required — Model that drafted the narrative. Null when no model ran.
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 500: Internal server error
