---
agentTools:
  projectIndex: https://docs.theflyy.com/llms.txt
---

# Get debit statement for the specified wallet type

Use this endpoint to retrieve debit statement of the specified wallet type

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "FLYY Partner APIs",
    "description": "FLYY Partner APIs enable you to interact with the FLYY system\n\n# Overview\nProduction APIs are restricted by IP. For testing you can use the staging APIs.\n\nFor staging replace partner-api.theflyy.com with stage-partner-api.theflyy.com\n\n\n# Authentication\nEvery partner is given a partner_key to interact with the APIs which needs to be passed in the header as PARTNER-KEY",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://partner-api.theflyy.com"
    },
    {
      "url": "https://stage-partner-api.theflyy.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "PARTNER-KEY"
      }
    }
  },
  "security": [
    {
      "apiKey": [
        "securitySchemes"
      ]
    }
  ],
  "paths": {
    "/v1/{partner-id}/user/{ext-user-id}/wallet/{wallet-type-id}/debits": {
      "get": {
        "tags": [
          "default"
        ],
        "summary": "Get debit statement for the specified wallet type",
        "description": "Use this endpoint to retrieve debit statement of the specified wallet type",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "example": "1"
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "example": "10"
          },
          {
            "name": "partner-id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "ext-user-id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "wallet-type-id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "default": {
            "description": "default",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "entity": "collection",
                  "count": 2,
                  "items": [
                    {
                      "id": 5,
                      "entity": "wallet_debit",
                      "value": 10,
                      "ext_user_id": "<ext-user-id>",
                      "debit_reason": "",
                      "debit_reference": ""
                    },
                    {
                      "id": 6,
                      "entity": "wallet_debit",
                      "value": 10,
                      "ext_user_id": "<ext-user-id>",
                      "debit_reason": "",
                      "debit_reference": ""
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 146,
      "2": 156,
      "3": 60,
      "4": 169,
      "5": 120,
      "6": 200,
      "7": 0,
      "8": 31,
      "9": 95,
      "10": 81,
      "11": 13
    }
  }
}
```