@php $isWithdrawal = data_get($payload ?? [], 'meta.event') === 'withdrawal_requested' && (int) data_get($payload ?? [], 'meta.request_id') > 0; // Pretty-print the summary payload only; payout details are fetched on demand. $prettyJson = json_encode($payload ?? [], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE); @endphp
{{-- Main info --}}
@if(!empty($message))
{{ $message }}
@endif @if(!empty($url) && $url !== '#') {{ $isWithdrawal ? 'View withdrawal details' : 'Open related page' }} @endif @if(!empty($createdAt)) {{ $createdAt }} @endif

{{-- Raw payload --}}
Raw payload
          {{ $prettyJson }}