[
  {
    "group": "Merchant payments",
    "name": "MerchantCreatePaymentLinkRequest",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "payment_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,min=1,max=100",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=1000",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,gt=0",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,min=3,max=10",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,gt=0",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,min=1,max=100",
        "description": "Merchant's customer ID"
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,min=1,max=100",
        "description": "Optional customer name"
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,email,max=100",
        "description": "Optional customer email"
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,min=1,max=200",
        "description": "Product name"
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=1000",
        "description": "Product description"
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional cart data with line items"
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,min=1,max=200",
        "description": "Merchant's order/invoice ID (auto-generated if not provided)"
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "If true, auto-generate order_id and customer_id if not provided (default: true)"
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "If true, creates a test payment link (default: false)"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,url,max=500",
        "description": "URL to redirect after successful payment"
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,url,max=500",
        "description": "URL to redirect after payment cancellation"
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Custom metadata for webhooks"
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "PaymentLinkFilterRequest",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "omitempty,min=1",
        "description": ""
      },
      {
        "name": "limit",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "omitempty,min=1,max=100",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,oneof=pending completed expired cancelled",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "*bool",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "*string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,min=3,max=10",
        "description": ""
      },
      {
        "name": "min_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,gt=0",
        "description": ""
      },
      {
        "name": "max_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,gt=0",
        "description": ""
      },
      {
        "name": "created_from",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_to",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "search",
        "type": "string",
        "goType": "*string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,max=100",
        "description": ""
      },
      {
        "name": "sort_by",
        "type": "string",
        "goType": "*string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,oneof=created_at updated_at amount name",
        "description": ""
      },
      {
        "name": "sort_order",
        "type": "string",
        "goType": "*string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,oneof=asc desc",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "PaginationMeta",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "current_page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "per_page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_records",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "has_next_page",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "has_prev_page",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "ListPaymentLinksResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "data",
        "type": "array of MerchantPaymentLinkListResponse object",
        "goType": "[]MerchantPaymentLinkListResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "pagination",
        "type": "PaginationMeta object",
        "goType": "PaginationMeta",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "filters",
        "type": "AppliedFilters object",
        "goType": "*AppliedFilters",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "AppliedFilters",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "min_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_from",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_to",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "search",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "sort_by",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "sort_order",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "MerchantPaymentLinkResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "receipt_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional cart data with line items"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "MerchantPaymentLinkCreateResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "receipt_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional cart data with line items"
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Order/Invoice ID"
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Indicates if order_id and customer_id were auto-generated"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "MerchantPaymentLinkListResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "receipt_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_expired",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Computed field: checks if expires_at is in the past"
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional cart data with line items"
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Order/Invoice ID"
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Indicates if order_id and customer_id were auto-generated"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "MerchantPaymentLinkDetailResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "receipt_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_expired",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "settlement_status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "usd_value",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional cart data with line items"
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Order/Invoice ID"
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Indicates if order_id and customer_id were auto-generated"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payers",
        "type": "array of PayerDetailResponse object",
        "goType": "[]PayerDetailResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "transactions",
        "type": "array of TransactionDetailResponse object",
        "goType": "[]TransactionDetailResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "summary",
        "type": "PaymentSummary object",
        "goType": "PaymentSummary",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "PayerDetailResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "country",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "phone",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "ip_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "region",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "TransactionDetailResponse",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_fiat",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_crypto",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash_send_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_confirmation_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_block",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_currency",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "contract_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_wallet",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Merchant payments",
    "name": "PaymentSummary",
    "source": "internal/payments/dto/merchant_payment_dto.go",
    "fields": [
      {
        "name": "total_payers",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_transactions",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_received",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_received_crypto",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "pending_transactions",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "completed_transactions",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "failed_transactions",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "QuotationRequest",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "srctoken",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "chainId",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "paymentlinkId",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payer_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "decimals",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "Tempmail",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "hash",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchantId",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expected_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "received_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "remaining_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "TempmailResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "expected_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "received_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "remaining_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PaymentLinkResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "receipt_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "checkout",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "\"engine\" | \"legacy\" — which pay flow the frontend must drive"
      },
      {
        "name": "settlement_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_updated_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_link",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "The actual URL"
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "company_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_logo",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "logo_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_city",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_country",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_vat_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_expired",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_available",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Based on current_uses vs max_uses"
      },
      {
        "name": "is_test",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "fiat_asset",
        "type": "FiatAssetResponse object",
        "goType": "*FiatAssetResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "quote",
        "type": "Quotation object",
        "goType": "*Quotation",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payers",
        "type": "array of PayerWithTransactionResponse object",
        "goType": "[]PayerWithTransactionResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_customer",
        "type": "MerchantCustomerResponse object",
        "goType": "*MerchantCustomerResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "V2: Customer info"
      },
      {
        "name": "product_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "V2: Product name"
      },
      {
        "name": "product_description",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "V2: Product description"
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Order/Invoice ID"
      },
      {
        "name": "invoice_number",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Explicit invoice number for invoice-origin links"
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Indicates if order_id and customer_id were auto-generated"
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "URL to redirect after successful payment"
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "URL to redirect after payment cancellation"
      },
      {
        "name": "cart",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Shopping cart data"
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Custom metadata for webhooks"
      },
      {
        "name": "order_public_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_reference",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_payer",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_deposit",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_payment_tx",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_sweep_tx",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_payout_id",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_settle_venue",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_settle_price",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_settle_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_fee_bps",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_confirmed_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_expiry",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_quote_expiry",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_wallet",
        "type": "OrderWalletResponse object",
        "goType": "*OrderWalletResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PaymentLinkValidationResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_valid",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_expired",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_available",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_overpaid",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "remaining_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "chain_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "token_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "engine_status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_tx",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expected_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_received",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount_remaining",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "excess_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "unconfirmed_amount_received",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "confirmations",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "required_confirmations",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "breakdown",
        "type": "EngineQuoteBreakdown object",
        "goType": "*EngineQuoteBreakdown",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "CreatePayerRequest",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,min=1,max=100",
        "description": ""
      },
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,email,max=100",
        "description": ""
      },
      {
        "name": "country",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=100",
        "description": ""
      },
      {
        "name": "phone",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=100",
        "description": ""
      },
      {
        "name": "payment_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PayerResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "country",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "phone",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "ip_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "region",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PaymentLinkPollingResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_expired",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expected_amount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_received",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount_remaining",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "excess_amount",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_overpaid",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_status",
        "type": "string",
        "goType": "model.PaymentLinkStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "current_uses",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "remaining_uses",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "time_remaining",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "time_remaining_seconds",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_available",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "disputes",
        "type": "array of DisputePollResponse object",
        "goType": "[]DisputePollResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokenaddress",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "chainid",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "success_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "cancel_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "order_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "auto_fill",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "engine_status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_tx",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "unconfirmed_amount_received",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "confirmations",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "required_confirmations",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "breakdown",
        "type": "EngineQuoteBreakdown object",
        "goType": "*EngineQuoteBreakdown",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "QuotationResponse",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "walletAddress",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokenAmount",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokenAmountWithoutFee",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "feePercentage",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "feeAmountToken",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expiryTime",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "paymentexchangeRate",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokenaddress",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "chainId",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "hasTransactions",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "totalAmountReceived",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amountRemaining",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "isOverpaid",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "breakdown",
        "type": "EngineQuoteBreakdown object",
        "goType": "*EngineQuoteBreakdown",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "engine_quote",
        "type": "JSON value",
        "goType": "json.RawMessage",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "EngineQuoteBreakdown",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "gross_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "insurance_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "fee_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "fee_fixed_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "gas_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "pay_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "fee_bps",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "taker_fee_bps",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "safety_margin_bps",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "raw_price",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "final_price",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "venue",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "gas_side",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "gas_native_wei",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "gas_rate",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PaymentTransactionRequestV2",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "payment_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "total_amount_fiat",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,gte=0",
        "description": ""
      },
      {
        "name": "total_amount_crypto",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,gt=0",
        "description": ""
      },
      {
        "name": "tx_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash_send_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_confirmation_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_block",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "network_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "decimals",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "payment_wallet",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "email",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_currency",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "contract_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payer_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Payer checkout",
    "name": "PaymentTransactionResponseV2",
    "source": "internal/payments/dto/payment_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_fiat",
        "type": "number",
        "goType": "*float64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_amount_crypto",
        "type": "number",
        "goType": "float64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash_send_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_confirmation_time",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_block",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_currency",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "contract_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payer",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_type",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "paymentwallet",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "paymentstatus",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Engine checkout",
    "name": "payScreenOrder",
    "source": "internal/payments_engine/route/checkout_routes.go",
    "fields": [
      {
        "name": "link_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "pay_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "deposit",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "quote_expiry",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expiry",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "observed",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payment_tx",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "simulated",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "observed_latest",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "confirmations",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "required_confirmations",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Engine checkout",
    "name": "quoteRequest",
    "source": "internal/payments_engine/route/checkout_routes.go",
    "fields": [
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "asset",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Checkout catalog",
    "name": "CatalogToken",
    "source": "internal/payments_engine/client/types.go",
    "fields": [
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "symbol",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "decimals",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currencies",
        "type": "array of string",
        "goType": "[]string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Checkout catalog",
    "name": "CatalogChain",
    "source": "internal/payments_engine/client/types.go",
    "fields": [
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "family",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokens",
        "type": "array of CatalogToken object",
        "goType": "[]CatalogToken",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Checkout catalog",
    "name": "Catalog",
    "source": "internal/payments_engine/client/types.go",
    "fields": [
      {
        "name": "currencies",
        "type": "array of string",
        "goType": "[]string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "chains",
        "type": "array of CatalogChain object",
        "goType": "[]CatalogChain",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Checkout catalog",
    "name": "OrderOptions",
    "source": "internal/payments_engine/client/types.go",
    "fields": [
      {
        "name": "currencies",
        "type": "array of string",
        "goType": "[]string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "chains",
        "type": "array of CatalogChain object",
        "goType": "[]CatalogChain",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "locked",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "note",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "CreateSubscriptionPlanRequest",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "network_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "destination",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "value",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "period",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "interval",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "trial_period",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_arrears",
        "type": "integer",
        "goType": "uint8",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,min=1",
        "description": ""
      },
      {
        "name": "auto_cancel_after_missed",
        "type": "integer",
        "goType": "uint8",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribe_deadline",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_nonce",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "merchant_sig",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "metadata_uri",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "kind",
        "type": "string",
        "goType": "model.SubscriptionPlanType",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "UpdateSubscriptionPlanRequest",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "metadata_uri",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "model.SubscriptionPlanStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "NetworkResponse",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "symbol",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "SubscriptionLinkSummary",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "model.SubscriptionLinkStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribed_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "last_payment_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "last_payment_tx_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "failed_attempts",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "transaction_count",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "SubscriptionPlanResponse",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "NEW"
      },
      {
        "name": "network",
        "type": "NetworkResponse object",
        "goType": "*NetworkResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "destination_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency_symbol",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "formatted_amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "interval",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_period",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "max_arrears",
        "type": "integer",
        "goType": "uint8",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "auto_cancel_after_missed",
        "type": "integer",
        "goType": "uint8",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribe_deadline",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_nonce",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "NEW"
      },
      {
        "name": "digest",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "RENAMED from implicit treasury sig"
      },
      {
        "name": "revoked",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "NEW"
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "NEW"
      },
      {
        "name": "metadata_uri",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_deprecated",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "deprecated_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "model.SubscriptionPlanStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_subscribers",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "active_subscribers",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_subscribers",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "failed_subscribers",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribers",
        "type": "array of SubscriberWithLinkResponse object",
        "goType": "[]SubscriberWithLinkResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "SubscriptionPlanListResponse",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "plans",
        "type": "array of SubscriptionPlanResponse object",
        "goType": "[]SubscriptionPlanResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription plans",
    "name": "SubscriptionPlanListRequest",
    "source": "internal/subscription/dto/subscription_plan_dto.go",
    "fields": [
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "search",
        "type": "string",
        "goType": "string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "deprecated",
        "type": "boolean",
        "goType": "*bool",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "start_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "end_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "SortOrder",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "\"asc\" or \"desc\""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "ApprovalDetail",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "approval_hash",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "omitempty",
        "description": ""
      },
      {
        "name": "token_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "amount_approved",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "network_name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "decimals",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "CreateSubscriptionLinkRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "subscriber_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_onchain_id",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribed_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "subscribe_hash",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "owed",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "paid_periods",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "locked",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "approvals",
        "type": "array of ApprovalDetail object",
        "goType": "[]ApprovalDetail",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "required,min=1,dive",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "UpdateSubscriptionLinkRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "trial_ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "locked",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "owed",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionLinkListRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "search",
        "type": "string",
        "goType": "string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "*bool",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": "filter by subscription plan"
      },
      {
        "name": "start_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "end_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionPlanSummary",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "token",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "billing_period",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_period",
        "type": "integer",
        "goType": "uint64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_deprecated",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionLinkResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribed_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribe_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "approvals",
        "type": "array of ApprovalDetail object",
        "goType": "[]ApprovalDetail",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "owed",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "paid_periods",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "locked",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_transactions",
        "type": "array of SubscriptionResponse object",
        "goType": "[]SubscriptionResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan",
        "type": "SubscriptionPlanSummary object",
        "goType": "*SubscriptionPlanSummary",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionLinkListResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "links",
        "type": "array of SubscriptionLinkResponse object",
        "goType": "[]SubscriptionLinkResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "RecordSubscriptionPaymentRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "sub_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "merchant_key",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "tx_hash",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "block_number",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "block_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "currency_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "amount_paid",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "wallet_used",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "sub_link_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tx_hash",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "block_number",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "block_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "confirmations",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "network_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "user_wallet_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "paid_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "starts_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "next_billing_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan",
        "type": "SubscriptionLinkResponse object",
        "goType": "*SubscriptionLinkResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "CreateSubscriberRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=100",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,max=255",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "omitempty,email,max=255",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Custom metadata for webhooks"
      },
      {
        "name": "failure_return_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "success_return_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriberResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_link_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*model.SubscriberStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan",
        "type": "SubscriptionPlan object",
        "goType": "*model.SubscriptionPlan",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_link",
        "type": "SubscriptionLink object",
        "goType": "*model.SubscriptionLink",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriberListRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "plan_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "search",
        "type": "string",
        "goType": "string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "start_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "end_date",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "query",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "sort_order",
        "type": "string",
        "goType": "string",
        "binding": "query",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "UpdateSubscriberRequest",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "*model.SubscriberStatus",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriberListResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "subscribers",
        "type": "array of SubscriberResponse object",
        "goType": "[]SubscriberResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "data",
        "type": "array of Subscriber object",
        "goType": "[]model.Subscriber",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "InvitationListResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "invitations",
        "type": "array of SubscriberResponse object",
        "goType": "[]SubscriberResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "data",
        "type": "array of Subscriber object",
        "goType": "[]model.Subscriber",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriberWithLinkResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_link",
        "type": "SubscriptionLinkSummary object",
        "goType": "*SubscriptionLinkSummary",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionMetaAttribute",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "trait_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "value",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "string, int, float — matches NFT metadata spec"
      }
    ]
  },
  {
    "group": "Subscription enrollment",
    "name": "SubscriptionMetaResponse",
    "source": "internal/subscription/dto/subscription_plan.go",
    "fields": [
      {
        "name": "name",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "image",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "external_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "attributes",
        "type": "array of SubscriptionMetaAttribute object",
        "goType": "[]SubscriptionMetaAttribute",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription preparation",
    "name": "PrepareToken",
    "source": "internal/subscription/dto/prepare.go",
    "fields": [
      {
        "name": "address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "symbol",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "decimals",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "quotable",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "price",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "amount",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "error",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "set when the amount could not be computed"
      }
    ]
  },
  {
    "group": "Subscription preparation",
    "name": "PrepareNetwork",
    "source": "internal/subscription/dto/prepare.go",
    "fields": [
      {
        "name": "chain_id",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "tokens",
        "type": "array of PrepareToken object",
        "goType": "[]PrepareToken",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Subscription preparation",
    "name": "PrepareSubscriptionResponse",
    "source": "internal/subscription/dto/prepare.go",
    "fields": [
      {
        "name": "subscriber_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "currency",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "value",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "networks",
        "type": "array of PrepareNetwork object",
        "goType": "[]PrepareNetwork",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Stored subscriber model",
    "name": "Subscriber",
    "source": "internal/model/subscribers.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "Status",
        "type": "string",
        "goType": "*SubscriberStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "WebhookMetadata",
        "type": "JSON value",
        "goType": "datatypes.JSON",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Custom metadata to include in webhook payloads"
      },
      {
        "name": "failure_return_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "success_return_url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_link",
        "type": "SubscriptionLink object",
        "goType": "*SubscriptionLink",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan",
        "type": "SubscriptionPlan object",
        "goType": "*SubscriptionPlan",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Stored subscription link model",
    "name": "SubscriptionLink",
    "source": "internal/model/subscription_link.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "merchant_user_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscriber_id",
        "type": "UUID string",
        "goType": "*uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribed_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "trial_ends_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "wallet_address",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscribe_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "Approvals",
        "type": "array of ApprovalDetail objects",
        "goType": "Approvals",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "approved_contract",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_onchain_id",
        "type": "integer",
        "goType": "*int64",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "owed",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "paid_periods",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "locked",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "status",
        "type": "string",
        "goType": "SubscriptionLinkStatus",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "last_payment_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "last_payment_tx_hash",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "failed_attempts",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "next_billing_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "next_retry_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "error_message",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_id",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_email",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "customer_name",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_metadata",
        "type": "JSON value",
        "goType": "datatypes.JSON",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "expires_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_on_trial",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_plan",
        "type": "SubscriptionPlan object",
        "goType": "*SubscriptionPlan",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscriber",
        "type": "Subscriber object",
        "goType": "*Subscriber",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "subscription_transactions",
        "type": "array of SubscriptionPayment object",
        "goType": "[]SubscriptionPayment",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "CreateWebhookRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,url",
        "description": ""
      },
      {
        "name": "secret",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "event_subscriptions",
        "type": "array of CreateEventSubscriptionItem object",
        "goType": "[]CreateEventSubscriptionItem",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Array of objects with id and is_active"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "CreateEventSubscriptionItem",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": "Event ID to subscribe to"
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Whether this subscription is active (defaults to false)"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "UpdateWebhookRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "url",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "omitempty,url",
        "description": ""
      },
      {
        "name": "secret",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "*bool",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "event_ids",
        "type": "array of UUID string",
        "goType": "*[]uuid.UUID",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Deprecated: Use event_subscriptions instead"
      },
      {
        "name": "event_subscriptions",
        "type": "array of CreateEventSubscriptionItem object",
        "goType": "[]CreateEventSubscriptionItem",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Array of objects with id and is_active"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookEventSubscriptionResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "event_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "event",
        "type": "EventResponse object",
        "goType": "*EventResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "EventResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "code",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "description",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "source",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "secret",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Only returned on create/regenerate"
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "event_subscriptions",
        "type": "array of WebhookEventSubscriptionResponse object",
        "goType": "[]WebhookEventSubscriptionResponse",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookListResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "webhooks",
        "type": "array of WebhookResponse object",
        "goType": "[]WebhookResponse",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "shared_secret",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Common secret for all webhooks"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookDeleteResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "deleted_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "RegenerateSecretResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "secret",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "ValidateSecretRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "secret",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "ValidateSecretResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "valid",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "BulkToggleWebhookSubscriptionsRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "webhook_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "subscriptions",
        "type": "array of SubscriptionToggleItem object",
        "goType": "[]SubscriptionToggleItem",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "required,min=1",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "SubscriptionToggleItem",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "is_active",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "BulkToggleWebhookSubscriptionsResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_count",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "updated_items",
        "type": "array of SubscriptionToggleItem object",
        "goType": "[]SubscriptionToggleItem",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookActivityLog",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "webhook_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "The webhook URL"
      },
      {
        "name": "event_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "e.g., payment_link.created"
      },
      {
        "name": "action",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "delivered, failed, pending, processing, retrying"
      },
      {
        "name": "description",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Human-readable description"
      },
      {
        "name": "status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "sent, failed, pending, processing, retrying"
      },
      {
        "name": "attempts",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Total number of delivery attempts"
      },
      {
        "name": "last_attempt_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "scheduled_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "payload",
        "type": "JSON value",
        "goType": "interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "Event payload"
      },
      {
        "name": "delivery_attempts",
        "type": "array of WebhookDeliveryAttempt object",
        "goType": "[]WebhookDeliveryAttempt",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Detailed attempt history"
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookDeliveryAttempt",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "UUID string",
        "goType": "uuid.UUID",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "attempt_number",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "http_status",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "error_message",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "request_payload",
        "type": "JSON value",
        "goType": "interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "response_payload",
        "type": "JSON value",
        "goType": "interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "created_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookActivityResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "activities",
        "type": "array of WebhookActivityLog object",
        "goType": "[]WebhookActivityLog",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "total",
        "type": "integer",
        "goType": "int64",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "page_size",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "total_pages",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "RegisterNotificationRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "event_code",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "payload",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "required",
        "description": ""
      },
      {
        "name": "channels",
        "type": "array of string",
        "goType": "[]string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Optional: [\"email\", \"webhook\", \"desktop\"]. If empty, triggers all channels"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "RegisterNotificationResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "event_code",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "triggered_channels",
        "type": "array of string",
        "goType": "[]string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": ""
      },
      {
        "name": "job_ids",
        "type": "object",
        "goType": "map[string][]string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": "Map of channel -> list of job IDs"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "AcknowledgeWebhookRequest",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "job_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required",
        "description": ""
      },
      {
        "name": "status_code",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "required,min=200,max=599",
        "description": ""
      },
      {
        "name": "response",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "AcknowledgeWebhookResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "success",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "message",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "job_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "PollingInfo",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "next_poll_after",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Suggested next poll time"
      },
      {
        "name": "recommended_wait_ms",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Recommended wait in milliseconds"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookEventPayload",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Unique event ID"
      },
      {
        "name": "event_type",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Event code (e.g., \"payment.succeeded\")"
      },
      {
        "name": "event_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Notification event ID"
      },
      {
        "name": "timestamp",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "ISO8601 timestamp"
      },
      {
        "name": "data",
        "type": "object",
        "goType": "map[string]interface{}",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": "Original event data"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookPollingEvent",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "attempt_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Notification attempt ID"
      },
      {
        "name": "webhook_id",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Webhook ID"
      },
      {
        "name": "webhook_url",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Webhook URL"
      },
      {
        "name": "status",
        "type": "string",
        "goType": "string",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "success or failed"
      },
      {
        "name": "attempt_number",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "Attempt number"
      },
      {
        "name": "http_status",
        "type": "integer",
        "goType": "*int",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "HTTP status code (if available)"
      },
      {
        "name": "error_message",
        "type": "string",
        "goType": "*string",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Error message (if failed)"
      },
      {
        "name": "payload",
        "type": "WebhookEventPayload object",
        "goType": "WebhookEventPayload",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "The actual webhook payload sent"
      },
      {
        "name": "sent_at",
        "type": "RFC 3339 string",
        "goType": "time.Time",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": "When the webhook was sent"
      },
      {
        "name": "response_body",
        "type": "JSON value",
        "goType": "interface{}",
        "binding": "json",
        "omitEmpty": true,
        "nullable": false,
        "validation": "",
        "description": "Response from webhook endpoint"
      }
    ]
  },
  {
    "group": "Webhook management",
    "name": "WebhookEventsPollingResponse",
    "source": "internal/notification/dto/webhook_dto.go",
    "fields": [
      {
        "name": "has_new_events",
        "type": "boolean",
        "goType": "bool",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "events",
        "type": "array of WebhookPollingEvent object",
        "goType": "[]WebhookPollingEvent",
        "binding": "json",
        "omitEmpty": false,
        "nullable": true,
        "validation": "",
        "description": "Changed from new_events to events"
      },
      {
        "name": "count",
        "type": "integer",
        "goType": "int",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      },
      {
        "name": "latest_at",
        "type": "RFC 3339 string",
        "goType": "*time.Time",
        "binding": "json",
        "omitEmpty": true,
        "nullable": true,
        "validation": "",
        "description": "Timestamp of the most recent event"
      },
      {
        "name": "polling_info",
        "type": "PollingInfo object",
        "goType": "PollingInfo",
        "binding": "json",
        "omitEmpty": false,
        "nullable": false,
        "validation": "",
        "description": ""
      }
    ]
  }
]
