import { NextResponse } from 'next/server';

export function x402ReleaseGateClosed(): NextResponse {
  return NextResponse.json(
    {
      error: 'x402 payment processing is disabled pending release-readiness evidence',
      code: 'x402_release_gate_closed',
      retryable: false,
    },
    { status: 503, headers: { 'Cache-Control': 'no-store', 'X-Robots-Tag': 'noindex' } },
  );
}
