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

Regenerate Dispute Evidence

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

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

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/regenerate"
{
  "ok": true
}
{
  "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": []
}

Preview Dispute Evidence

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

Submit Dispute Evidence

Drafts evidence and submits it to Stripe immediately, even when auto-submit is off.