@extends('layouts.admin-sidebar') @section('title', 'API Configuration') @section('page-title', 'API Configuration') @section('page-description', 'Manage API integrations, credentials, and service configurations') @section('content')

API Integration Dashboard

Monitor and manage your service integrations

Add New Provider View Logs

Active Services

{{ collect($serviceCategories)->flatten()->where('is_active', true)->count() }}

Total Services

{{ collect($serviceCategories)->flatten()->count() }}

Live Mode

{{ collect($serviceCategories)->flatten()->where('is_live_mode', true)->count() }}

Health Issues

{{ collect($healthStats)->where('status', 'unhealthy')->count() + collect($healthStats)->where('status', 'error')->count() }}

@if($serviceCategories['payment']->count() > 0)

Payment Services

{{ $serviceCategories['payment']->count() }} providers configured

{{ $serviceCategories['payment']->where('is_active', true)->count() }}/{{ $serviceCategories['payment']->count() }} active
@foreach($serviceCategories['payment'] as $service) @include('admin.api-config.partials.service-card', ['service' => $service, 'health' => $healthStats[$service->name] ?? []]) @endforeach
@endif @if($serviceCategories['identity']->count() > 0)

Identity Verification Services

{{ $serviceCategories['identity']->count() }} providers configured

{{ $serviceCategories['identity']->where('is_active', true)->count() }}/{{ $serviceCategories['identity']->count() }} active
@foreach($serviceCategories['identity'] as $service) @include('admin.api-config.partials.service-card', ['service' => $service, 'health' => $healthStats[$service->name] ?? []]) @endforeach
@endif @if($serviceCategories['messaging']->count() > 0)

Messaging Services

{{ $serviceCategories['messaging']->count() }} providers configured

{{ $serviceCategories['messaging']->where('is_active', true)->count() }}/{{ $serviceCategories['messaging']->count() }} active
@foreach($serviceCategories['messaging'] as $service) @include('admin.api-config.partials.service-card', ['service' => $service, 'health' => $healthStats[$service->name] ?? []]) @endforeach
@endif @if($serviceCategories['utilities']->count() > 0)

Utility Services

{{ $serviceCategories['utilities']->count() }} providers configured

{{ $serviceCategories['utilities']->where('is_active', true)->count() }}/{{ $serviceCategories['utilities']->count() }} active
@foreach($serviceCategories['utilities'] as $service) @include('admin.api-config.partials.service-card', ['service' => $service, 'health' => $healthStats[$service->name] ?? []]) @endforeach
@endif @if($serviceCategories['banking']->count() > 0)

Banking Services

{{ $serviceCategories['banking']->count() }} providers configured

{{ $serviceCategories['banking']->where('is_active', true)->count() }}/{{ $serviceCategories['banking']->count() }} active
@foreach($serviceCategories['banking'] as $service) @include('admin.api-config.partials.service-card', ['service' => $service, 'health' => $healthStats[$service->name] ?? []]) @endforeach
@endif
@endsection