{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/talopay/main/json-schema/talopay-get-payments-response-schema.json",
  "title": "GetPaymentsResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/talopay-openapi-generated.yml#/components/schemas/GetPaymentsResponse",
  "type": "object",
  "properties": {
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "payment_status": {
            "type": "string"
          },
          "price": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "integer"
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "quotes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "currency": {
                  "type": "string"
                },
                "network": {
                  "type": "string"
                },
                "amount": {
                  "type": "string"
                },
                "amountReadable": {
                  "type": "string"
                },
                "address": {
                  "type": "string"
                },
                "alias": {
                  "type": "string"
                }
              }
            }
          },
          "payment_options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "payment_url": {
            "type": "string"
          },
          "creation_timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "last_modified_timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          }
        }
      }
    }
  }
}