@extends('master-user') @section('content')

Manage API Keys

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
Merchant Key
Merchant ID: {{ $user->merchant_id }}
Your API Key
@if (isset($rawKey))

Your new API key is:

{{ $rawKey }}

Please copy this key and store it securely. You will not be able to see it again.

@csrf
@elseif ($apiKey)

Your API key has been generated. It cannot be displayed again for security reasons.

@csrf
@else

No API key generated yet.

@csrf
@endif
{{--
Map Domains
@csrf
    @forelse ($apiKey->domains ?? [] as $domain)
  • {{ $domain->domain }}
    @csrf @method('DELETE')
  • @empty
  • No domains mapped yet.
  • @endforelse
--}}
@endsection @push('post_js') @endpush