---
updatedAt: 2025-06-16T22:58:01.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# List Billing Events

This route gives details of billing events, for a shop or a specific operation

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Billing API",
    "version": "1.17.1"
  },
  "servers": [
    {
      "url": "https://api.paygreen.fr",
      "description": "Production environment"
    },
    {
      "url": "https://sb-api.paygreen.fr",
      "description": "Sandbox environment"
    }
  ],
  "paths": {
    "/billing/events": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "List Billing Events",
        "description": "This route gives details of billing events, for a shop or a specific operation",
        "operationId": "get_list_events",
        "parameters": [
          {
            "name": "operation_id",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "op_[0-9a-f]{32}"
            },
            "example": "op_5eb8e2442fdc4e8296d13e6e251045f7"
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Events",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OperationEvent"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "OperationEvent": {
        "required": [
          "status"
        ],
        "properties": {
          "id": {
            "nullable": true,
            "oneOf": [
              {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UuidInterface"
                  }
                ]
              },
              {
                "type": "string"
              }
            ]
          },
          "shop": {
            "type": "string",
            "pattern": "sh_[0-9a-f]{32}"
          },
          "operation_id": {
            "type": "string",
            "pattern": "op_[0-9a-f]{32}"
          },
          "amount": {
            "type": "integer",
            "example": 5000
          },
          "status": {
            "type": "string"
          },
          "issuer_zone": {
            "type": "string",
            "enum": [
              "euro_zone",
              "outside_euro_zone",
              "business_card"
            ]
          },
          "fees": {
            "type": "integer",
            "example": 137
          },
          "cost": {
            "type": "integer",
            "example": 20
          },
          "invoice_id": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "type": "object"
      },
      "UuidInterface": {
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```