@extends('root') @section('title', 'API Settings') @section('content')
@include('components.breadcrumb', [ 'title' => 'API Settings', 'links' => [ ['url' => route('reseller.dashboard'), 'label' => 'Dashboard Reseller'], ], 'current' => 'API Key & Server Key' ])
Informasi Reseller

Nama: {{ $reseller->name }}

Username: {{ $reseller->email }}

API Credentials
Contoh Request API: Create Client

Gunakan API Key dan Server Key

POST /api/v1/clients
Headers:
  x-api-key: {{ $reseller->api_key ?? 'YOUR_API_KEY' }}
  x-server-key: {{ $reseller->server_key ?? 'YOUR_SERVER_KEY' }}
Body:
{
  "account": "3301",
  "email": "client@example.com",
  "password": "client123.",
  "package": "shared",
  "rate_limit_per_minute": 60
}
                
@endsection @push('scripts') @endpush