Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
getList DisputesgetGet DisputegetGet Dispute StatsgetGet Dispute SettingsputUpdate Dispute SettingspostPreview Dispute EvidencepostRegenerate Dispute EvidencepostSubmit Dispute EvidencepostProvision Dispute WebhookdelDelete Dispute WebhookpostSync Disputes
Disputes

Preview Dispute Evidence

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

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

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project.

disputeIdrequiredstring

ID of the dispute.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/disputes/string/preview"
{
  "customEndpointStatus": "not-configured",
  "evidence": {
    "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",
    "shipping_tracking_number": "string",
    "uncategorized_file": "string",
    "uncategorized_text": "string"
  },
  "modelUsed": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Update Dispute Settings

Updates dispute settings. Omitted fields stay as they are. Send null to clear a text field.

Regenerate Dispute Evidence

Queues a fresh evidence draft for a dispute. The new draft replaces evidenceJson when the job finishes.