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

Fetches one Stripe dispute stored for the project, including the evidence drafted for it.

GET
/projects/{projectId}/disputes/{disputeId}

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

application/json

curl -X GET "https://www.saasco.com/api/v2/projects/string/disputes/string"
{
  "id": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "projectId": "string",
  "stripeDisputeId": "string",
  "stripeChargeId": "string",
  "stripePaymentIntentId": "string",
  "stripeCustomerId": "string",
  "customerEmail": "string",
  "amount": -9007199254740991,
  "currency": "string",
  "reason": "string",
  "status": "string",
  "evidenceSubmittedAt": "string",
  "evidenceJson": {
    "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"
  },
  "evaluationJson": {
    "action": "fight",
    "confidence": "high",
    "isCompliance": true,
    "modelUsed": "string",
    "reasons": [
      "string"
    ],
    "source": "rules"
  },
  "lastNotifiedKind": "string",
  "receiptR2Key": "string",
  "serviceDocR2Key": "string",
  "submissionError": "string",
  "outcome": "string",
  "resolvedAt": "string",
  "stripeEvidenceDueBy": "string",
  "stripeCreatedAt": "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": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

List Disputes

Lists Stripe disputes stored for the project. Search matches the customer email and the Stripe ids.

Get Dispute Stats

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