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

Get Dispute Settings

Reads dispute settings and whether a webhook signing secret is stored. The secret itself is not returned.

GET
/projects/{projectId}/dispute-settings

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

application/json

curl -X GET "https://www.saasco.com/api/v2/projects/string/dispute-settings"
{
  "expectedWebhookUrl": "string",
  "settings": {
    "aiContext": null,
    "aiContextEnabled": false,
    "autoSubmit": true,
    "cancellationPolicyDisclosure": null,
    "checkoutTermsImageLabel": null,
    "checkoutTermsImageUrl": null,
    "customDataEndpointSecret": null,
    "customDataEndpointUrl": null,
    "customEndpointEnabled": false,
    "notificationEmailOverride": null,
    "policiesEnabled": false,
    "productDescriptionOverride": null,
    "refundPolicyDisclosure": null,
    "stripeWebhookEndpointId": null,
    "stripeWebhookEndpointUrl": null
  },
  "webhookSigningSecretSet": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Get Dispute Stats

Counts and amounts for the project's disputes: open, won, lost, and the last 30 days and 12 months.

Update Dispute Settings

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