@extends('layouts.user') @section('title') Withdraw to Bank @endsection @section('content') @php /** @var string $wdState */ $wdCountryName = $wdCountry ? $wdCountry->name : null; $wdCurrency = $wdCountry ? $wdCountry->currency_code : null; // Copy per gate state. Every non-active state explains itself and // offers the one thing that would move the user forward, rather // than dead-ending on a message. switch ($wdState) { case 'kyc_required': $wdTitle = 'Identity verification required'; $wdSub = 'Complete verification to enable bank withdrawals.'; $wdAction = ['label' => 'Complete verification', 'href' => route('profile')]; break; case 'no_deposit': $wdTitle = 'No qualifying deposit'; $wdSub = 'Bank withdrawals are available to accounts that have previously funded by bank transfer through Remvo.'; $wdAction = ['label' => 'Fund by bank transfer', 'href' => route('deposit')]; break; case 'picker': $wdTitle = 'Select your country'; $wdSub = 'Choose the country where your bank account is held.'; $wdAction = ['label' => 'Select country', 'href' => route('deposit')]; break; case 'coming_soon': $wdTitle = 'Not available in ' . $wdCountryName; $wdSub = 'Bank withdrawals are not yet supported for ' . $wdCountryName . ' accounts.'; $wdAction = ['label' => 'Withdraw USDT', 'href' => route('index.withdraw')]; break; case 'paused': $wdTitle = 'Temporarily suspended'; $wdSub = 'Bank withdrawals to ' . $wdCountryName . ' accounts are suspended. USDT withdrawals are unaffected.'; $wdAction = ['label' => 'Withdraw USDT', 'href' => route('index.withdraw')]; break; case 'active': $wdTitle = $wdSub = $wdAction = null; break; default: // disabled $wdTitle = 'Currently unavailable'; $wdSub = 'Bank withdrawals are not being offered at this time.'; $wdAction = ['label' => 'Withdraw USDT', 'href' => route('index.withdraw')]; break; } @endphp
{{-- Slim banner, same partial and modifier as the pilot inner pages --}}
@include('partials.pilot.banner')
{{-- Sidebar, shared partial; -4rem to sit against the slim banner --}}
@include('partials.pilot.sidebar')
{{-- Main --}}
Withdraw Balance

Bank withdrawal

Transfer your balance to a bank account held in your name.

Available to withdraw
${{ number_format($wdBalance['available'], 2) }} USDT
@if($wdBalance['in_flight'] > 0) ${{ number_format($wdBalance['in_flight'], 2) }} pending in an existing request @else Excludes funds committed to active pilots @endif
@if($wdState !== 'active')

{{ $wdTitle }}

{{ $wdSub }}

@if($wdAction) {{ $wdAction['label'] }} @endif
@elseif($wdOpen) {{-- One open request at a time. Two payouts in flight to the same account is hard to reconcile if either fails. --}}
Request in progress
${{ number_format($wdOpen->amount_usd, 2) }}
{{ $wdOpen->bank_name }} · {{ $wdOpen->account_number }}
@if($wdOpen->status === 'pending_approval') Pending approval. @elseif($wdOpen->status === 'approved') Approved. Transfer in progress. @else Transfer submitted. Funds typically arrive within one hour. @endif
@if($wdOpen->status === 'pending_approval') @endif
@else
Destination account
{{ $wdCountryName }} · {{ $wdCurrency }}
Account must be held in the name {{ trim(auth()->user()->first_name . ' ' . auth()->user()->last_name) }}.
@endif
Recent requests
@if($wdHistory->isEmpty())
No bank withdrawals yet.
@else @foreach($wdHistory as $w) @endforeach
AmountAccountStatusDate
${{ number_format($w->amount_usd, 2) }} {{ $w->bank_name }}
{{ $w->account_number }}
@if($w->status === 'paid') Paid @elseif(in_array($w->status, ['failed','declined','cancelled'])) {{ ucfirst($w->status) }} @else {{ str_replace('_', ' ', $w->status) }} @endif {{ $w->created_at ? $w->created_at->format('d M Y') : '' }}
@endif
@if($wdState === 'active' && !$wdOpen) @endif @if($wdOpen) @endif @endsection