---
updatedAt: 2025-03-05T16:48:40.000Z
agentTools:
  projectIndex: https://docs.staxpayments.com/llms.txt
---

# Disputes

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "stax-api",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://apiprod.fattlabs.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "API key for merchant-level operations. Provides access to merchant-specific endpoints including transactions, payments, customer management, and merchant account settings. This key is scoped to a single merchant account and cannot access partner-level functionality."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/query/statement/v3/disputes": {
      "get": {
        "summary": "Disputes",
        "description": "",
        "operationId": "disputes",
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "required": true,
            "description": "YYYY-MM-DD",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "required": true,
            "description": "YYYY-MM-DD",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": [\n    {\n      \"id\": \"DSredacted-dispute-id\",\n      \"date\": \"2024-07-28T02:31:16.000Z\",\n      \"type\": \"HOLD\",\n      \"dispute_amount\": 99,\n      \"fee_amount\": 20\n    }\n  ],\n  \"summary\": {\n    \"dispute_amount_total\": -99,\n    \"fee_amount_total\": 20\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "DSredacted-dispute-id"
                          },
                          "date": {
                            "type": "string",
                            "example": "2024-07-28T02:31:16.000Z"
                          },
                          "type": {
                            "type": "string",
                            "example": "HOLD"
                          },
                          "dispute_amount": {
                            "type": "integer",
                            "example": 99,
                            "default": 0
                          },
                          "fee_amount": {
                            "type": "integer",
                            "example": 20,
                            "default": 0
                          }
                        }
                      }
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "dispute_amount_total": {
                          "type": "integer",
                          "example": -99,
                          "default": 0
                        },
                        "fee_amount_total": {
                          "type": "integer",
                          "example": 20,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```