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

Sync Disputes

Queues a sync of Stripe disputes into this project. Existing rows are updated in place.

POST
/projects/{projectId}/disputes/sync

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/disputes/sync"
{
  "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": []
}

Delete Dispute Webhook

Removes the Stripe webhook endpoint that delivers dispute events for this project.

Get Benchmark Preferences

Reads the cohort and funnel-step mapping used to compare this project's metrics with benchmarks. Returns null when nothing has been saved.