get_error_data(); return is_array( $data ) && 500 === (int) ( $data['status'] ?? 0 ) ? $refusal : $response; } }