---
agentTools:
  projectIndex: https://docs.eupago.pt/llms.txt
---

# Payouts

Use this request to check all the payouts of your account between two dates.
In case you want to check payouts on a single day, please use the same date on both params.

[block:callout]
{
  "type": "warning",
  "body": "This request uses OAuth authentication on its header. Please **[go this page](https://eupago.readme.io/reference/generate-bearer-token)** to know how to create your Bearer Token."
}
[/block]

[block:html]
{
  "html": "<div class=example>\n  <p>To test this request please fill the params below or load a complete example on the right clicking in <strong>Examples</strong> dropdown on the right.</p>\n</div>\n\n<style>\n  .example\n  {\n  color:#C41E3A;\n  }\n</style>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "REST API - OAuth",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.eupago.pt/api/management/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1.02/payouts": {
      "get": {
        "summary": "Payouts",
        "description": "Use this request to check all the payouts of your account between two dates.\nIn case you want to check payouts on a single day, please use the same date on both params.",
        "operationId": "payouts",
        "parameters": [
          {
            "name": "start_date",
            "in": "query",
            "description": "First date to get the payouts (YYYY-MM-DD)",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "Final date to get the payouts (YYYY-MM-DD)",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Bearer Token Invalid": {
                    "value": "{\n  \"transactionStatus\": \"Rejected\",\n  \"code\": \"TOKEN_INVALID\",\n  \"text\": \"Token is invalid\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactionStatus": {
                      "type": "string",
                      "example": "Rejected"
                    },
                    "code": {
                      "type": "string",
                      "example": "TOKEN_INVALID"
                    },
                    "text": {
                      "type": "string",
                      "example": "Token is invalid"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61d5694e1c1df30075ab1cb3:61d5a7219132810080960471"
}
```