TypeScript SDK
PaymentMiddlewareConfig
type PaymentMiddlewareConfig = { customPaywallHtml?: string; description?: string; discoverable?: boolean; errorMessages?: { invalidPayment?: string; noMatchingRequirements?: string; paymentRequired?: string; settlementFailed?: string; verificationFailed?: string; }; inputSchema?: Omit<HTTPRequestStructure, "type" | "method">; maxTimeoutSeconds?: number; mimeType?: string; outputSchema?: object; resource?: Resource;};type customPaywallHtml = string;type description = string;type discoverable = boolean;type errorMessages = { invalidPayment?: string; noMatchingRequirements?: string; paymentRequired?: string; settlementFailed?: string; verificationFailed?: string;};type inputSchema = Omit<HTTPRequestStructure, "type" | "method">;type maxTimeoutSeconds = number;type mimeType = string;type outputSchema = object;type resource = Resource;