{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gnosis-pay/json-schema/gnosis-pay-get-user-withdrawals-response-schema.json",
  "title": "GetUserWithdrawalsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gnosis-pay-user-movements-api-openapi.yml#/components/schemas/GetUserWithdrawalsResponse",
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserWithdrawal"
      }
    }
  },
  "$defs": {
    "UserWithdrawal": {
      "type": "object",
      "required": [
        "txHash",
        "amount",
        "currency",
        "status",
        "createdAt"
      ],
      "properties": {
        "txHash": {
          "type": "string"
        },
        "amount": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/UserWithdrawalStatus"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "UserWithdrawalStatus": {
      "type": "string",
      "enum": [
        "pending",
        "completed",
        "failed"
      ]
    }
  }
}