<?php
declare(strict_types=1);

require_once dirname(__DIR__) . '/_bootstrap.php';

http_response_code(410);
header('Content-Type: application/json; charset=utf-8');
echo json_encode([
    'status' => 'error',
    'code' => 'LEGACY_ENDPOINT_DISABLED',
    'message' => 'Direct payment creation is disabled. Use the portal yearly payment request flow.',
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
exit;


