{{ __('locale.partner_details') }}

{{ __('locale.viewing_details_for') }}: {{ $partner?->company?->name }}

{{ __('locale.total_verifications') }}

{{ number_format($stats['total_verifications']) }}

All time

{{ __('locale.authentic') }}

{{ number_format($stats['authentic_count']) }}

{{ $stats['total_verifications'] > 0 ? round(($stats['authentic_count'] / $stats['total_verifications']) * 100, 2) : 0 }}% of total

{{ __('locale.non_authentic') }}

{{ number_format($stats['non_authentic_count']) }}

{{ $stats['total_verifications'] > 0 ? round(($stats['non_authentic_count'] / $stats['total_verifications']) * 100, 2) : 0 }}% of total

{{ __('locale.average_response') }}

{{ number_format($stats['average_response_ms'], 2) }} ms

Last 7 days: {{ number_format($stats['last_7_days']) }} verifications

{{ __('locale.basic_information') }}

{{ __('locale.partner_id') }} {{ $partner->partner_id }}
{{ __('locale.name') }} {{ $partner?->company?->name }}
{{ __('locale.email') }} {{ $partner?->company?->email }} @if($partner?->company?->email_verified_at) Verified @endif
{{ __('locale.phone') }} {{ $partner?->company?->dial_code }} {{ $partner?->company?->phone_number }}
{{ __('locale.company_name') }} {{ $partner?->company?->name ?? '—' }}
{{ __('locale.status') }} @if($partner->is_active) {{ __('common.active') }} @else {{ __('common.inactive') }} @endif
{{ __('locale.created_at') }} {{ dateFormat($partner->created_at, DISPLAY_DATETIME) }}
{{ __('locale.updated_at') }} {{ dateFormat($partner->updated_at, DISPLAY_DATETIME) }}

{{ __('locale.api_configuration') }}

{{ __('locale.api_key_prefix') }} {{ $partner->api_key_prefix }}...********
{{ __('locale.Rate_Limit_Per_Minute') }} {{ $partner->rate_limit_per_minute }} requests/minute
{{ __('locale.Webhook_URL') }} @if($partner->webhook_url) {{ $partner->webhook_url }} @else — @endif
{{ __('locale.API_Key_Expiry_Date') }} @if($partner->key_expires_at) @if($partner->key_expires_at->isPast()) {{ dateFormat($partner->key_expires_at, DISPLAY_DATE) }} (Expired) @else {{ dateFormat($partner->key_expires_at, DISPLAY_DATE) }} ({{ $partner->key_expires_at->diffForHumans() }}) @endif @else {{ __('locale.no_expiry') }} @endif
{{ __('locale.IP_Whitelist') }} @php $ipWhitelist = is_array($partner->ip_whitelist) ? $partner->ip_whitelist : []; @endphp @if(count($ipWhitelist) > 0)
@foreach($ipWhitelist as $ip) {{ $ip }} @endforeach
@else {{ __('locale.all_ips_allowed') }} @endif
@if(!$partner->is_active)
{{ __('locale.inactive_warning') }}
@endif @if($partner->key_expires_at && $partner->key_expires_at->isPast())
{{ __('locale.key_expired_warning') }}
@endif

{{ __('locale.recent_verifications') }}

{{ __('locale.view_all') }}
@forelse($recentVerifications ?? [] as $log) @empty @endforelse
{{ __('locale.verification_id') }} {{ __('locale.transaction_id') }} {{ __('locale.uid') }} {{ __('locale.status') }} {{ __('locale.response_time') }} {{ __('locale.location') }} {{ __('locale.timestamp') }} {{ __('locale.actions') }}
{{ $log->verification_id }} {{ $log->transaction_id ?? '—' }} {{ $log->uid }} @if($log->authentic) {{ __('locale.authentic') }} @else {{ __('locale.counterfeit') }} @endif {{ $log->response_ms }} ms {{ $log->location ?? '—' }} {{ $log->created_at->format('Y-m-d H:i:s') }}
{{ __('locale.no_verifications_found') }}

{{ __('locale.api_key_management') }}

{{ __('locale.api_key_management_info') }}
@if(session('api_key'))
{{ __('locale.new_api_key_generated') }}

{{ __('locale.api_key_shown_once_warning') }}

@endif