{{-- Standalone API reference — self-contained (no CDN, inline styles) so it renders even before the app theme assets are built. --}} {{ __('API Documentation') }} — {{ config('app.name') }}

{{ config('app.name') }} — {{ __('API Documentation') }}

{{ __('A key/action HTTP API, compatible with the standard SMM panel protocol. Send an HTTP POST request with your parameters.') }}

POST {{ $contract['api_url'] }}
{{ __('Alias') }}: {{ $contract['api_url_v1'] }} — {{ __('same handler, both versions work.') }}

{{ __('Authentication') }}

{{ __('Every request must include your API key as the') }} key {{ __('parameter.') }} {{ __('Optional header') }} Idempotency-Key {{ __('on') }} add {{ __('prevents duplicate orders on retry.') }}

{{ __('Actions') }}

@foreach ($contract['actions'] as $action)

action={{ $action['action'] }}

{{ $action['description'] }}

@foreach ($action['parameters'] as $name => $desc) @endforeach
{{ $name }}{{ $desc }}
{{ __('Example response') }}:
{{ json_encode($action['example_response'], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) }}
@endforeach

{{ __('Order statuses') }}

@foreach ($contract['order_statuses'] as $status) {{ $status }} @endforeach