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

# Refund and Adjustments

# 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/adjustments": {
      "get": {
        "summary": "Refund and Adjustments",
        "description": "",
        "operationId": "refund-and-adjustments",
        "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\": \"redacted-refund-1\",\n      \"transaction_id\": \"redacted-transaction-id-1\",\n      \"batch_id\": \"redacted-batch-id\",\n      \"type\": \"refund\",\n      \"subtype\": null,\n      \"amount\": 217.5,\n      \"created_at\": \"2024-02-14T16:48:51.000Z\"\n    },\n    {\n      \"id\": \"11ee02f21cd6a3d5cccba85de9ee707b\",\n      \"transaction_id\": \"1b9f50e0-a4f1-4153-8f28-9e2f7ced3d66\",\n      \"batch_id\": \"11eedb477e29181eccdaad9f093a0c00\",\n      \"type\": \"refund\",\n      \"subtype\": null,\n      \"amount\": 292.5,\n      \"created_at\": \"2024-02-14T16:52:15.000Z\"\n    }\n  ],\n  \"summary\": {\n    \"adjustments_count\": 2,\n    \"adjustments_amount\": 510\n  },\n  \"total\": 2,\n  \"per_page\": 1000,\n  \"current_page\": 1,\n  \"last_page\": 1,\n  \"next_page_url\": null,\n  \"prev_page_url\": null,\n  \"from\": 1,\n  \"to\": 2\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "redacted-refund-1"
                          },
                          "transaction_id": {
                            "type": "string",
                            "example": "redacted-transaction-id-1"
                          },
                          "batch_id": {
                            "type": "string",
                            "example": "redacted-batch-id"
                          },
                          "type": {
                            "type": "string",
                            "example": "refund"
                          },
                          "subtype": {},
                          "amount": {
                            "type": "number",
                            "example": 217.5,
                            "default": 0
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2024-02-14T16:48:51.000Z"
                          }
                        }
                      }
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "adjustments_count": {
                          "type": "integer",
                          "example": 2,
                          "default": 0
                        },
                        "adjustments_amount": {
                          "type": "integer",
                          "example": 510,
                          "default": 0
                        }
                      }
                    },
                    "total": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "per_page": {
                      "type": "integer",
                      "example": 1000,
                      "default": 0
                    },
                    "current_page": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "last_page": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "next_page_url": {},
                    "prev_page_url": {},
                    "from": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "to": {
                      "type": "integer",
                      "example": 2,
                      "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
}
```