---
updatedAt: 2026-06-06T07:52:57.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# List Operations amounts

Returns the list of Operations amounts by operations status.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payment API",
    "description": "This API processes PayGreen V3 payment",
    "version": "1.46.3"
  },
  "servers": [
    {
      "url": "https://api.paygreen.fr",
      "description": "Production environment"
    },
    {
      "url": "https://sb-api.paygreen.fr",
      "description": "Sandbox environment"
    }
  ],
  "paths": {
    "/payment/operations/amounts": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "List Operations amounts",
        "description": "Returns the list of Operations amounts by operations status.",
        "operationId": "get_list_operations_amounts",
        "parameters": [
          {
            "name": "shop_id",
            "in": "query",
            "description": "Filter operations by shop public id.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "requester_shop_id",
            "in": "query",
            "description": "Filter operations by requester shop public id.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "start_at",
            "in": "query",
            "description": "End date to filter the operations (inclusive).",
            "required": false,
            "schema": {
              "type": "string",
              "format": "datetime"
            }
          },
          {
            "name": "end_at",
            "in": "query",
            "description": "End date to filter the operations (inclusive).",
            "required": false,
            "schema": {
              "type": "string",
              "format": "datetime"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List operations amounts.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationAmountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request, you must provide a valid shop_id or requester_shop_id"
          },
          "401": {
            "description": "Unauthorized, you must be authenticated to access this resource."
          },
          "403": {
            "description": "Forbidden, you don't have the necessary permissions."
          },
          "422": {
            "description": "Unprocessable Entity, the provided date range is too large. The maximum allowed range is 3 months."
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "OperationAmountResponse": {
        "properties": {
          "data": {
            "properties": {
              "period": {
                "properties": {
                  "details": {
                    "description": "An array of the number of operations in the selected period.",
                    "type": "array",
                    "items": {}
                  },
                  "total_amount_pending": {
                    "type": "integer"
                  },
                  "total_amount_authorized": {
                    "type": "integer"
                  },
                  "total_amount_captured": {
                    "type": "integer"
                  },
                  "total_amount_refunded": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "today": {
                "properties": {
                  "details": {
                    "description": "An array of the number of operations today.",
                    "type": "array",
                    "items": {}
                  },
                  "total_amount_pending": {
                    "type": "integer"
                  },
                  "total_amount_authorized": {
                    "type": "integer"
                  },
                  "total_amount_captured": {
                    "type": "integer"
                  },
                  "total_amount_refunded": {
                    "type": "integer"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "criteria": {
            "description": "The dates used for the calculation",
            "properties": {
              "start_at": {
                "type": "string",
                "format": "date-time",
                "example": "2023-07-23T08:25:14+00:00"
              },
              "end_at": {
                "type": "string",
                "format": "date-time",
                "example": "2023-07-23T08:25:14+00:00"
              }
            },
            "type": "object"
          },
          "timestamp": {
            "description": "The timestamp when the calculation was done",
            "type": "string",
            "format": "date-time",
            "example": "2023-07-23T08:25:14+00:00"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "Operations"
    }
  ]
}
```